/* 2S Studio by 2S Development — site styles.
   Tokens and type scale match the approved Framer design; breakpoints: desktop ≥1200, tablet 810–1199, phone <810. */
@import url("/assets/fonts/fonts.css");

:root {
  --bg: #f6f5f1;
  --bg2: #eceae4;
  --bg3: #e0ddd5;
  --white: #ffffff;
  --ink: #0d0d0e;
  --ink-raised: #1b1b1d;
  --ink-muted: #2a2a2d;
  --text: #0d0d0e;
  --text2: rgba(13, 13, 14, 0.68);
  --text3: rgba(13, 13, 14, 0.52);
  --inv: #f6f5f1;
  --inv2: rgba(246, 245, 241, 0.68);
  --border: rgba(13, 13, 14, 0.1);
  --border-strong: rgba(13, 13, 14, 0.2);
  --border-inv: rgba(246, 245, 241, 0.14);
  --accent: #b09a6d;
  --accent-hover: #9a8457;
  --accent-subtle: #efe8d8;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --gutter: 40px;
  --section-y: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--inv); text-decoration: none; }
.skip:focus { left: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.t-hero { font-weight: 500; font-size: 84px; line-height: 1; letter-spacing: -0.05em; }
.t-h1 { font-weight: 500; font-size: 72px; line-height: 1; letter-spacing: -0.05em; }
.t-h2 { font-weight: 500; font-size: 56px; line-height: 1.04; letter-spacing: -0.04em; }
.t-card { font-weight: 500; font-size: 26px; line-height: 1.15; letter-spacing: -0.025em; }
.t-lead { font-size: 20px; line-height: 1.5; letter-spacing: -0.01em; color: var(--text2); }
.t-body { font-size: 16px; line-height: 1.5; color: var(--text2); }
.t-small { font-size: 14px; line-height: 1.5; color: var(--text2); }
.t-mono { font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text3); }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: background-color .25s ease, border-color .25s ease, transform .25s ease; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--ink); color: var(--inv); }
.btn-primary:hover { background: var(--ink-muted); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--bg2); border-color: var(--text); }
.btn-light { background: var(--white); color: var(--text); }
.btn-light:hover { background: var(--bg2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Layout */
.section { padding: var(--section-y) var(--gutter); }
.container { width: 100%; max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.fill-white { background: var(--white); }
.fill-bg { background: var(--bg); }
.fill-ink { background: var(--ink); color: var(--inv); }
.fill-ink .t-mono { color: var(--inv2); }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.head-title { display: flex; flex-direction: column; gap: 16px; max-width: 700px; }
.head-side { width: 380px; flex: none; font-size: 16px; line-height: 1.5; color: var(--text2); }
.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: 1 / -1; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246, 245, 241, 0.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 32px; max-width: 1440px; margin: 0 auto; }
.brand img { width: 57px; height: 52px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a, .nav-my { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text2); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-my { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-menu { display: none; }
.nav-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: 18px; height: 18px; }
.nav-menu[open] .menu-panel { display: flex; }
.menu-panel { display: none; position: absolute; right: 16px; top: calc(100% - 4px); min-width: 240px; flex-direction: column; gap: 4px; padding: 10px; border-radius: 20px; background: var(--white); border: 1px solid var(--border); box-shadow: 0 30px 60px -30px rgba(13, 13, 14, 0.35); }
.menu-panel a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--bg); }

/* Footer */
.footer { background: var(--ink); color: var(--inv); padding: 72px var(--gutter) 40px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; }
.footer-brand { width: 280px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { width: 129px; height: 88px; }
.footer-brand p { font-size: 14px; color: var(--inv2); }
.footer-cols { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 120px; }
.footer-col .t-mono { color: var(--inv2); }
.footer-col a { font-size: 14px; text-decoration: none; color: var(--inv); }
.footer-col a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-rule { height: 1px; background: var(--border-inv); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--inv2); }
.footer-bottom a { color: var(--inv); text-decoration: none; }

/* Home hero */
.hero { position: relative; overflow: clip; padding: 80px var(--gutter) 88px; }
.hero-glow { position: absolute; inset: -160px 0 auto 0; height: 820px; background: radial-gradient(42% 46% at 50% 42%, rgba(176, 154, 109, 0.2) 0%, rgba(176, 154, 109, 0.06) 55%, rgba(176, 154, 109, 0) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 28px; max-width: 1120px; margin: 0 auto; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); }
.chip .t-mono { color: var(--text2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.hero h1 { max-width: 760px; text-align: center; }
.hero .t-lead { max-width: 640px; text-align: center; }
.hero-phone { position: absolute; z-index: 0; width: 176px; height: 383px; border-radius: 30px; border: 1px solid var(--border-strong); object-fit: cover; box-shadow: 0 30px 60px -30px rgba(13, 13, 14, 0.35); }
.hero-phone.left { left: max(28px, calc(50% - 572px)); top: 290px; transform: rotate(-5deg); }
.hero-phone.right { right: max(28px, calc(50% - 572px)); top: 230px; transform: rotate(5deg); }
.tray { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 6px; border-radius: 18px; background: rgba(255, 255, 255, 0.55); border: 1px solid var(--border); }
.tray a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px 10px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color .2s ease; }
.tray a:hover { background: var(--white); }
.tray svg { width: 18px; height: 18px; color: var(--text2); }

/* App preview */
.center-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.center-head h2 { max-width: 760px; }
.center-head .t-lead { max-width: 640px; }
.shot { width: 100%; border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 50px 90px -50px rgba(27, 28, 25, 0.45); }
.milestones { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-width: 1040px; margin: 0 auto; width: 100%; }
.milestones li { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 14px; white-space: nowrap; }
.milestones .on { background: var(--text); }
.milestones .off { background: var(--border-strong); }

/* Ticker */
.ticker { overflow: hidden; padding: 0 0 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker.reverse .ticker-track { animation-direction: reverse; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-run { display: flex; flex: none; }
.ticker-run span { display: inline-flex; align-items: center; gap: 0.42em; padding-right: 0.42em; white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: 72px; line-height: 1.15; letter-spacing: -0.01em; color: rgba(13, 13, 14, 0.86); }
.ticker-run span::after { content: ""; width: 0.14em; height: 0.14em; border-radius: 50%; background: var(--accent); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Cards */
.ocard { display: flex; flex-direction: column; padding: 10px; border-radius: 24px; background: var(--white); border: 1px solid var(--border); text-decoration: none; transition: border-color .3s ease, box-shadow .3s ease; height: 100%; }
.ocard:hover { border-color: var(--border-strong); box-shadow: 0 30px 60px -36px rgba(13, 13, 14, 0.35); }
.ocard-media { height: 230px; border-radius: 16px; object-fit: cover; width: 100%; }
.ocard-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 12px 12px; }
.ocard-meta { display: flex; justify-content: space-between; align-items: center; }
.ocard-meta svg { width: 18px; height: 18px; color: var(--text3); transition: color .3s ease; }
.ocard:hover .ocard-meta svg { color: var(--text); }
.ocard.wide { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 8px; }
.ocard.wide .ocard-body { padding: 24px 22px; gap: 14px; }
.ocard.wide .ocard-media { height: 380px; }
.step { display: flex; flex-direction: column; gap: 20px; }
.step img { width: 100%; height: 202px; object-fit: cover; border-radius: 18px; border: 1px solid var(--border); }
.step-body { display: flex; flex-direction: column; gap: 8px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 24px; background: var(--white); border: 1px solid var(--border); height: 100%; }
.card.on-bg { background: var(--bg); }
.card.on-bg2 { background: var(--bg2); }
.card.dark { background: var(--ink); color: var(--inv); border-color: var(--border-inv); }
.card.dark .t-small, .card.dark .t-mono { color: var(--inv2); }
.card .price { font-size: 20px; line-height: 1.5; letter-spacing: -0.01em; }
.card ul { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.card li svg { width: 16px; height: 16px; margin-top: 3px; flex: none; color: var(--accent); }
.card.dark li svg { color: var(--inv2); }
.card .t-small.note { color: var(--text3); }

/* Agent section */
.agent-row { display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; }
.agent-story { display: flex; flex-direction: column; gap: 28px; }
.agent-story .t-lead, .agent-story .t-small { color: var(--inv2); }
.abilities { display: flex; flex-direction: column; gap: 18px; }
.abilities li { display: flex; gap: 14px; align-items: flex-start; }
.ability-icon { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-inv); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ability-icon svg { width: 18px; height: 18px; }
.abilities strong { display: block; font-weight: 400; font-size: 16px; }
.abilities span { font-size: 14px; color: var(--inv2); }
.chat-mock { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 26px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-inv); }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; }
.chat-head img { width: 36px; height: 36px; border-radius: 50%; }
.chat-head div { flex: 1; }
.chat-head small { display: block; font-size: 14px; color: var(--inv2); }
.chat-head svg { width: 20px; height: 20px; color: var(--inv2); }
.bubble-row { display: flex; gap: 10px; align-items: flex-end; }
.bubble-row img { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.bubble { max-width: 340px; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: rgba(255, 255, 255, 0.08); font-size: 14px; line-height: 1.5; }
.bubble-row.me { justify-content: flex-end; }
.bubble-row.me .bubble { background: var(--white); color: var(--text); border-radius: 18px 18px 6px 18px; }
.confirm { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 16px; background: var(--white); color: var(--text); }
.confirm small { display: block; font-size: 14px; color: var(--text2); }
.confirm span { padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--inv); font-size: 15px; font-weight: 500; }

/* Page hero (inner pages) */
.page-hero { padding: 72px var(--gutter) 88px; }
.page-hero-row { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 520px; gap: 56px; align-items: center; }
.page-hero-text { display: flex; flex-direction: column; gap: 24px; }
.page-hero-text .t-lead { max-width: 560px; }
.page-hero-img { width: 100%; height: 560px; object-fit: cover; border-radius: 28px; border: 1px solid var(--border); }

/* Role rows (Network) */
.role-row { display: grid; grid-template-columns: 1fr 500px; gap: 64px; align-items: center; }
.role-row.reverse { grid-template-columns: 500px 1fr; }
.role-row.reverse .role-img { order: -1; }
.role-text { display: flex; flex-direction: column; gap: 22px; }
.role-img { width: 100%; height: 520px; object-fit: cover; border-radius: 28px; border: 1px solid var(--border); }
.facts { border: 1px solid var(--border); border-radius: 18px; background: var(--white); }
.facts div { display: flex; gap: 20px; padding: 16px 20px; }
.facts div + div { border-top: 1px solid var(--border); }
.facts dt { width: 80px; flex: none; }
.facts dd { margin: 0; font-size: 14px; color: var(--text); }

/* Mosaic closing block */
.mosaic-cta { position: relative; overflow: clip; padding: 128px var(--gutter); display: flex; justify-content: center; background: var(--bg); }
.mosaic { position: absolute; inset: 0; padding: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; pointer-events: none; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.panel { position: relative; z-index: 1; width: 100%; max-width: 820px; display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 96px 40px; border-radius: 36px; background: var(--ink); color: var(--inv); text-align: center; box-shadow: 0 50px 100px -40px rgba(18, 18, 18, 0.65); overflow: clip; }
.panel.wide { max-width: 920px; padding: 104px 40px 88px; }
.panel .t-lead { color: var(--inv2); max-width: 580px; }
.panel .t-mono { color: var(--inv2); }
.panel-glow { position: absolute; inset: -260px 0 auto 0; height: 760px; background: radial-gradient(40% 45% at 50% 50%, rgba(176, 154, 109, 0.3) 0%, rgba(176, 154, 109, 0.08) 55%, rgba(176, 154, 109, 0) 100%); pointer-events: none; }
.panel > *:not(.panel-glow) { position: relative; }
.contact-line { font-size: 14px; color: var(--inv2); }
.contact-line a { color: var(--inv); text-decoration: none; }

/* Brief form */
.brief { width: 100%; max-width: 760px; text-align: left; }
.brief-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 28px; background: var(--white); border: 1px solid var(--border); box-shadow: 0 1px 0 rgba(13, 13, 14, 0.04), 0 40px 80px -36px rgba(13, 13, 14, 0.32); color: var(--text); }
.brief-card label.top { padding: 4px 10px 0; }
.brief-card .t-mono { color: var(--text3); }
.brief textarea { width: 100%; min-height: 128px; resize: vertical; border: 0; outline: none; background: transparent; font-size: 21px; line-height: 1.45; letter-spacing: -0.01em; padding: 8px 10px; border-radius: 14px; }
.brief textarea::placeholder, .brief input::placeholder { color: var(--text3); }
.brief textarea:focus-visible { background: rgba(246, 245, 241, 0.7); box-shadow: 0 0 0 2px var(--accent-subtle); }
.brief-bar { display: flex; align-items: center; gap: 12px; }
.brief select { appearance: none; height: 48px; padding: 0 36px 0 16px; border-radius: 999px; border: 0; background: var(--bg2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0e' stroke-opacity='.6' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; font-size: 15px; cursor: pointer; }
.brief-email { flex: 1; display: flex; align-items: center; gap: 12px; padding-left: 10px; min-width: 0; }
.brief-email input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--bg2); font-size: 15px; }
.brief-email input:focus-visible { background: var(--white); box-shadow: 0 0 0 2px var(--accent); outline: none; }
.send { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--accent); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; transition: background-color .2s ease; }
.send:hover { background: var(--accent-hover); }
.send:disabled { background: var(--border-strong); cursor: default; }
.send svg { width: 20px; height: 20px; }
.brief-status { min-height: 20px; margin-top: 12px; font-size: 14px; text-align: center; }
.panel .brief-status { color: var(--inv2); }
.brief .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Contact */
.contact-row { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; max-width: 1120px; margin: 0 auto; width: 100%; }
.details { display: flex; flex-direction: column; gap: 22px; padding: 28px; border-radius: 24px; background: var(--white); border: 1px solid var(--border); }
.details div { display: flex; gap: 14px; }
.details svg { width: 20px; height: 20px; color: var(--text2); flex: none; margin-top: 2px; }
.details a, .details p { font-size: 16px; text-decoration: none; color: var(--text); }

/* Legal */
.legal-head { padding: 88px var(--gutter) 48px; }
.legal-head .container { gap: 18px; }
.draft-chip { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 12px 7px 10px; border-radius: 999px; background: var(--accent-subtle); }
.legal-body { padding: 0 var(--gutter) 128px; }
.legal-grid { max-width: 1136px; margin: 0 auto; display: grid; grid-template-columns: 296px 1fr; gap: 72px; align-items: start; }
.legal-side { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 96px; }
.legal-docs { padding: 20px 12px 12px; border-radius: 20px; background: var(--bg2); display: flex; flex-direction: column; gap: 4px; }
.legal-docs .t-mono { padding: 0 12px 8px; }
.legal-docs a { padding: 10px 12px; border-radius: 12px; text-decoration: none; font-size: 14px; }
.legal-docs a[aria-current="page"], .legal-docs a:hover { background: var(--white); }
.legal-q { padding: 24px; border-radius: 20px; background: var(--ink); color: var(--inv); display: flex; flex-direction: column; gap: 14px; }
.legal-q .t-mono { color: var(--inv2); }
.legal-q a { color: var(--inv); }
.legal-main { display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.in-short { padding: 28px; border-radius: 24px; background: var(--bg2); display: flex; flex-direction: column; gap: 14px; }
.in-short li { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--white); font-size: 14px; }
.in-short li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent); }
.prose { max-width: 680px; font-size: 17px; line-height: 1.6; color: var(--text2); }
.prose h2 { margin: 40px 0 12px; font-size: 28px; line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; color: var(--text); }
.prose p { margin: 0 0 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); font-weight: 500; }

/* 404 */
.notfound { padding: 160px var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }

/* Scroll-in motion (only when JS runs and the visitor hasn't asked for reduced motion) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, 0, 0, 1), transform .8s cubic-bezier(.2, 0, 0, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2, 0, 0, 1), transform .8s cubic-bezier(.2, 0, 0, 1); }
.js [data-stagger].in > * { opacity: 1; transform: none; }
.js .mosaic[data-stagger] > * { transform: scale(1.04); }
.js .mosaic[data-stagger].in > * { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Tablet */
@media (max-width: 1199px) {
  :root { --gutter: 32px; --section-y: 96px; }
  .t-hero { font-size: 62px; }
  .t-h1 { font-size: 54px; }
  .t-h2 { font-size: 44px; }
  .t-card { font-size: 24px; }
  .t-lead { font-size: 19px; }
  .t-mono { font-size: 13px; }
  .nav-links, .nav-my { display: none; }
  .nav-menu { display: block; }
  .nav-inner { padding: 12px 24px; position: relative; }
  .head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .head-side { width: 100%; max-width: 560px; }
  .container { gap: 40px; }
  .cols-3.t2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-phone { display: none; }
  .hero { padding: 72px var(--gutter) 64px; }
  .milestones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ticker-run span { font-size: 56px; }
  .agent-row { grid-template-columns: 1fr; gap: 48px; }
  .agent-row .chat-mock { max-width: 520px; }
  .page-hero { padding: 56px var(--gutter) 72px; }
  .page-hero-row, .role-row, .role-row.reverse { grid-template-columns: 1fr; gap: 40px; }
  .role-row.reverse .role-img { order: 0; }
  .page-hero-img, .role-img { height: 420px; }
  .mosaic-cta { padding: 96px 24px; }
  .panel { padding: 80px 32px; }
  .contact-row { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; gap: 40px; }
  .legal-side { position: static; }
  .footer-top { flex-direction: column; }
}

/* Phone */
@media (max-width: 809px) {
  :root { --gutter: 16px; --section-y: 72px; }
  .t-hero { font-size: 44px; }
  .t-h1 { font-size: 40px; }
  .t-h2 { font-size: 34px; }
  .t-card { font-size: 22px; }
  .t-lead { font-size: 17px; }
  .t-mono { font-size: 12px; }
  .nav-inner { padding: 12px 16px; }
  .nav-right .btn { padding: 12px 16px; }
  .container { gap: 32px; }
  .cols-2, .cols-3, .cols-3.t2, .cols-4 { grid-template-columns: 1fr; }
  .span-2, .span-3 { grid-column: auto; }
  .ocard.wide { display: flex; }
  .ocard.wide .ocard-media { height: 230px; order: -1; }
  .ocard.wide .ocard-body { padding: 18px 12px 12px; }
  .hero { padding: 48px var(--gutter) 56px; }
  .hero-inner { gap: 22px; }
  .tray { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .milestones li { white-space: normal; text-align: center; }
  .ticker-run span { font-size: 40px; }
  .actions.stack { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 40px var(--gutter) 56px; }
  .page-hero-img, .role-img { height: 280px; }
  .mosaic-cta { padding: 8px; flex-direction: column; gap: 8px; }
  .mosaic { position: relative; inset: auto; padding: 0; gap: 8px; grid-template-columns: 1fr 1fr; grid-template-rows: 120px 120px; }
  .mosaic img:nth-child(n+5) { display: none; }
  .panel, .panel.wide { padding: 56px 20px; border-radius: 28px; }
  .brief-bar { flex-wrap: wrap; }
  .brief select { width: 100%; }
  .brief-email { padding-left: 0; }
  .brief-email label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brief textarea { font-size: 18px; min-height: 150px; }
  .footer { padding: 56px var(--gutter) 32px; }
  .footer-cols { flex-wrap: wrap; gap: 36px; }
  .footer-bottom { flex-direction: column; }
  .legal-head { padding: 40px var(--gutter) 32px; }
  .notfound { padding: 88px var(--gutter); }
}

/* 2S Studio conversation window */
.s2c { width: 100%; max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.s2c-card { width: 100%; background: var(--white); border: 1px solid var(--border); border-radius: 28px; padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 0 rgba(13, 13, 14, 0.04), 0 40px 80px -36px rgba(13, 13, 14, 0.32); text-align: left; }
.s2c-log { max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 4px 4px 10px; border-bottom: 1px solid var(--border); }
.s2c-log[hidden], .s2c-suggest[hidden], .s2c-consent[hidden], .s2c-end[hidden] { display: none; }
.s2c-row { display: flex; gap: 10px; align-items: flex-end; }
.s2c-user { justify-content: flex-end; }
.s2c-avatar { width: 28px; height: 28px; border-radius: 50%; flex: none; object-fit: cover; border: 1px solid var(--border); }
.s2c-bubble { max-width: 78%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.s2c-agent .s2c-bubble { background: var(--bg); border-bottom-left-radius: 6px; }
.s2c-user .s2c-bubble { background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.s2c-note { font-size: 13px; color: var(--text2); text-align: center; }
.s2c-input { width: 100%; border: 0; outline: none; resize: none; background: transparent; font-size: 20px; line-height: 1.45; letter-spacing: -0.01em; padding: 6px 8px; border-radius: 12px; }
.s2c-input::placeholder { color: var(--text3); }
.s2c-input:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
.s2c-consent { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--bg); }
.s2c-consent p { font-size: 14px; line-height: 1.5; color: var(--text2); }
.s2c-consent a, .s2c-notice a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.s2c-consent-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.s2c-agree { height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-size: 14px; cursor: pointer; }
.s2c-bar { display: flex; align-items: center; gap: 8px; }
.s2c-type { position: relative; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 30px 0 12px; border-radius: 999px; background: var(--bg); }
.s2c-type svg { width: 16px; height: 16px; fill: none; stroke: var(--text2); stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.s2c-type .s2c-caret { position: absolute; right: 10px; pointer-events: none; }
.s2c-type select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font-size: 14px; cursor: pointer; outline: none; padding: 0; }
.s2c-type:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.s2c-status { flex: 1; min-width: 0; font-size: 13px; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.s2c-end, .s2c-later { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); background: transparent; font-size: 13px; color: var(--text2); cursor: pointer; }
.s2c-icon { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; transition: background-color .2s ease; }
.s2c-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s2c-mic { background: transparent; border: 1px solid var(--border-strong); color: var(--text); }
.s2c-mic.s2c-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.s2c-mic.s2c-on svg { fill: currentColor; stroke: none; }
.s2c-send { background: var(--ink); border: 0; color: #fff; }
.s2c-send:disabled { background: rgba(13, 13, 14, 0.18); cursor: default; }
.s2c-suggest { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.s2c-suggest .t-mono { margin-right: 2px; }
.s2c-chip { font-size: 14px; line-height: 1.3; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(13, 13, 14, 0.14); background: rgba(255, 255, 255, 0.6); color: var(--text2); cursor: pointer; text-align: left; transition: background-color .2s ease, color .2s ease; }
.s2c-chip:hover { background: #fff; color: var(--text); }
.s2c-notice { max-width: 560px; font-size: 12px; line-height: 1.5; color: var(--text3); text-align: center; }
@media (max-width: 809px) {
  .s2c-card { padding: 14px 12px 12px; border-radius: 22px; }
  .s2c-input { font-size: 17px; }
  .s2c-bar { flex-wrap: wrap; }
  .s2c-type { flex: 1 1 0; min-width: 0; }
  .s2c-type select { width: 100%; min-width: 0; text-overflow: ellipsis; }
  .s2c-status { order: 5; flex-basis: 100%; text-align: left; }
  .s2c-suggest { justify-content: flex-start; }
  .s2c-notice { text-align: left; }
}
