:root{
  --bg:        #f6f2ea;
  --bg-soft:   #efe9dd;
  --ink:       #0e2742;
  --ink-soft:  #4a5a72;
  --ink-muted: #7a8597;
  --line:      #e3dccd;
  --blue:      #1f5da8;
  --blue-deep: #154277;
  --sun:       #e9b94a;
  --field:     #3f8f47;
  --radius:    18px;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway_light_italic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Raleway';
    src: url('fonts/raleway_regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}


*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection{background:var(--sun); color:var(--ink)}

a{color:var(--blue); text-decoration: none}
a:hover{color:var(--blue-deep); text-decoration: underline; text-underline-offset: 3px}

h1, h2, h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  line-height: 1.2;
}


.wrap{max-width: 1080px; margin: 0 auto; padding: 0 32px}

/* ---------- NAV ---------- */
nav.site{
  padding: 28px 0 0;
}
nav.site .wrap{
  display:flex; align-items:center; justify-content:space-between;
}
.brand{
  display:flex; align-items:center; gap:12px;
  color: var(--ink); font-weight: 600; letter-spacing: -0.01em;
  font-size: 17px;
}
.brand img{
  width:34px; height:34px; border-radius: 8px;
  box-shadow: 0 1px 2px rgba(14,39,66,.08), 0 4px 14px rgba(14,39,66,.06);
}
nav.site ul{
  list-style:none; margin:0; padding:0;
  display:flex; gap:28px;
  font-size: 14.5px; color: var(--ink-soft);
}
nav.site a{color:var(--ink-soft); font-weight:500}
nav.site a:hover{color:var(--ink); text-decoration:none}

.nav-right{display:flex; align-items:center; gap:28px}
.lang-switch{
  display:inline-flex;
  gap:2px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:3px;
  background: rgba(255,255,255,.4);
}
.lang-switch button{
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 11px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-muted);
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.lang-switch button:hover{ color: var(--ink) }
.lang-switch button.active{
  background: var(--ink);
  color: var(--bg);
}

/* ---------- HERO ---------- */
header.hero{
  padding: 96px 0 88px;
  text-align: left;
}
header.hero .wrap{
  display:grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-art{
  display:flex; justify-content:center; align-items:center;
  position: relative;
}
.hero-art img{
  width: 220px; height: 220px;
  border-radius: 44px;
  box-shadow:
    0 1px 2px rgba(14,39,66,.06),
    0 10px 30px rgba(14,39,66,.10),
    0 40px 80px rgba(14,39,66,.10);
}
.hero-art::before{
  content:"";
  position:absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233,185,74,.22), rgba(233,185,74,0) 70%);
  z-index: 0;
  pointer-events:none;
}
.hero-art img{position:relative; z-index:1}

.eyebrow{
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 22px;
}
h1{
  font-size: clamp(44px, 6vw, 72px);
  font-style: italic;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
  color: var(--ink);
  text-wrap: balance;
}
em{
  font-style: italic;
  color: var(--blue);
}
.lede{
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 44ch;
  text-wrap: pretty;
  margin: 0 0 36px;
}

.cta-row{display:flex; gap:14px; flex-wrap:wrap; align-items:center}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn.primary{ background: var(--ink); color: var(--bg); }
.btn.primary:hover{ background: var(--blue-deep); color: var(--bg); text-decoration: none; }
.btn.ghost{ color: var(--ink); border-color: var(--line); background: transparent }
.btn.ghost:hover{ background: var(--bg-soft); text-decoration: none }
.btn .arrow{transition: transform .15s ease}
.btn:hover .arrow{transform: translateX(3px)}

/* ---------- ABOUT ---------- */
section.about{
  padding: 72px 0 56px;
  border-top: 1px solid var(--line);
}
.about-grid{
  display:grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
}
.section-label{
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.about h2{
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: -0.005em;
  margin: 14px 0 0;
  color: var(--ink);
  text-wrap: balance;
}
.about p{
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.about p:last-child{margin-bottom:0}
.about p strong{ color: var(--ink); font-weight: 600 }

.pillars{
  margin-top: 56px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar{
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.5);
}
.pillar .dot{
  width: 10px; height: 10px; border-radius: 50%;
  margin-bottom: 14px;
}
.pillar.blue .dot{ background: var(--blue) }
.pillar.sun  .dot{ background: var(--sun) }
.pillar.field .dot{ background: var(--field) }
.pillar h3{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.pillar p{
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- TUTORIAL ---------- */
section.tutorial{
  padding: 96px 0 96px;
  border-top: 1px solid var(--line);
  margin-top: 72px;
}
.tutorial > .wrap > header{
  max-width: 640px;
  margin-bottom: 72px;
}
.tutorial h2{
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.01em;
  margin: 14px 0 18px;
  color: var(--ink);
  text-wrap: balance;
}
.tutorial > .wrap > header p{
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 52ch;
  text-wrap: pretty;
}

.step{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 56px 0;
}
.step + .step{ border-top: 1px dashed var(--line) }
.step.flip .step-art{ order: 2 }
.step.flip .step-copy{ order: 1 }

.step-num{
  display:inline-flex; align-items:center; justify-content:center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-size: 18px;
  margin-bottom: 22px;
}
.step h3{
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: 0.01em;
  margin: 0 0 14px;
  color: var(--ink);
  text-wrap: balance;
}
.step p{
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 44ch;
  text-wrap: pretty;
}
.step ul{
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.step ul li{
  padding: 6px 0 6px 22px;
  position: relative;
}
.step ul li::before{
  content:"";
  position:absolute;
  left: 0; top: 15px;
  width: 8px; height: 1px;
  background: var(--ink-muted);
}

.step-art{
  display:flex; justify-content:center;
  position: relative;
}
.phone{
  position: relative;
  width: 290px;
  aspect-ratio: 1080 / 2340;
  border-radius: 38px;
  padding: 8px;
  background: #1b1f24;
  box-shadow:
    0 1px 2px rgba(14,39,66,.06),
    0 16px 40px rgba(14,39,66,.10),
    0 44px 90px rgba(14,39,66,.08);
}
.phone .screen{
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  display:block;
}
.phone img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display:block;
}
.phone.dark{ background: #0a0d12; }

.step-art::before{
  content:"";
  position:absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  z-index: 0;
  pointer-events:none;
  filter: blur(2px);
}
.step:nth-child(1) .step-art::before{
  background: radial-gradient(closest-side, rgba(233,185,74,.18), rgba(233,185,74,0) 70%);
}
.step:nth-child(3) .step-art::before{
  background: radial-gradient(closest-side, rgba(31,93,168,.18), rgba(31,93,168,0) 70%);
}
.step:nth-child(5) .step-art::before{
  background: radial-gradient(closest-side, rgba(63,143,71,.18), rgba(63,143,71,0) 70%);
}
.phone{ position: relative; z-index: 1 }

/* ---------- CLOSING ---------- */
section.closing{
  padding: 72px 0 96px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.closing h2{
  font-size: clamp(36px, 4.5vw, 52px);
  letter-spacing: -0.01em;
  margin: 18px auto 18px;
  color: var(--ink);
  max-width: 22ch;
  text-wrap: balance;
}
.closing p{
  font-size: 17.5px;
  color: var(--ink-soft);
  margin: 0 auto 32px;
  max-width: 46ch;
  text-wrap: pretty;
}
.closing .cta-row{justify-content:center}

/* ---------- LEGAL PAGE ---------- */
main.legal{
  padding: 64px 0 96px;
}
.legal-header{
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.legal-header h1{
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.01em;
  margin: 14px 0 0;
  color: var(--ink);
}
.lang-content{
  max-width: 68ch;
}
.lang-content .last-updated{
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin: 0 0 36px;
}
.lang-content h2{
  font-size: clamp(22px, 2.6vw, 26px);
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 40px 0 12px;
  text-wrap: balance;
}
.lang-content p{
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.lang-content ul{
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.lang-content ul li{
  position: relative;
  padding: 4px 0 4px 22px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.lang-content ul li::before{
  content:"";
  position:absolute;
  left: 0; top: 16px;
  width: 8px; height: 1px;
  background: var(--ink-muted);
}
.lang-content strong{ color: var(--ink); font-weight: 600 }

/* ---------- FOOTER ---------- */
footer.site{
  border-top: 1px solid var(--line);
  padding: 36px 0 56px;
  font-size: 14px;
  color: var(--ink-muted);
}
footer.site .wrap{
  display:flex; justify-content:space-between; align-items:center; flex-wrap: wrap; gap: 16px;
}
footer.site .brand{ font-size: 14.5px; color: var(--ink-soft); }
footer.site .brand img{ width: 24px; height: 24px; border-radius: 6px }
footer.site .links{ display:flex; gap:24px }
footer.site .links a{ color: var(--ink-muted); font-weight:500 }
footer.site .links a:hover{ color: var(--ink); text-decoration:none }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px){
  .wrap{padding: 0 22px}
  header.hero{padding: 64px 0 56px}
  header.hero .wrap{grid-template-columns: 1fr; gap: 40px}
  .hero-art{order: -1}
  .hero-art img{width: 160px; height: 160px; border-radius: 34px}
  .hero-art::before{width: 260px; height: 260px}
  .about-grid{grid-template-columns: 1fr; gap: 32px}
  .pillars{grid-template-columns: 1fr; gap: 14px; margin-top: 32px}
  .step{grid-template-columns: 1fr; gap: 40px; padding: 48px 0}
  .step.flip .step-art{order: 0}
  .step.flip .step-copy{order: 1}
  .step-art::before{width: 280px; height: 280px}
  .phone{width: 240px}
  section.tutorial{padding: 64px 0 64px; margin-top: 48px}
  nav.site ul{display:none}
}
