:root {
  --accent: #1458FF; --accent-strong: #0E47D6; --accent-soft: #EAF0FF;
  --ink: #101B30; --ink-2: #526078; --ink-3: #7C879B;
  --page: #F6F8FB; --surface: #FFFFFF; --surface-2: #F9FAFC; --border: #DCE2EC; --border-soft: #E8ECF3;
  --ok: #1E8E5A; --warn: #B26A00; --night: #0F1A33; --night-ink: #EAF0FF;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-color-scheme: dark) {
  :root { --accent: #5B8CFF; --accent-strong: #7AA2FF; --accent-soft: #172749; --ink: #EAF0FF; --ink-2: #AAB6CC; --ink-3: #7F8BA3; --page: #0F1421; --surface: #161C2B; --surface-2: #1B2233; --border: #2A3550; --border-soft: #222C42; --ok: #4CC38A; --warn: #E0A64A; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
h3 { font-size: 20px; letter-spacing: -0.01em; font-weight: 650; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--ink-2); max-width: 40ch; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.fine { font-size: 14px; color: var(--ink-3); }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(20px, 5vw, 64px); background: color-mix(in srgb, var(--page) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border-soft); }
.wordmark { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.topnav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.topnav a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; transition: transform 120ms var(--ease), background 200ms, box-shadow 200ms; }
.btn:hover { background: var(--accent-strong); box-shadow: 0 8px 22px rgba(20, 88, 255, 0.28); transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn.quiet { background: transparent; color: var(--ink); border: 1px solid var(--border); box-shadow: none; }
.btn.quiet:hover { background: var(--surface); }
.btn.big { padding: 16px 26px; font-size: 17px; border-radius: 14px; }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 80px); max-width: 1240px; margin: 0 auto; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

.phone { width: min(340px, 100%); margin: 0 auto; border-radius: 44px; background: #0b0f1a; padding: 12px; box-shadow: 0 40px 80px rgba(16, 27, 48, 0.28); transform: rotate(-2deg); }
.screen { border-radius: 34px; background: var(--page); height: 640px; padding: 26px 22px 20px; display: flex; flex-direction: column; color: var(--ink); }
.s-date { font-size: 13px; color: var(--ink-2); }
.s-main { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.s-project { color: var(--accent); font-weight: 600; font-size: 14px; }
.s-title { font-size: 34px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
.s-sub { font-size: 16px; color: var(--ink-2); margin-bottom: 10px; }
.s-btn { border-radius: 12px; padding: 13px; text-align: center; font-weight: 600; font-size: 15px; background: var(--surface); border: 1px solid var(--border); }
.s-btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.s-rest { font-size: 13px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; line-height: 1.35; }

.band { padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 64px); }
.band-inner { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.band.dark { background: var(--night); color: var(--night-ink); }
.band.dark .lead { color: #B9C6E6; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 18px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step p { color: var(--ink-2); font-size: 16px; }
.num { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 10px; }
.grid3 p { color: var(--ink-2); font-size: 16px; margin-top: 6px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; max-width: 1140px; margin: 0 auto; padding: clamp(40px, 6vw, 90px) clamp(20px, 5vw, 64px); }
.split.flip .split-copy { order: 2; }
.split-copy { display: flex; flex-direction: column; gap: 14px; }
.split-copy p { color: var(--ink-2); font-size: 18px; max-width: 46ch; }
.split-copy .fine { font-size: 14px; color: var(--ink-3); }

.mail { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(16, 27, 48, 0.12); }
.mrow { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 18px; border-top: 1px solid var(--border-soft); }
.mrow:first-child { border-top: 0; }
.mfrom { font-weight: 600; }
.msub { grid-column: 1; color: var(--ink-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtime { grid-column: 2; grid-row: 2; font-size: 12px; color: var(--ink-3); text-align: right; }
.mtag { grid-column: 2; grid-row: 1; font-size: 12px; font-weight: 700; color: var(--warn); text-align: right; }
.mtag.ok { color: var(--ok); } .mtag.accent { color: var(--accent); } .mtag.warn { color: var(--warn); }
.mrow.blocked { background: color-mix(in srgb, var(--warn) 8%, var(--surface)); }

.talk { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 20px 50px rgba(16, 27, 48, 0.12); }
.t-user { align-self: flex-end; background: var(--accent-soft); color: var(--accent); padding: 8px 14px; border-radius: 999px; font-size: 15px; }
.t-reply { font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }
.t-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.t-chips span { border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; }
.t-mic { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); align-self: center; margin-top: 6px; box-shadow: 0 8px 22px rgba(20, 88, 255, 0.35); position: relative; }
.t-mic::after { content: ''; position: absolute; inset: 18px 22px; border-radius: 8px; background: #fff; }

.closing { padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 64px); text-align: center; }
.closing > div { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.closing .lead { max-width: 50ch; }
.foot { display: flex; justify-content: space-between; gap: 16px; padding: 22px clamp(20px, 5vw, 64px) calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border-soft); font-size: 14px; color: var(--ink-3); }
.foot-links { display: flex; gap: 18px; }
.foot a:hover { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn { transition: none; } }

@media (max-width: 860px) {
  .hero, .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip .split-copy { order: 0; }
  .steps, .grid3 { grid-template-columns: 1fr; }
  .topnav a:not(.btn) { display: none; }
  .phone { transform: none; width: min(300px, 100%); }
  .screen { height: 560px; }
}
