:root {
  --bg: #fbf8f5;
  --surface: #ffffff;
  --soft: #fff3ea;
  --ink: #13213f;
  --text: #2a3550;
  --muted: #6b7690;
  --line: #ece6e0;
  --brand: #f26b1d;
  --brand-2: #e2520c;
  --brand-ink: #ffffff;
  --ok: #22a95a;
  --shadow: 0 1px 2px rgb(19 33 63 / .05), 0 8px 24px rgb(19 33 63 / .07);
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1320;
    --surface: #161d2e;
    --soft: #2a1d14;
    --ink: #f3f5fa;
    --text: #cfd6e4;
    --muted: #8f9ab2;
    --line: #232c40;
    --brand: #ff7a2b;
    --brand-2: #f26b1d;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.mid { max-width: 900px; }
.center { text-align: center; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- logo */
.logo {
  position: relative; display: inline-block; font-weight: 800; font-style: italic;
  font-size: 26px; letter-spacing: -.04em; color: var(--ink); line-height: 1; padding-top: 6px;
}
.logo b { color: var(--brand); font-weight: 800; }
.logo .swoosh { position: absolute; left: 10%; top: -6px; width: 84%; height: 17px; fill: var(--brand); }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .sep { width: 1.5px; height: 22px; background: var(--line); }
.brand-sub { font-weight: 700; font-size: 18px; color: var(--ink); }
.top nav { display: flex; gap: 4px; margin-left: auto; }
.top nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); }
.top nav a:hover { color: var(--ink); background: var(--soft); }
.top nav a.on { color: var(--brand); background: var(--soft); }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2)); color: #fff;
  font: inherit; font-weight: 700; font-size: 15px; border: 0; cursor: pointer;
  padding: 12px 22px; border-radius: 12px; box-shadow: 0 6px 16px -6px rgb(242 107 29 / .6);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgb(242 107 29 / .7); }
.btn:active { transform: none; }
.btn .ic { width: 18px; height: 18px; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 24px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: #13213f; box-shadow: none; padding: 9px 16px; font-size: 14px; border-radius: 999px; }
.btn-outline { background: transparent; color: var(--brand); border: 2px solid var(--brand); box-shadow: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 60%, transparent); outline-offset: 2px; }

/* ---------- tags & meta */
.tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand); background: var(--soft); padding: 4px 10px; border-radius: 999px; letter-spacing: .01em; }
.tag-solid { background: var(--brand); color: #fff; }
.meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.meta .ic { width: 16px; height: 16px; }
.meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin: 0 4px; opacity: .6; }
.meta.big { font-size: 14px; margin-top: 18px; }

/* ---------- home */
.home-head { padding: 44px 0 20px; }
.eyebrow { font-weight: 700; color: var(--brand); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.home-head h1 { font-size: clamp(32px, 5vw, 52px); margin: 8px 0 10px; font-weight: 800; }
.home-head p { color: var(--muted); max-width: 560px; font-size: 17px; }
.chips { display: flex; gap: 10px; margin-top: 26px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; flex: none; font: inherit; font-size: 14px; font-weight: 600;
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer;
}
.chip .ic { width: 18px; height: 18px; }
.chip:hover { border-color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.featured-wrap { margin-top: 10px; }
.featured { position: relative; display: block; border-radius: 24px; overflow: hidden; min-height: 360px; color: #fff; box-shadow: var(--shadow); isolation: isolate; }
.featured .cover { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; transition: transform .6s; }
.featured:hover .cover { transform: scale(1.03); }
.featured::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(8 12 22 / .85) 0%, rgb(8 12 22 / .45) 55%, transparent 80%); }
.featured-text { padding: 44px; max-width: 560px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.featured h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.featured p { color: #dfe4ee; font-size: 16px; }

.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin: 52px 0 18px; }
.sec-head h2 { font-size: 26px; font-weight: 800; }
.count { color: var(--muted); font-size: 14px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(19 33 63 / .06), 0 18px 36px rgb(19 33 63 / .12); }
.post .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.post .cover { width: 100%; height: 100%; display: block; }
.post-text { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post .tag { align-self: flex-start; }
.post h3 { font-size: 19px; font-weight: 700; }
.post p { color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post .meta { margin-top: auto; }
.post[hidden], .featured[hidden] { display: none; }
.empty { color: var(--muted); padding: 30px 0; }

.why-banner { display: flex; align-items: center; gap: 16px; margin-top: 52px; padding: 20px 24px; border-radius: var(--radius); background: var(--soft); border: 1.5px solid color-mix(in srgb, var(--brand) 40%, transparent); }
.wb-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.wb-icon .ic { width: 28px; height: 28px; }
.why-banner b { display: block; font-size: 20px; color: var(--ink); }
.why-banner small { color: var(--muted); font-size: 14px; }
.wb-chev { margin-left: auto; color: var(--brand); width: 26px; height: 26px; }
.fmini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.fmini { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 16px; background: var(--surface); border-radius: 14px; border: 1px solid var(--line); }
.fmini:hover { border-color: var(--brand); }
.fmini .fi { grid-row: span 2; }
.fmini b { color: var(--ink); font-size: 15px; line-height: 1.3; }
.fmini small { color: var(--muted); font-size: 13px; }
.fi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--brand); }
.fi .ic { width: 24px; height: 24px; }

/* ---------- CTA band */
.cta-band { margin-top: 72px; background: linear-gradient(135deg, #13213f, #24375f); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); }
.cta-band p { color: #c7d0e2; margin-top: 6px; }
.play { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; padding: 10px 20px 10px 16px; border-radius: 12px; border: 1px solid #555; flex: none; transition: transform .15s; }
.play:hover { transform: translateY(-2px); }
.play svg { width: 28px; height: 30px; }
.play span { display: flex; flex-direction: column; font-size: 21px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.play small { font-size: 10px; font-weight: 600; letter-spacing: .06em; }
.play-lg { padding: 14px 28px 14px 22px; }
.play-lg span { font-size: 26px; }

/* ---------- article */
.article { padding-top: 36px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px; margin-bottom: 22px; }
.back:hover { color: var(--brand); }
.back .ic { width: 18px; height: 18px; }
.article h1 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; margin: 14px 0 14px; }
.lead { font-size: 19px; color: var(--muted); }
.art-cover { margin: 34px 0 10px; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 8; box-shadow: var(--shadow); }
.art-cover .cover { width: 100%; height: 100%; display: block; }
.prose { font-size: 17.5px; line-height: 1.8; }
.prose h2 { font-size: 26px; font-weight: 800; margin: 40px 0 12px; }
.prose p { margin: 16px 0; }
.prose ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.prose li { display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; line-height: 1.6; }
.prose li .ic { color: var(--ok); margin-top: 4px; stroke-width: 2.6; }
.tip { display: flex; gap: 16px; margin: 36px 0 10px; padding: 20px 22px; border-radius: 16px; background: var(--soft); border-left: 4px solid var(--brand); }
.tip-ic { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.tip b { color: var(--ink); }
.tip p { margin: 4px 0 0; font-size: 16px; }
.app-card { margin-top: 40px; padding: 28px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.app-card p { flex: 1; min-width: 200px; color: var(--muted); }

/* ---------- why / features */
.why-hero, .feat-hero { padding: 40px 0 10px; background: radial-gradient(80% 70% at 50% 0%, var(--soft), transparent 75%); }
.why-hero h1, .feat-hero h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; margin-bottom: 12px; }
.why-hero .lead, .feat-hero .lead { max-width: 560px; margin: 0 auto; }
.hero-art { width: 100%; max-width: 360px; height: auto; display: block; margin: 0 auto; }
.why-art { margin-top: 26px; }
.why-art .hero-art { max-width: 520px; }
.feat-art { margin: 6px 0 22px; }
.feat-art .hero-art { max-width: 300px; }
.frows { display: grid; gap: 12px; margin-top: 28px; }
.frow { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--surface); border-radius: 16px; border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.frow:hover { border-color: var(--brand); transform: translateX(3px); }
.frow b { display: block; color: var(--ink); font-size: 17px; }
.frow small { color: var(--muted); font-size: 14px; }
.fchev { margin-left: auto; color: var(--brand); width: 24px; height: 24px; }

.feat-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; margin-top: 34px; margin-bottom: 26px; }
.benefits { background: var(--surface); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.benefits ul, .dl-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.benefits li, .dl-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.ok { width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; flex: none; }
.ok .ic { width: 15px; height: 15px; stroke-width: 3; }

/* phone mock */
.mock-wrap { display: flex; justify-content: center; }
.phone { width: 100%; max-width: 300px; border: 8px solid #1b2131; border-bottom: 0; border-radius: 32px 32px 0 0; background: var(--surface); padding: 10px 14px 18px; box-shadow: var(--shadow); }
.phone-status { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--ink); padding: 0 6px; }
.sig { width: 34px; height: 9px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) 60%, transparent 60%); opacity: .8; }
.phone-bar { display: flex; align-items: center; gap: 10px; padding: 12px 4px; color: var(--ink); font-size: 15px; }
.phone-bar .ic { width: 18px; height: 18px; }
.mrow { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.mrow div { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.mrow b { color: var(--ink); font-size: 14px; }
.mrow small { color: var(--muted); font-size: 12px; }
.mrow .amt { flex: none; }
.mi { width: 38px; height: 38px; border-radius: 10px; background: var(--soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.minicard { width: 100%; max-width: 340px; background: var(--surface); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.mc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: var(--ink); }
.pill { background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.vrow { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 600; }
.vrow span { flex: 1; }
.vrow .ic:last-child { color: var(--muted); width: 16px; }
.timeline { position: relative; padding-left: 4px; }
.tl { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--ink); font-size: 14px; position: relative; }
.tl div { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.tl small { color: var(--muted); font-size: 12px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 3px solid; flex: none; background: var(--surface); }
.dot.g { border-color: var(--ok); } .dot.o { border-color: var(--brand); }
.tl:first-child::after { content: ""; position: absolute; left: 5px; top: 32px; height: 38px; width: 2px; background: var(--line); }
.rep { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rep div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border: 1px solid var(--line); border-radius: 12px; }
.rep .ic { color: var(--brand); width: 24px; height: 24px; }
.rep b { color: var(--ink); font-size: 14px; }
.rep small { color: var(--muted); font-size: 12px; }

/* demo form */
.demo { background: var(--surface); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.demo label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.demo label[hidden] { display: none; }
.demo select, .demo input { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.demo select:focus, .demo input:focus { border-color: var(--brand); outline: none; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 4px; }
.seg button { font: inherit; font-weight: 700; border: 0; padding: 10px; border-radius: 9px; background: transparent; color: var(--text); cursor: pointer; }
.seg button.on { background: var(--brand); color: #fff; }
.demo-out { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ink); font-size: 15px; }
.demo-out .ok { flex: none; }
.demo-out[hidden] { display: none; }
.demo-note { font-size: 13px; color: var(--muted); text-align: center; }

.next-feat { display: grid; grid-template-columns: 1fr auto; align-items: center; margin-top: 30px; padding: 18px 22px; border-radius: 16px; border: 1.5px dashed var(--line); }
.next-feat small { color: var(--muted); font-size: 13px; }
.next-feat b { color: var(--ink); font-size: 17px; grid-column: 1; }
.next-feat .ic { grid-row: 1 / span 2; grid-column: 2; color: var(--brand); width: 26px; height: 26px; }
.next-feat:hover { border-color: var(--brand); }

/* download */
.dl { padding: 50px 0 10px; background: radial-gradient(80% 60% at 50% 0%, var(--soft), transparent 75%); }
.dl-logo .logo { font-size: clamp(54px, 10vw, 76px); padding-top: 22px; }
.dl-logo .swoosh { height: 34px; top: -6px; }
.dl-tag { font-style: italic; font-weight: 700; font-size: 20px; color: var(--ink); margin-top: 10px; }
.dl-list { max-width: 400px; margin: 30px auto 34px; text-align: left; gap: 0; }
.dl-list li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.dl .play { margin-bottom: 18px; }
.dl .btn-outline { display: flex; width: fit-content; margin: 0 auto; }
.dl-art { margin-top: 40px; }
.dl-art .hero-art { max-width: 480px; }
.dl h1 { font-size: 40px; margin-bottom: 10px; }
.dl .lead { margin-bottom: 24px; }

/* ---------- footer */
.foot { margin-top: 0; padding: 50px 0 24px; border-top: 1px solid var(--line); background: var(--surface); }
.cta-band + .foot { border-top: 0; }
.foot .wrap:first-child { display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.foot-brand { max-width: 340px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-cols h4 { font-size: 14px; margin-bottom: 10px; }
.foot-cols a { display: block; color: var(--muted); font-size: 14px; padding: 3px 0; }
.foot-cols a:hover { color: var(--brand); }
.foot-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.tabbar { display: none; }

/* ---------- responsive */
@media (max-width: 920px) {
  .posts, .fmini-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { padding-bottom: 72px; }
  .wrap { padding: 0 16px; }
  .top nav { display: none; }
  .top .btn-sm { margin-left: auto; }
  .top .wrap { height: 60px; }
  .logo { font-size: 23px; }
  .home-head { padding: 28px 0 12px; }
  .featured { min-height: 0; border-radius: 20px; }
  .featured .cover { opacity: .9; }
  .featured::after { background: linear-gradient(0deg, rgb(8 12 22 / .9) 10%, rgb(8 12 22 / .35) 70%); }
  .featured-text { padding: 120px 20px 22px; }
  .featured p { display: none; }
  .posts { grid-template-columns: 1fr; gap: 14px; }
  .post { flex-direction: row; }
  .post .thumb { width: 116px; aspect-ratio: auto; flex: none; }
  .post-text { padding: 14px; gap: 6px; }
  .post .tag, .post p { display: none; }
  .post h3 { font-size: 16px; }
  .fmini-grid { grid-template-columns: 1fr; }
  .why-banner { padding: 16px; }
  .why-banner b { font-size: 18px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .feat-grid { grid-template-columns: 1fr; }
  .art-cover { border-radius: 16px; aspect-ratio: 16 / 9; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 22px; }
  .foot-cols { gap: 32px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--surface); border-top: 1px solid var(--line); padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--muted); padding: 4px 0; }
  .tabbar a.on { color: var(--brand); }
  .tabbar .ic { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
