/* Nusan — landing & legal pages. Lumina light design.
   Tokens mirror docs/DESIGN_SYSTEM.md (light variants). No build step. */

:root {
  --sf: -apple-system, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Lumina light tokens */
  --cyan: #0891B2;
  --cyan-bright: #22D3EE;
  --pink: #DB2777;
  --indigo: #6366F1;
  --lime: #65A30D;

  --bg: #F4F7FB;
  --surface: #FFFFFF;
  --stroke: #E4EBF3;

  --ink: #16161F;
  --muted: #6C7686;
  --faint: #8A93A3;

  --radius-card: 18px;
  --radius-btn: 16px;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sf);
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 12% -8%, #eef1ff 0%, transparent 56%),
    radial-gradient(900px 620px at 100% -4%, #e6fbff 0%, transparent 54%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.icon { width: 22px; height: 22px; stroke-width: 2; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(18px);
  background: rgba(244,247,251,0.72);
  border-bottom: 1px solid var(--stroke);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand .dot { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--cyan); color: #fff !important; padding: 9px 18px;
  border-radius: 100px; font-weight: 600; font-size: 14.5px;
  box-shadow: 0 8px 20px -8px rgba(8,145,178,0.6);
}
.nav-cta:hover { background: #0a7fa0; }
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 100px; font-weight: 600; font-size: 16px;
  transition: transform .12s, box-shadow .2s, background .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--cyan); color: #fff; box-shadow: 0 14px 30px -10px rgba(8,145,178,0.55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -10px rgba(8,145,178,0.6); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--stroke); }
.btn-ghost:hover { border-color: #cfdceb; }
.btn .icon { width: 19px; height: 19px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; } }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cyan); background: #d7f6fc; border: 1px solid #b6ecf6;
  padding: 6px 13px; border-radius: 100px; margin-bottom: 22px;
}
.kicker .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-bright); box-shadow: 0 0 0 0 rgba(34,211,238,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(34,211,238,0.5);} 70%{box-shadow:0 0 0 8px rgba(34,211,238,0);} 100%{box-shadow:0 0 0 0 rgba(34,211,238,0);} }

h1.hero-title { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.03; }
h1.hero-title em { font-style: normal; color: var(--cyan); }
.hero-sub { margin-top: 20px; font-size: 18.5px; line-height: 1.6; color: var(--muted); max-width: 520px; }
@media (max-width: 900px) { .hero-sub { margin-inline: auto; } }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
@media (max-width: 900px) { .hero-actions { justify-content: center; } }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--faint); }

/* Official Apple App Store badge */
.appstore { display: inline-flex; align-items: center; transition: opacity 0.15s ease; }
.appstore:hover { opacity: 0.8; }
.appstore img { height: 48px; width: auto; display: block; }

/* ---------- Phone mockup (reused from Lumina prototype, light) ---------- */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone-stage::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.22), transparent 68%); filter: blur(10px); z-index: 0;
}
.iphone {
  width: 286px; height: 592px; border-radius: 52px; padding: 11px; background: #1c1c1e; position: relative;
  box-shadow: 0 0 0 2px #2c2c2e, 0 30px 60px -22px rgba(20,60,90,0.45); z-index: 1;
}
.screen { width: 100%; height: 100%; border-radius: 42px; overflow: hidden; position: relative; background: var(--bg); color: var(--ink); }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 92px; height: 28px; background: #000; border-radius: 16px; z-index: 50; }
.app { position: absolute; inset: 0; padding-top: 50px; display: flex; flex-direction: column;
  background: radial-gradient(95% 45% at 50% 0%, rgba(34,211,238,0.13) 0%, transparent 58%),
              radial-gradient(80% 40% at 90% 8%, rgba(244,113,181,0.10) 0%, transparent 55%), var(--bg); }
.statusbar { height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px 0 30px; font-size: 14px; font-weight: 600; }
.sb-icons { display: inline-flex; align-items: center; gap: 5px; }
.sb-icons svg { width: 15px; height: 15px; stroke-width: 2.2; }
.app-body { flex: 1; overflow: hidden; padding: 4px 20px 0; }
.largetitle { font-size: 29px; font-weight: 800; letter-spacing: -0.02em; padding: 6px 0 14px; }
.largetitle span { color: var(--cyan); }
.langbar { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border-radius: 16px; margin-bottom: 26px; background: #fff; border: 1px solid var(--stroke); box-shadow: 0 6px 16px -10px rgba(34,90,130,0.25); }
.langpill { font-weight: 700; font-size: 14px; }
.swap { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e6f7fb; color: var(--cyan); }
.swap svg { width: 16px; height: 16px; }
.hero-mic-wrap { text-align: center; margin: 8px 0 24px; }
.micbtn { width: 94px; height: 94px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; position: relative;
  background: radial-gradient(circle at 50% 32%, #ffffff, #eaf6fb); border: 1.5px solid var(--cyan-bright); color: var(--cyan);
  box-shadow: 0 14px 34px -10px rgba(8,145,178,0.5), inset 0 0 18px rgba(34,211,238,0.18); }
.micbtn svg { width: 36px; height: 36px; }
.pulse { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(34,211,238,0.5); transform: scale(1.32); opacity: 0.5; }
.pulse.two { transform: scale(1.62); opacity: 0.22; }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 30px; margin-top: 20px; }
.wave i { width: 4px; border-radius: 3px; display: block; background: linear-gradient(#06b6d4, #6366f1); }
.mic-hint { margin-top: 14px; font-size: 14px; font-weight: 600; }
.mic-sub { font-size: 12.5px; margin-top: 3px; color: var(--muted); }
.reclabel { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 11px; color: var(--faint); }
.recent { border-radius: 16px; padding: 13px 15px; background: #fff; border: 1px solid var(--stroke); box-shadow: 0 6px 16px -12px rgba(34,90,130,0.3); }
.recent .from { font-size: 12.5px; color: var(--muted); }
.recent .to { font-size: 14.5px; font-weight: 600; margin-top: 2px; }
.recent .live { font-size: 10px; font-weight: 700; color: var(--lime); }
.tabbar { height: 70px; display: flex; justify-content: space-around; align-items: flex-start; padding-top: 11px; border-top: 0.5px solid #dde5ee; }
.tabbar .tab { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; font-weight: 600; color: var(--ink); opacity: 0.5; }
.tabbar .tab.on { opacity: 1; color: var(--cyan); }
.tabbar svg { width: 23px; height: 23px; }

/* ---------- Section scaffolding ---------- */
section { padding: 64px 0; }
.sec-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.sec-head .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.025em; margin-top: 10px; }
.sec-head p { margin-top: 14px; font-size: 17.5px; color: var(--muted); }

/* ---------- Mode cards ---------- */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.card {
  background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius-card);
  padding: 28px; box-shadow: 0 14px 34px -22px rgba(34,90,130,0.4); transition: transform .15s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -22px rgba(34,90,130,0.45); }
.card .ic-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.card .ic-badge svg { width: 26px; height: 26px; color: #fff; stroke-width: 2.2; }
.ic-cyan { background: linear-gradient(135deg, #22D3EE, #0891B2); }
.ic-pink { background: linear-gradient(135deg, #F471B5, #DB2777); }
.ic-indigo { background: linear-gradient(135deg, #818CF8, #6366F1); }
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* ---------- Languages ---------- */
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.langchip {
  display: inline-flex; align-items: center; gap: 10px; background: var(--surface);
  border: 1px solid var(--stroke); border-radius: 100px; padding: 11px 20px; font-weight: 600; font-size: 16px;
  box-shadow: 0 8px 20px -16px rgba(34,90,130,0.5);
}
.langchip .flag { font-size: 22px; line-height: 1; }

/* ---------- Why / features list ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 40px; max-width: 880px; margin: 0 auto; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .fic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e6f7fb; color: var(--cyan); }
.feature .fic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17.5px; font-weight: 700; }
.feature p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ---------- Privacy band ---------- */
.privacy-band {
  background: linear-gradient(135deg, #0B0B12, #1B1B28); color: #EEF0FF; border-radius: 24px;
  padding: 56px 48px; text-align: center; position: relative; overflow: hidden;
}
.privacy-band::after { content:""; position:absolute; inset:0; background: radial-gradient(80% 60% at 50% -10%, rgba(34,211,238,0.22), transparent 60%); }
.privacy-band > * { position: relative; z-index: 1; }
.privacy-band .fic { width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 20px; display: grid; place-items: center; background: rgba(34,211,238,0.14); color: var(--cyan-bright); }
.privacy-band .fic svg { width: 30px; height: 30px; }
.privacy-band h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.02em; }
.privacy-band p { margin: 14px auto 0; max-width: 580px; color: #B9BCDA; font-size: 17px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin: 0 auto; }
@media (max-width: 720px) { .pricing { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--stroke); border-radius: 20px; padding: 32px; box-shadow: 0 14px 34px -24px rgba(34,90,130,0.4); }
.plan.pro { border: 2px solid var(--cyan); position: relative; }
.plan .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.plan.pro .tag { color: var(--cyan); }
.plan .badge-best { position: absolute; top: -12px; right: 24px; background: var(--cyan); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 100px; letter-spacing: 0.04em; }
.plan .price { margin: 14px 0 4px; font-size: 38px; font-weight: 800; letter-spacing: -0.02em; }
.plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan .price-sub { font-size: 14px; color: var(--faint); }
.plan ul { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.plan li svg { width: 18px; height: 18px; color: var(--lime); flex-shrink: 0; margin-top: 2px; }
.plan li.muted { color: var(--faint); }
.plan li.muted svg { color: var(--faint); }
.price-note { text-align: center; color: var(--faint); font-size: 13.5px; margin-top: 24px; }

/* ---------- Final CTA ---------- */
.cta-final { text-align: center; padding: 80px 0; }
.cta-final h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.025em; }
.cta-final p { margin: 14px auto 30px; max-width: 480px; color: var(--muted); font-size: 18px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--stroke); padding: 48px 0 56px; margin-top: 40px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 280px; }
.foot-brand .brand { margin-bottom: 12px; }
.foot-brand p { color: var(--muted); font-size: 14.5px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 10px; transition: color .15s; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--stroke); color: var(--faint); font-size: 13.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-bottom a { color: var(--cyan); font-weight: 600; }
.foot-bottom a:hover { color: #0a7fa0; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -0.025em; }
.legal .updated { color: var(--faint); font-size: 14px; margin-top: 8px; }
.lang-tabs { display: inline-flex; gap: 6px; margin: 26px 0 8px; background: var(--surface); border: 1px solid var(--stroke); border-radius: 100px; padding: 5px; }
.lang-tabs button { border: none; background: transparent; font-family: var(--sf); font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 18px; border-radius: 100px; cursor: pointer; transition: all .15s; }
.lang-tabs button.active { background: var(--cyan); color: #fff; }
.legal-body { margin-top: 24px; }
.legal-body[hidden] { display: none; }
.legal-body h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin: 34px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: #2c2c38; font-size: 16px; line-height: 1.7; }
.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 0 0 16px 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--cyan); font-weight: 600; }
.back-home { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.back-home:hover { color: var(--ink); }
.back-home svg { width: 17px; height: 17px; }

/* ---------- Blog ---------- */
.blog-hero { max-width: 760px; margin: 0 auto; padding: 56px 24px 8px; text-align: left; }
.blog-hero h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -0.025em; }
.blog-hero p { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 560px; }

.blog-grid { max-width: 900px; margin: 32px auto 80px; padding: 0 24px; display: flex; flex-direction: column; gap: 20px; }
.post-card { display: flex; gap: 22px; align-items: center; background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius-card); padding: 16px; text-decoration: none; transition: transform .15s, box-shadow .2s; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -20px rgba(34,90,130,0.35); }
.post-card img { width: 160px; height: 110px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.post-card .meta { font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cyan); }
.post-card h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-top: 6px; color: var(--ink); }
.post-card p { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.55; }

.article { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }
.article .meta { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan); }
.article h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.025em; margin-top: 12px; }
.article .dek { color: var(--muted); font-size: 18px; margin-top: 14px; line-height: 1.6; }
.article .hero-img { width: 100%; border-radius: var(--radius-card); margin: 28px 0; box-shadow: 0 14px 34px -22px rgba(34,90,130,0.4); }
.article-body { margin-top: 8px; }
.article-body h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 36px 0 14px; color: var(--ink); }
.article-body p, .article-body li { color: #2c2c38; font-size: 16.5px; line-height: 1.75; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; display: flex; flex-direction: column; gap: 8px; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--cyan); font-weight: 600; }
.article-body img { width: 100%; border-radius: 14px; margin: 24px 0; }
.article-body figcaption { font-size: 13.5px; color: var(--faint); text-align: center; margin-top: -14px; margin-bottom: 24px; }
.article-cta { margin-top: 40px; padding: 28px; background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius-card); text-align: center; }
.article-cta h3 { font-size: 19px; font-weight: 700; }
.article-cta p { color: var(--muted); font-size: 15px; margin: 8px 0 18px; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--sf); font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--stroke);
  border-radius: 12px; padding: 13px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.14);
}
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form .btn { align-self: flex-start; margin-top: 2px; }
.form-status { font-size: 14px; line-height: 1.55; margin: 0; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--lime); font-weight: 600; }
.form-status.err { color: var(--pink); font-weight: 600; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
