/* =========================================================
   ingot-llc.com — online language learning community
   Palette: midnight indigo, ingot gold, violet, warm paper
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500..800&family=Public+Sans:wght@400;500;600;700&family=Noto+Sans+JP:wght@500;700&family=Noto+Naskh+Arabic:wght@500;700&display=swap');

:root{
  --indigo:  #1B2238;
  --indigo-2:#2D2A4A;
  --gold:    #D9A441;
  --gold-hi: #F6D27A;
  --violet:  #7C6FD6;
  --lilac:   #E9E4FF;
  --mint:    #CFF1E8;
  --paper:   #FBF8F2;
  --white:   #FFFFFF;
  --ink:     #1B2238;
  --ink-soft:#5E6279;
  --line:    #E4DED2;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, sans-serif;
  --max: 1160px;
  --radius: 20px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
section[id]{ scroll-margin-top: 84px; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

::selection{ background: var(--gold-hi); color: var(--indigo); }
:focus-visible{ outline: 2px solid var(--violet); outline-offset: 3px; }
a{ color: inherit; }
svg{ display: block; width: 100%; height: auto; }

.section-inner{ max-width: var(--max); margin: 0 auto; padding: 0 32px; }

@keyframes riseIn{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* -------------------- buttons -------------------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--indigo);
  background: var(--indigo); color: var(--white);
  font-weight: 700; font-size: 0.98rem; text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover{ transform: translateY(-2px); background: var(--indigo-2); border-color: var(--indigo-2); }
.btn-ghost{ background: transparent; color: var(--indigo); border-color: var(--violet); }
.btn-ghost:hover{ background: var(--violet); color: var(--white); border-color: var(--violet); }
.btn-small{ padding: 10px 18px; font-size: 0.9rem; }
.btn-light{ background: var(--gold); border-color: var(--gold); color: var(--indigo); }
.btn-light:hover{ background: var(--gold-hi); border-color: var(--gold-hi); }

/* -------------------- navbar -------------------- */
.navbar{
  position: sticky; top: 0; z-index: 20;
  background: rgba(251,248,242,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.navbar-inner{
  max-width: var(--max); margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; color: var(--indigo);
}
.logo-mark{
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: var(--indigo);
}
.logo-mark svg{ width: 22px; height: 22px; }
.navbar-links{ list-style: none; display: none; gap: 26px; margin: 0; padding: 0; font-weight: 600; font-size: 0.93rem; }
@media (min-width: 800px){ .navbar-links{ display: flex; } }
.navbar-links a{ text-decoration: none; color: var(--ink-soft); transition: color 0.15s ease; }
.navbar-links a:hover{ color: var(--indigo); }

/* -------------------- hero -------------------- */
.hero{
  background:
    radial-gradient(circle at 1px 1px, rgba(124,111,214,0.14) 1px, transparent 0) 0 0 / 26px 26px,
    var(--paper);
}
.hero-inner{
  max-width: var(--max); margin: 0 auto; padding: 56px 32px 0;
  display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center;
}
@media (min-width: 900px){ .hero-inner{ grid-template-columns: 1fr 1fr; padding: 76px 32px 0; } }

.kicker{
  display: inline-block; font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--violet);
  background: var(--lilac); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px; animation: riseIn 0.6s ease both;
}
.hero-copy h1{
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.04; letter-spacing: -0.02em;
  color: var(--indigo); margin: 0 0 20px; animation: riseIn 0.6s ease 0.08s both;
}
.hero-text{ font-size: 1.08rem; color: var(--ink-soft); max-width: 50ch; margin: 0 0 30px; animation: riseIn 0.6s ease 0.16s both; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 12px; animation: riseIn 0.6s ease 0.24s both; }
.hero-visual{ animation: riseIn 0.8s ease 0.1s both; }
.hero-visual svg{ filter: drop-shadow(0 26px 40px rgba(27,34,56,0.28)); }

/* -------------------- stats -------------------- */
.stat-strip{
  max-width: var(--max); margin: 56px auto 0; padding: 0 32px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
@media (min-width: 760px){ .stat-strip{ grid-template-columns: repeat(4, 1fr); } }
.stat-block{ padding: 24px 16px 28px 0; display: flex; flex-direction: column; gap: 2px; }
.stat-num{ font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--gold); line-height: 1.1; }
.stat-label{ font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }

/* -------------------- section titles -------------------- */
.section-title{
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.1; letter-spacing: -0.015em;
  color: var(--indigo); margin: 0 0 12px;
}
.section-sub{ color: var(--ink-soft); font-size: 1.04rem; margin: 0 0 40px; max-width: 62ch; }

/* -------------------- circles -------------------- */
.circles-section{ padding: 96px 0 88px; }
.circle-grid{ display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px){ .circle-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px){ .circle-grid{ grid-template-columns: repeat(3, 1fr); } }
.circle-card{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.circle-card:hover{ transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(27,34,56,0.4); }
.circle-greet{ font-family: var(--font-body); font-size: 1rem; color: var(--violet); font-weight: 600; margin-bottom: 8px; }
.circle-card h3{ font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin: 0; color: var(--indigo); }
.circle-level{ margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.circle-members{
  margin-top: 12px; align-self: flex-start; font-size: 0.8rem; font-weight: 700;
  background: var(--mint); color: #1F5C4B; padding: 4px 12px; border-radius: 999px;
}

/* -------------------- features -------------------- */
.features-section{ padding: 88px 0; background: var(--indigo); color: var(--paper); }
.features-section .section-title{ color: var(--paper); }
.features-section .section-sub{ color: #BFC3D9; margin-bottom: 40px; }
.feature-grid{ display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px){ .feature-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px){ .feature-grid{ grid-template-columns: repeat(3, 1fr); } }
.feature-card{
  background: rgba(255,255,255,0.05); border: 1px solid rgba(246,210,122,0.2);
  border-radius: var(--radius); padding: 26px 26px 28px;
}
.feature-icon{ width: 48px; height: 48px; margin-bottom: 16px; }
.feature-card h3{ font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin: 0 0 8px; color: var(--gold-hi); }
.feature-card p{ margin: 0; font-size: 0.95rem; color: #C9CCE0; }

/* -------------------- how -------------------- */
.how-section{ padding: 96px 0; }
.how-steps{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 760px){ .how-steps{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px){ .how-steps{ grid-template-columns: repeat(4, 1fr); } }
.how-step{
  padding: 26px 24px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.how-icon{ width: 50px; height: 50px; margin-bottom: 16px; }
.how-num{ display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--violet); margin-bottom: 4px; }
.how-step h3{ font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: 0 0 8px; color: var(--indigo); }
.how-step p{ margin: 0; font-size: 0.94rem; color: var(--ink-soft); }

/* -------------------- events -------------------- */
.events-section{ padding: 88px 0; background: var(--lilac); }
.events-inner{ display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
@media (min-width: 900px){ .events-inner{ grid-template-columns: 0.85fr 1.15fr; gap: 56px; } }
.events-section .section-sub{ margin-bottom: 0; }
.event-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.event-item{
  display: flex; gap: 18px; align-items: center;
  background: var(--white); border-radius: 16px; padding: 16px 20px;
}
.event-day{
  flex-shrink: 0; width: 60px; height: 60px; border-radius: 14px;
  background: var(--indigo); color: var(--gold-hi);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.event-time{ font-size: 0.8rem; font-weight: 700; color: var(--violet); text-transform: uppercase; letter-spacing: 0.06em; }
.event-body h3{ font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin: 2px 0 0; color: var(--indigo); }

/* -------------------- quote -------------------- */
.quote-band{ background: var(--gold-hi); padding: 84px 0; }
.quote-big{
  margin: 0 auto; max-width: 860px; text-align: center; color: var(--indigo);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.25; letter-spacing: -0.01em;
}

/* -------------------- stories -------------------- */
.stories-section{ padding: 96px 0 88px; }
.stories-grid{ display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
@media (min-width: 760px){ .stories-grid{ grid-template-columns: repeat(3, 1fr); } }
.story-card{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.story-quote{ font-size: 1rem; margin: 0 0 22px; color: var(--ink); }
.story-author{ display: flex; align-items: center; gap: 12px; }
.story-avatar{
  width: 40px; height: 40px; border-radius: 50%; background: var(--violet); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; flex-shrink: 0;
}
.story-name{ display: block; font-weight: 700; font-size: 0.92rem; }
.story-role{ display: block; font-size: 0.84rem; color: var(--ink-soft); }

/* -------------------- join -------------------- */
.join-section{ padding: 96px 0; background: var(--indigo); color: var(--paper); text-align: center; }
.join-section .section-title{ color: var(--paper); }
.join-section .section-sub{ color: #BFC3D9; margin: 0 auto 30px; }
.join-inner{ display: flex; flex-direction: column; align-items: center; }

/* -------------------- footer -------------------- */
.site-footer{ padding: 30px 0; background: var(--paper); border-top: 1px solid var(--line); }
.footer-inner{ display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 700px){ .footer-inner{ flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-copy{ color: var(--ink-soft); font-size: 0.88rem; }

/* -------------------- mobile -------------------- */
@media (max-width: 480px){
  .section-inner, .navbar-inner, .hero-inner, .stat-strip{ padding-left: 16px; padding-right: 16px; }
  .navbar-inner .btn-small{ padding: 8px 12px; font-size: 0.82rem; }
  .hero-inner{ padding-top: 36px; }
}
