/* Chatsettu public site: landing, industry pages, FAQ, blog, legal pages and sign-in pages.
   Warm paper background, deep-ink text, brand blue + saffron. The dashboard has its own CSS and does not load this file. */
:root {
  --ink: #0e1726;
  --ink-2: #26324a;
  --muted: #5b6578;
  --paper: #fbf9f5;
  --paper-2: #f4efe6;
  --card: #ffffff;
  --line: #e9e3d8;
  --blue: #2457e6;
  --blue-d: #1b43bd;
  --blue-50: #eef3ff;
  --blue-100: #dbe6ff;
  --saffron: #f08a1e;
  --saffron-d: #d97706;
  --saffron-50: #fff3e2;
  --green: #12a05c;
  --green-50: #e8f7ef;
  --red: #d64545;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(14, 23, 38, .06), 0 2px 8px rgba(14, 23, 38, .05);
  --shadow: 0 10px 30px -12px rgba(14, 23, 38, .18), 0 2px 6px rgba(14, 23, 38, .05);
  --shadow-lg: 0 30px 60px -24px rgba(36, 87, 230, .35), 0 8px 20px rgba(14, 23, 38, .08);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.site { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* The resets use :where() so they have no specificity and every class below can override them. */
:where(body.site) :where(img) { max-width: 100%; height: auto; }
:where(body.site) :where(a) { color: inherit; }
:where(body.site) :where(h1, h2, h3, h4) { margin: 0; line-height: 1.15; text-wrap: balance; }
:where(body.site) :where(p, figure, blockquote) { margin: 0; }
:where(body.site) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.ic { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }
.ic-lg { width: 1.6em; height: 1.6em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: 5.5rem 0; }
.section.tint { background: var(--paper-2); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head h2, .page-hero h1 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head > p:last-child { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #a24a08; margin-bottom: .8rem; }
.fineprint { text-align: center; color: var(--muted); font-size: .86rem; margin-top: 1.6rem; }
.inline-link { color: var(--blue); font-weight: 700; text-decoration: none; }
.inline-link:hover { text-decoration: underline; }
.inline-link.big { font-size: 1rem; display: inline-flex; gap: .4rem; align-items: center; margin-top: 2rem; }
.sub-title { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; text-align: center; margin: 4rem 0 1.6rem; letter-spacing: -.01em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.4rem; border-radius: 14px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; font-family: inherit; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(36, 87, 230, .6), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-primary:hover { background: var(--blue-d); box-shadow: 0 14px 28px -10px rgba(36, 87, 230, .7), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cfc6b6; box-shadow: var(--shadow-sm); }
.btn-saffron { background: var(--saffron); color: #1f1300; box-shadow: 0 8px 22px -8px rgba(240, 138, 30, .7); }
.btn-saffron:hover { background: #ff9a2e; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; border-radius: 16px; }
.btn-sm { padding: .55rem 1.05rem; font-size: .92rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn .ic { transition: transform .18s ease; }
.btn:hover .ic:last-child { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 245, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(14, 23, 38, .25); }
.site-header .bar { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { border-radius: 10px; display: block; }
.brand-word { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; }
.brand-word .b1 { color: var(--blue); } .brand-word .b2 { color: var(--saffron); }
.nav { display: flex; gap: .3rem; margin-left: auto; }
.nav a { padding: .5rem .85rem; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--ink-2); text-decoration: none; transition: background .15s, color .15s; }
.nav a:hover { background: rgba(36, 87, 230, .08); color: var(--blue-d); }
.nav a[aria-current="page"] { color: var(--blue-d); background: var(--blue-50); }
.bar-cta { display: flex; align-items: center; gap: .6rem; }
.link-login { padding: .5rem .8rem; font-weight: 700; font-size: .95rem; color: var(--ink-2); text-decoration: none; border-radius: 10px; }
.link-login:hover { color: var(--blue-d); background: rgba(36, 87, 230, .08); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); padding: .75rem 1.5rem 1.25rem; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: block; padding: .8rem .2rem; font-weight: 600; border-bottom: 1px solid var(--line); text-decoration: none; }
.mobile-nav .btn { margin-top: 1rem; border-bottom: 0; color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 5rem; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(900px 480px at 85% -10%, rgba(36, 87, 230, .16), transparent 60%),
  radial-gradient(700px 420px at -5% 105%, rgba(240, 138, 30, .16), transparent 60%),
  radial-gradient(rgba(14, 23, 38, .09) 1px, transparent 1.2px) 0 0 / 26px 26px; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 3rem; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.pill .ic { color: var(--saffron-d); }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 4.5vw, 3.7rem); letter-spacing: -.03em; line-height: 1.06; margin: 1.3rem 0 1.3rem; }
.squiggle { position: relative; white-space: nowrap; color: var(--blue); }
.squiggle::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: .3em; background: no-repeat center / 100% 100% url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M2 9 C 22 2, 38 14, 60 7 S 100 2, 122 8 S 168 13, 198 5' fill='none' stroke='%23f08a1e' stroke-width='4' stroke-linecap='round'/></svg>"); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.4rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; font-size: .9rem; color: var(--muted); font-weight: 600; }
.trust-row li { display: inline-flex; align-items: center; gap: .35rem; }
.trust-row .ic { color: var(--green); }

.hero-visual { position: relative; display: grid; justify-items: center; }
.phone { position: relative; width: min(340px, 100%); background: #0e1726; border-radius: 42px; padding: 11px; box-shadow: var(--shadow-lg); transform: rotate(1deg); transition: transform .5s ease; margin-top: 1rem; }
.phone:hover { transform: rotate(0deg); }
.phone-top { position: absolute; top: 11px; left: 0; right: 0; height: 26px; display: grid; place-items: center; z-index: 2; }
.phone-notch { width: 84px; height: 20px; background: #0e1726; border-radius: 0 0 14px 14px; }
.chat-head { display: flex; align-items: center; gap: .7rem; background: var(--blue); color: #fff; padding: 2.2rem 1rem .85rem; border-radius: 32px 32px 0 0; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-weight: 800; font-family: var(--serif); }
.chat-who { display: grid; line-height: 1.25; }
.chat-who b { font-size: .98rem; }
.chat-who span { font-size: .75rem; opacity: .9; display: inline-flex; align-items: center; gap: .35rem; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
/* NO LAYOUT SHIFT FROM THE HERO CHAT ANIMATION — the message area has a fixed height and clips, so a growing
   conversation can never push the page around (it used to make phones scroll by themselves). */
html { overflow-anchor: none; }
#ai-preview-messages { height: 372px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .55rem; padding: 1rem .9rem; background: #f3f6ff; background-image: radial-gradient(rgba(36, 87, 230, .07) 1px, transparent 1.2px); background-size: 18px 18px; }
@media (max-width: 767px) { #ai-preview-messages { height: 340px; } }
@media (max-width: 359px) { #ai-preview-messages { height: 320px; } }
.msg { max-width: 84%; padding: .6rem .85rem; border-radius: 16px; font-size: .9rem; line-height: 1.4; box-shadow: 0 1px 2px rgba(14, 23, 38, .08); animation: pop .35s ease both; }
.msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.msg.ai { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 5px; }
.msg.status { align-self: center; max-width: 94%; background: var(--green-50); color: #0b6b3c; font-weight: 700; font-size: .8rem; display: inline-flex; gap: .4rem; align-items: center; text-align: left; border-radius: 12px; box-shadow: none; }
.msg.typing { align-self: flex-start; background: #fff; display: inline-flex; gap: 4px; padding: .8rem .95rem; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa6c0; animation: blink 1.2s infinite both; }
.msg.typing i:nth-child(2) { animation-delay: .2s; } .msg.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-input { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: #fff; color: #98a2b8; padding: .8rem 1rem; border-radius: 0 0 32px 32px; font-size: .88rem; }
.chat-input .ic { color: var(--blue); }
.float-card { position: absolute; display: flex; align-items: center; gap: .65rem; background: #fff; padding: .65rem .9rem .65rem .65rem; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); font-size: .82rem; line-height: 1.3; animation: floaty 6s ease-in-out infinite; }
.float-card b { display: block; font-size: .86rem; }
.float-card small { color: var(--muted); font-size: .76rem; }
.float-alert { top: -22px; right: -4%; }
.float-lang { bottom: -10px; left: -6%; animation-delay: -3s; }
.fc-icon { width: 36px; height: 36px; border-radius: 11px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.fc-icon.saf { background: var(--saffron-50); color: var(--saffron-d); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.sample-note { margin-top: 4rem; font-size: .8rem; color: var(--muted); text-align: center; }

/* ---------- "built for" band ---------- */
.band { border-block: 1px solid var(--line); background: #fff; }
.band-in { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.1rem; }
.band-label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); flex: none; }
.marquee { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 2.4rem; width: max-content; animation: scroll 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink-2); white-space: nowrap; }
.marquee-track li::before { content: "✦"; color: var(--saffron); margin-right: 2.4rem; font-size: .8em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- scenes ---------- */
.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.scene { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .8rem; transition: transform .25s ease, box-shadow .25s ease; }
.scene:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scene-time { align-self: flex-start; display: inline-flex; gap: .4rem; align-items: center; font-weight: 800; font-size: .82rem; color: var(--ink-2); background: var(--paper-2); padding: .3rem .7rem; border-radius: 999px; }
.scene h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; }
.scene-pain { color: var(--muted); }
.scene-fix { margin-top: auto; display: flex; gap: .55rem; padding: .85rem 1rem; background: var(--blue-50); color: #1c3f9e; border-radius: 14px; font-size: .94rem; font-weight: 500; }
.scene-fix .ic { color: var(--blue); margin-top: .15em; }
.scenes-note { text-align: center; color: var(--muted); max-width: 40rem; margin: 2rem auto 0; font-size: .98rem; }
.stat-pair { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.stat-pair div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1.6rem; text-align: center; min-width: 180px; }
.stat-pair b { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--blue); line-height: 1.1; }
.stat-pair span { font-size: .85rem; color: var(--muted); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: s; position: relative; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .8rem; position: relative; }
.step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: -.01em; }
.step p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.chips .ic { color: var(--blue); }
.step-time { margin-top: auto; font-size: .85rem; font-weight: 700; color: #a24a08; }
.mini-notif { display: flex; align-items: center; gap: .65rem; margin-top: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: .7rem .8rem; box-shadow: var(--shadow-sm); }
.mini-notif b { display: block; font-size: .88rem; }
.mini-notif small { color: var(--muted); font-size: .78rem; }

/* ---------- tabs ---------- */
.tabs-nav { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.tab-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 14px; font-weight: 700; font-size: .95rem; cursor: pointer; font-family: inherit; transition: all .18s ease; }
.tab-btn .ic { color: var(--muted); transition: color .18s; }
.tab-btn:hover { border-color: #cdbfa8; transform: translateY(-1px); }
.tab-btn[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 10px 20px -10px rgba(14, 23, 38, .5); }
.tab-btn[aria-selected="true"] .ic { color: var(--saffron); }
.tabs.ready .tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tabs:not(.ready) .tab-panel + .tab-panel { margin-top: 3rem; }
.panel-intro { text-align: center; max-width: 46rem; margin: 0 auto 2rem; color: var(--ink-2); font-size: 1.08rem; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem 1.4rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d9cfbe; }
.feat-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: .9rem; }
.feat:nth-child(3n+2) .feat-ic { background: var(--saffron-50); color: var(--saffron-d); }
.feat:nth-child(3n) .feat-ic { background: var(--green-50); color: var(--green); }
.feat h3 { font-size: 1.04rem; font-weight: 800; margin-bottom: .45rem; display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.feat p { color: var(--muted); font-size: .95rem; }
.chip-addon { font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; background: var(--saffron-50); color: #9a5200; border: 1px solid #f7d4a3; padding: .12rem .5rem; border-radius: 999px; }
.chip-addon.free { background: var(--green-50); color: #0b6b3c; border-color: #bde8d0; }

/* ---------- tools (side tabs) ---------- */
.tabs-side { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; align-items: start; }
.tabs-side .tabs-nav { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; margin: 0; gap: .4rem; }
.tabs-side .tab-btn { justify-content: flex-start; text-align: left; width: 100%; }
.tabs-side:not(.ready) { display: block; }
.tabs-side:not(.ready) .tabs-nav { display: none; }
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem; box-shadow: var(--shadow-sm); }
.tool h3 { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: -.01em; margin-bottom: .8rem; }
.tool p { color: var(--muted); font-size: 1.02rem; }
.vis { background: var(--paper); border: 1px dashed #d8ccb7; border-radius: 18px; padding: 1.2rem; min-height: 220px; display: flex; flex-direction: column; justify-content: center; gap: .8rem; position: relative; }
.vis small { color: var(--muted); font-weight: 700; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.vis .sample { position: absolute; right: .9rem; bottom: .6rem; text-transform: none; letter-spacing: 0; font-weight: 600; }
.qr-fake { width: 76px; height: 76px; background: #fff url("/images/qr-sample.svg") center / contain no-repeat; border-radius: 8px; outline: 1px solid var(--line); display: block; }
.qr-fake.sm { width: 46px; height: 46px; }
.vis-table { flex-direction: row; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
.tent { background: #fff; border-radius: 16px; padding: .9rem 1.1rem; text-align: center; box-shadow: var(--shadow); display: grid; gap: .3rem; justify-items: center; transform: rotate(-2deg); }
.tent b { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.tent em { font-style: normal; font-size: .76rem; font-weight: 700; color: var(--blue); }
.order-slip { background: #fffdf2; border: 1px solid #efe4b4; border-radius: 10px; padding: .8rem 1rem; box-shadow: var(--shadow-sm); display: grid; gap: .2rem; font-size: .85rem; transform: rotate(2deg); }
.order-slip b { font-size: 1rem; }
.vis-meal { gap: 1rem; }
.meal-card { background: #fff; border-radius: 14px; padding: .9rem 1rem; box-shadow: var(--shadow-sm); display: grid; gap: .6rem; }
.meal-btns { display: flex; gap: .5rem; }
.meal-btns span { flex: 1; text-align: center; padding: .55rem; border-radius: 10px; font-weight: 700; font-size: .9rem; }
.meal-btns .yes { background: var(--green); color: #fff; } .meal-btns .no { background: var(--paper-2); color: var(--ink-2); }
.meal-count { background: var(--ink); color: #fff; border-radius: 14px; padding: .8rem 1rem; display: flex; align-items: baseline; justify-content: space-between; }
.meal-count small { color: #b8c2d8; } .meal-count b { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--saffron); }
.vis-places { flex-direction: row; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.place { background: #fff; border-radius: 14px; padding: .8rem; display: grid; gap: .3rem; justify-items: center; text-align: center; box-shadow: var(--shadow-sm); min-width: 96px; }
.place small { text-transform: none; letter-spacing: 0; color: var(--green); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.slots span { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .6rem .4rem; text-align: center; font-weight: 700; font-size: .85rem; }
.slots .taken { background: var(--paper-2); color: #a09a8c; text-decoration: line-through; }
.slots .picked { background: var(--green); color: #fff; border-color: var(--green); }
.rank-in { display: flex; align-items: baseline; justify-content: space-between; background: #fff; border-radius: 12px; padding: .7rem 1rem; }
.rank-in b { font-family: var(--serif); font-size: 1.6rem; }
.rank-list { display: grid; gap: .5rem; }
.rank-list li { display: flex; justify-content: space-between; background: #fff; border-radius: 10px; padding: .6rem .9rem; font-size: .9rem; font-weight: 600; }
.rank-list em { font-style: normal; color: var(--green); }
.ad-row { display: grid; grid-template-columns: 120px 1fr auto; gap: .7rem; align-items: center; font-size: .86rem; font-weight: 600; }
.ad-row i { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--blue), #6d8dff); display: block; }
.train-row { display: flex; align-items: center; gap: .7rem; background: #fff; border-radius: 12px; padding: .7rem .9rem; font-size: .9rem; font-weight: 600; }
.train-row .ic { color: var(--blue); }
.train-row em { margin-left: auto; font-style: normal; font-size: .76rem; color: var(--green); font-weight: 700; }

/* ---------- diary ---------- */
.diary-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3.5rem; align-items: center; }
.diary-copy h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 1rem; }
.lead-sm { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.2rem; }
.tick-list { display: grid; gap: .9rem; margin-bottom: 1.4rem; }
.tick-list li { display: flex; gap: .7rem; color: var(--ink-2); }
.tick-list .ic { color: var(--green); margin-top: .2em; }
.diary-price { font-size: 1rem; margin-bottom: .5rem; }
.diary-price span { color: var(--muted); }
.diary-privacy { display: flex; gap: .5rem; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; }
.notebook { position: relative; background: #1d3a8a; border-radius: 22px; padding: 1rem 1rem 1rem 1.4rem; box-shadow: var(--shadow-lg); transform: rotate(-1.5deg); }
.nb-spine { position: absolute; left: 0; top: 0; bottom: 0; width: 20px; border-radius: 22px 0 0 22px; background: repeating-linear-gradient(#10286e 0 14px, #1d3a8a 14px 22px); }
.nb-page { background: #fffdf6; border-radius: 12px; padding: 1.1rem 1.2rem 1.3rem; background-image: repeating-linear-gradient(transparent 0 33px, #e6dfcc 33px 34px); }
.nb-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .5rem; margin-bottom: .2rem; border-bottom: 2px solid #d9cfb4; font-family: var(--serif); }
.nb-head span { font-family: var(--font); font-weight: 800; color: var(--green); font-size: .9rem; }
.nb-line { display: flex; justify-content: space-between; height: 34px; align-items: center; font-size: .93rem; }
.nb-line b.inc, .nb-chips .inc b { color: var(--green); } .nb-line b.exp, .nb-chips .exp b { color: var(--red); }
.nb-ai { margin-top: .9rem; display: flex; gap: .5rem; background: var(--blue-50); color: #1c3f9e; border-radius: 10px; padding: .6rem .8rem; font-size: .8rem; font-weight: 600; background-image: none; }
.nb-ai .ic { color: var(--blue); margin-top: .1em; }
.nb-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-top: 1.2rem; }
.nb-chips > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .7rem .9rem; box-shadow: var(--shadow-sm); }
.nb-chips small { display: block; color: var(--muted); font-weight: 700; font-size: .72rem; }
.nb-chips b { font-family: var(--serif); font-size: 1.25rem; }
.nb-chips .prof b { color: var(--blue); }

/* ---------- industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.ind-grid a { display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .85rem 1rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.ind-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d8ff; }
.ind-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.ind-grid li:nth-child(3n+2) .ind-ic { background: var(--saffron-50); color: var(--saffron-d); }
.ind-grid li:nth-child(3n) .ind-ic { background: var(--green-50); color: var(--green); }
.ind-grid b { font-size: .95rem; font-weight: 700; flex: 1; line-height: 1.25; }
.ind-grid .go { color: #b7ad9a; transition: transform .2s, color .2s; }
.ind-grid a:hover .go { color: var(--blue); transform: translateX(3px); }

/* ---------- testimonials ---------- */
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.t-grid.t-count-1 { max-width: 640px; margin: 0 auto; grid-template-columns: 1fr; }
.t-grid.t-count-2 { max-width: 860px; margin: 0 auto; grid-template-columns: 1fr 1fr; }
.t-grid.t-count-3 { grid-template-columns: 1fr 1fr; }
.t-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.7rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow-sm); position: relative; }
.t-card::before { content: "“"; position: absolute; top: .4rem; right: 1.3rem; font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--saffron-50); pointer-events: none; }
.t-feature { grid-column: 1 / -1; background: var(--ink); color: #fff; border-color: var(--ink); }
.t-feature::before { color: rgba(255, 255, 255, .08); }
.t-feature blockquote { font-size: 1.35rem; max-width: 52rem; }
.t-stars { display: flex; gap: 2px; color: #d7cdb8; }
.t-stars .ic { width: 1.05rem; height: 1.05rem; } .t-stars .ic.on { color: var(--saffron); fill: var(--saffron); }
.t-card blockquote { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.55; font-weight: 500; }
.t-card figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.t-card figcaption strong { display: block; font-size: .95rem; }
.t-card figcaption small { color: var(--muted); font-size: .82rem; }
.t-feature figcaption small { color: #b8c2d8; }
.t-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.t-initial { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem 1.7rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.price-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; }
.price-for { color: var(--muted); margin-top: .2rem; font-size: .94rem; }
.price-amt { font-family: var(--serif); font-weight: 600; font-size: 3.4rem; letter-spacing: -.03em; margin: 1rem 0; line-height: 1; }
.price-card ul { display: grid; gap: .6rem; margin-bottom: 1.6rem; flex: 1; align-content: start; }
.price-card li { display: flex; gap: .55rem; font-size: .93rem; color: var(--ink-2); }
.price-card li .ic { color: var(--green); margin-top: .2em; }
.price-card li.no { color: #a49c8c; } .price-card li.no .ic { color: #c8bfae; }
.price-card li small { opacity: .65; }
.price-note { font-size: .8rem; margin-top: .9rem; text-align: center; opacity: .75; }
.price-card.popular { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.price-card.popular .price-for { color: #b8c2d8; } .price-card.popular li { color: #e4e9f5; } .price-card.popular li .ic { color: #5be09a; }
.popular-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--saffron); color: #1f1300; font-weight: 800; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.fold > summary { list-style: none; cursor: pointer; }
.addons-title { font-family: var(--serif); font-weight: 600; text-align: center; font-size: 1.4rem; margin: 3.5rem 0 1.2rem; display: flex; align-items: center; justify-content: center; gap: .6rem; }
.addons-title .ic { color: var(--muted); transition: transform .25s ease; }
.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .8rem; }
.addon { display: flex; gap: .8rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; }
.addon > .ic { color: var(--blue); margin-top: .1em; }
.addon b { display: block; font-size: .95rem; }
.addon small { color: var(--muted); font-size: .84rem; line-height: 1.4; display: block; }
.policy { margin-top: 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; }
.policy > summary { display: flex; align-items: center; justify-content: center; gap: .6rem; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; }
.policy > summary .ic { color: var(--muted); transition: transform .25s ease; }
.policy[open] > summary { margin-bottom: 1rem; }
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.policy-grid b { display: block; margin-bottom: .2rem; }
.policy-grid p { color: var(--muted); font-size: .92rem; }
.exclusive { margin-top: 2rem; display: flex; align-items: center; gap: 1.4rem; background: linear-gradient(135deg, var(--saffron-50), #ffe9c4); border: 1px solid #f5cf93; border-radius: 24px; padding: 1.8rem 2rem; }
.exclusive-ic { width: 54px; height: 54px; flex: none; border-radius: 16px; background: #fff; color: var(--saffron-d); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.exclusive h3 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin-bottom: .4rem; color: #5c3200; }
.exclusive p { color: #6b4300; }
.exclusive .exclusive-note { font-size: .84rem; margin-top: .5rem; opacity: .8; }
.exclusive .btn { flex: none; }

/* ---------- about ---------- */
.about-story { max-width: 820px; margin: 0 auto; font-size: 1.12rem; color: var(--ink-2); }
.about-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.6rem; }
.about-facts li { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); padding: .5rem .95rem; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.about-facts .ic { color: var(--blue); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 3rem; }
.mv { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; }
.mv h3 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; margin: .3rem 0 .7rem; letter-spacing: -.01em; }
.mv p { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.value { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; }
.value > .ic { width: 1.6rem; height: 1.6rem; color: var(--blue); margin-bottom: .6rem; display: block; }
.value b { display: block; margin-bottom: .3rem; font-size: 1.02rem; }
.value p { color: var(--muted); font-size: .93rem; }
.roadmap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.25rem; }
.road { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.7rem; }
.road summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; font-weight: 800; }
.road summary::-webkit-details-marker, .fold > summary::-webkit-details-marker { display: none; }
.road[open] summary { margin-bottom: 1rem; }
.road.live summary > .ic:first-child { color: var(--green); } .road.next summary > .ic:first-child { color: var(--saffron-d); }
.chev { margin-left: auto; color: var(--muted); transition: transform .25s ease; }
.road[open] .chev, .fold[open] > summary > .ic { transform: rotate(180deg); }
.road li { padding: .5rem 0 .5rem 1.3rem; position: relative; border-bottom: 1px dashed var(--line); font-size: .94rem; color: var(--ink-2); }
.road li:last-child { border-bottom: 0; }
.road li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.road.next li::before { background: var(--saffron); }
.tag { font-style: normal; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: .1rem .5rem; border-radius: 999px; margin-left: .3rem; white-space: nowrap; }
.tag.soon { background: var(--blue-50); color: var(--blue-d); } .tag.exploring { background: var(--paper-2); color: var(--muted); }
.road-note { margin-top: 1rem; font-size: .88rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .7rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: #c9d8ff; box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 700; font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { color: var(--muted); transition: transform .25s ease; }
.faq-item[open] summary .ic { transform: rotate(180deg); color: var(--blue); }
.faq-a { padding: 0 1.3rem 1.3rem; color: var(--muted); font-size: .98rem; animation: fadeUp .3s ease both; }
.faq-a a { color: var(--blue); font-weight: 700; }

/* ---------- final CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; text-align: center; padding: 5.5rem 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 15% 0, rgba(36, 87, 230, .5), transparent 70%), radial-gradient(500px 300px at 90% 100%, rgba(240, 138, 30, .35), transparent 70%); }
.cta-band .wrap { position: relative; }
.cta-band h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.02em; }
.cta-band p { color: #c9d2e6; margin: 1rem auto 2rem; max-width: 36rem; font-size: 1.1rem; }
.cta-band .cta-fine { font-size: .86rem; margin: 1.2rem auto 0; opacity: .75; }

/* ---------- footer ---------- */
.site-footer { background: #0a1220; color: #aab4cb; padding: 4rem 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { display: block; padding: .25rem 0; color: #aab4cb; text-decoration: none; font-size: .94rem; }
.site-footer a:hover { color: #fff; }
.foot-brand p { margin: .9rem 0 0; font-size: .94rem; }
.foot-brand .brand { display: inline-flex; padding: 0; }
.foot-brand .brand-word .b1 { color: #7fa2ff; }
.foot-small { font-size: .84rem !important; opacity: .75; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.foot-bottom .made { color: var(--saffron); font-weight: 700; }

/* ---------- inner pages: heading band, prose, cards ---------- */
.page-hero { text-align: center; padding: 4rem 0 2.5rem; background: radial-gradient(700px 300px at 50% -20%, rgba(36, 87, 230, .12), transparent 70%); }
.page-hero p { color: var(--muted); max-width: 40rem; margin: 1rem auto 0; font-size: 1.1rem; }
.page-hero .pill { margin-bottom: 1.2rem; }
.prose { max-width: 780px; margin: 0 auto; padding-bottom: 4rem; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; margin: 2.6rem 0 .8rem; letter-spacing: -.01em; }
.prose h3 { font-size: 1.1rem; font-weight: 800; margin: 1.8rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin: .8rem 0; }
.prose ul { list-style: disc; padding-left: 1.4rem; margin: .8rem 0; display: grid; gap: .35rem; }
.prose ol { list-style: decimal; padding-left: 1.4rem; margin: .8rem 0; display: grid; gap: .35rem; }
.prose a { color: var(--blue); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.prose th, .prose td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.prose code { background: var(--paper-2); padding: .1rem .4rem; border-radius: 6px; font-size: .9em; }
.prose pre { background: #0e1726; color: #e4e9f5; padding: 1rem 1.2rem; border-radius: 14px; overflow-x: auto; font-size: .88rem; }
.prose pre code { background: none; padding: 0; color: inherit; }
.updated { color: var(--muted); font-size: .9rem; }
.note-box { background: var(--saffron-50); border: 1px solid #f5cf93; color: #6b4300; border-radius: 14px; padding: 1rem 1.2rem; margin: 1.2rem 0; }

/* ---------- auth pages ---------- */
.auth { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 2.5rem 1.2rem 4rem; background: radial-gradient(700px 400px at 80% 0, rgba(36, 87, 230, .1), transparent 70%), radial-gradient(600px 400px at 0 100%, rgba(240, 138, 30, .1), transparent 70%); }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 2.2rem 2rem; box-shadow: var(--shadow); }
.auth-card h1 { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; letter-spacing: -.02em; text-align: center; }
.auth-card .sub { color: var(--muted); text-align: center; margin: .4rem 0 1.6rem; }
.auth-logo { display: grid; place-items: center; margin-bottom: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 12px; font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36, 87, 230, .14); }
.form-error { background: #fdecec; color: #9b1c1c; border: 1px solid #f6c5c5; border-radius: 12px; padding: .75rem 1rem; margin-bottom: 1rem; font-size: .92rem; }
.form-ok { background: var(--green-50); color: #0b6b3c; border: 1px solid #bde8d0; border-radius: 12px; padding: .75rem 1rem; margin-bottom: 1rem; font-size: .92rem; }
.plan-name { color: var(--blue); }
.auth-fine { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.auth-fine a { color: var(--blue); font-weight: 700; }
.auth-links { text-align: center; margin-top: 1.3rem; display: grid; gap: .5rem; font-size: .93rem; color: var(--muted); }
.auth-links a { color: var(--blue); font-weight: 700; text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.hp { position: absolute; left: -9999px; }

/* ---------- legal pages (privacy, terms, API docs) ---------- */
.legal-page { padding: 3rem 1.2rem 5rem; }
.legal-box { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 3rem clamp(1.3rem, 5vw, 3.2rem); box-shadow: var(--shadow-sm); }
.legal-title { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.5vw, 2.9rem); letter-spacing: -.02em; }
.legal-date { color: var(--muted); font-size: .92rem; margin-top: .5rem; }
.legal-body { margin-top: 1.5rem; }
.legal-section { padding-top: 1.6rem; margin-top: 1.6rem; border-top: 1px solid var(--line); }
.legal-section:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.legal-section h2 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; margin-bottom: .7rem; letter-spacing: -.01em; }
.legal-section h3 { font-size: 1rem; font-weight: 800; margin: 1.1rem 0 .4rem; }
.legal-section p { color: var(--ink-2); margin: .6rem 0; }
.legal-section ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .35rem; margin: .6rem 0; }
.legal-section li { color: var(--ink-2); }
.legal-section a { color: var(--blue); font-weight: 600; }
.legal-section code { background: var(--paper-2); padding: .1rem .4rem; border-radius: 6px; font-size: .9em; overflow-wrap: anywhere; }
.legal-section pre { background: #0e1726; color: #e4e9f5; padding: 1rem 1.2rem; border-radius: 14px; overflow-x: auto; font-size: .86rem; }
.legal-table-wrap { overflow-x: auto; margin: 1rem 0; border-radius: 14px; border: 1px solid var(--line); }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 420px; }
.legal-table th { background: var(--paper-2); padding: .75rem 1rem; text-align: left; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.legal-table td { padding: .75rem 1rem; color: var(--ink-2); border-top: 1px solid var(--line); }
.legal-table-highlight td { background: var(--saffron-50); }
.legal-note { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 14px; padding: 1rem 1.2rem; font-size: .92rem; color: #1c3f9e; margin: 1rem 0; }

/* ---------- 404 / 500 ---------- */
.lost { min-height: 62vh; display: grid; align-items: center; padding: 4rem 0; }
.lost-code { font-family: var(--serif); font-weight: 700; font-size: clamp(4.5rem, 14vw, 8rem); line-height: 1; color: var(--blue); letter-spacing: -.04em; }
.lost h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.5rem); margin: .8rem 0; }
.lost-sub { color: var(--muted); max-width: 32rem; margin: 0 auto 1.8rem; font-size: 1.05rem; }
.lost-sub a { color: var(--blue); font-weight: 700; }

/* ---------- blog + faq pages ---------- */
.post-list { display: grid; gap: 1rem; max-width: 820px; margin: 0 auto; padding-bottom: 4rem; }
.post-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1.7rem; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d8ff; }
.post-card h2 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: -.01em; margin-bottom: .5rem; }
.post-card p { color: var(--muted); }
.post-card .more { display: inline-flex; gap: .35rem; align-items: center; margin-top: .8rem; color: var(--blue); font-weight: 700; font-size: .92rem; }
.jump-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2rem; }
.jump-links a { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--line); color: var(--ink-2); padding: .45rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 700; text-decoration: none; transition: all .15s; }
.jump-links a:hover { border-color: #c9d8ff; color: var(--blue-d); background: var(--blue-50); }
.jump-links .ic { color: var(--blue); }
.faq-cat { margin: 2.5rem 0 1rem; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; display: flex; align-items: center; gap: .6rem; }
.faq-cat .ic { color: var(--blue); }

/* ---------- blog post ---------- */
.back-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .92rem; }
.post-title { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.02em; line-height: 1.12; margin: 1rem 0 1.5rem; }
.post-body { padding-bottom: 1rem; }
.post-body p { font-size: 1.1rem; line-height: 1.8; }
.post-body h2 { margin-top: 2.4rem; }
.post-cta { margin-top: 2.5rem; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem 1.5rem; box-shadow: var(--shadow-sm); }
.post-cta p { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 1.2rem; }

/* ---------- industry pages ---------- */
.v-hero h1 { max-width: 16em; margin-inline: auto; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.v-scenarios { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; }
.v-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; }
.v-card .feat-ic { margin-bottom: .8rem; }
.v-card h3 { font-weight: 800; margin-bottom: .4rem; }
.v-card p { color: var(--muted); font-size: .95rem; }
.v-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.v-big { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.8vw, 2.7rem); letter-spacing: -.02em; }
.v-lead { margin-top: 1.1rem; font-size: 1.15rem; color: var(--ink-2); }
.v-price { max-width: 820px; margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v-split h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.02em; margin-bottom: 1rem; }
.v-split p { color: var(--ink-2); font-size: 1.05rem; }

/* ---------- scroll reveal ---------- */
.js-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js-ready .reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav, .link-login { display: none; }
  .menu-btn { display: inline-flex; }
  .bar-cta { margin-left: auto; }
  .bar-cta .btn { display: none; }
  .menu-btn { margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero { padding-top: 3rem; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .cta-row, .trust-row { justify-content: center; }
  .float-alert { right: 2%; } .float-lang { left: 2%; }
  .diary-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .tabs-side { grid-template-columns: 1fr; }
  .tabs-side .tabs-nav { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; margin-bottom: 1rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .tabs-side .tab-btn { width: auto; white-space: nowrap; flex: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 4rem 0; }
  .price-grid, .mv-grid, .roadmap, .policy-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .price-card.popular { transform: none; order: -1; }
  .tool { grid-template-columns: 1fr; padding: 1.4rem; }
  .exclusive { flex-direction: column; text-align: center; align-items: center; }
  .v-split { grid-template-columns: 1fr; }
  .tabs:not(.tabs-side) .tabs-nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: .4rem; scrollbar-width: thin; }
  .tabs:not(.tabs-side) .tab-btn { flex: none; white-space: nowrap; }
  .band-in { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .marquee { width: 100%; }
}
@media (max-width: 860px) {
  .ind-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .ind-grid a { padding: .7rem .75rem; gap: .55rem; }
  .ind-grid .go { display: none; }
  .ind-ic { width: 34px; height: 34px; border-radius: 10px; }
  .ind-grid b { font-size: .86rem; }
  .addons { grid-template-columns: 1fr 1fr; }
  .price-card { padding: 1.5rem 1.3rem; }
  .price-card ul { gap: .45rem; }
  .price-amt { font-size: 2.8rem; margin: .6rem 0; }
  .exclusive { padding: 1.4rem 1.2rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .scenes, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  /* On phones the card rows become swipeable rows (the next card peeks in as the hint) instead of one very long column. */
  .scenes, .steps, .feat-grid, .values, .t-grid:not(.t-count-1) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; padding: 4px 1.1rem 1.1rem; margin-inline: -1.1rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .scenes::-webkit-scrollbar, .steps::-webkit-scrollbar, .feat-grid::-webkit-scrollbar, .values::-webkit-scrollbar, .t-grid::-webkit-scrollbar { display: none; }
  .scenes > *, .steps > *, .values > *, .t-grid:not(.t-count-1) > * { flex: 0 0 84%; scroll-snap-align: center; }
  .feat-grid > * { flex: 0 0 80%; scroll-snap-align: center; }
  .t-feature { flex-basis: 88%; }
  .t-grid.t-count-2, .t-grid.t-count-3 { grid-template-columns: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 1.1rem; }
  .hero h1 { font-size: 2.3rem; }
  .squiggle { white-space: normal; }
  .lead { font-size: 1.05rem; }
  .btn-lg { width: 100%; }
  .float-card { display: none; }
  .phone { transform: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .foot-grid { gap: 1.6rem 1rem; }
  .addons { grid-template-columns: 1fr; }
  .nb-chips b { font-size: 1rem; }
  .ad-row { grid-template-columns: 96px 1fr auto; }
  .auth-card { padding: 1.7rem 1.3rem; }
  .t-feature blockquote { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { flex-wrap: wrap; width: auto; animation: none; justify-content: center; }
  .marquee-track li[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .js-ready .reveal { opacity: 1; transform: none; }
}
