:root {
  --ink: #14162b;
  --ink-2: #4a4f6a;
  --muted: #6b7088;
  --line: #e7e8f0;
  --bg: #ffffff;
  --bg-2: #f6f7fb;
  --brand: #4f46e5;
  --brand-2: #6366f1;
  --brand-soft: #eef0ff;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 Inter, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
img { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(79, 70, 229, .28); }
.btn.primary:hover { background: #4338ca; transform: translateY(-1px); }
.btn.ghost { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.btn.ghost:hover { border-color: #cfd2e3; background: var(--bg-2); }
.btn.light { background: #fff; color: var(--brand); }
.btn.light:hover { transform: translateY(-1px); }

.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand b { color: var(--brand); font-weight: 800; }
.brand.small { font-size: 16px; }
.links { display: flex; gap: 24px; margin-left: auto; }
.links a { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--ink); }
.nav .btn { padding: 9px 16px; }

.hero { padding: 72px 0 56px; background: radial-gradient(1200px 500px at 85% -10%, #e9ebff 0%, rgba(233, 235, 255, 0) 60%), radial-gradient(800px 400px at -10% 20%, #f3f0ff 0%, rgba(243, 240, 255, 0) 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 16px; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: 13px; }
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.07; letter-spacing: -.035em; margin: 0 0 20px; font-weight: 800; }
.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 32px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

.mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(20, 22, 43, .25), 0 10px 20px -10px rgba(20, 22, 43, .1); overflow: hidden; font-size: 13px; }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d9dbe7; }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 320px; }
.mock-side { padding: 14px 10px; border-right: 1px solid var(--line); background: #fbfbfe; }
.mock-compose { background: var(--brand); color: #fff; border-radius: 8px; padding: 8px 10px; font-weight: 600; margin-bottom: 12px; text-align: center; }
.mock-folder { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 7px; color: var(--ink-2); }
.mock-folder.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.mock-folder em { font-style: normal; font-weight: 700; color: var(--brand); }
.mock-label { margin: 12px 10px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mock-list { padding: 6px 0; }
.mock-row { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #f1f2f7; }
.mock-row i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 700; }
.mock-row b { display: block; font-weight: 500; }
.mock-row span { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row.unread b, .mock-row.unread span { font-weight: 700; color: var(--ink); }
.mock-row time { color: var(--muted); font-size: 12px; }

.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); }
h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.03em; line-height: 1.15; margin: 0 0 12px; font-weight: 800; }
.sub { color: var(--ink-2); font-size: 18px; margin: 0 0 40px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; transition: box-shadow .15s ease, transform .15s ease; }
.card:hover { box-shadow: 0 12px 30px -12px rgba(20, 22, 43, .18); transform: translateY(-2px); }
.card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 18px; margin-bottom: 16px; }
.card h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps h3 { margin: 0 0 6px; font-size: 17px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { margin-top: 24px; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); margin: 12px 0 0; }

.final { background: linear-gradient(135deg, #4f46e5, #4338ca); color: #fff; padding: 72px 0; }
.final-inner { text-align: center; }
.final h2 { color: #fff; max-width: 22em; margin: 0 auto 28px; }

.foot { border-top: 1px solid var(--line); padding: 28px 0; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot p { margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .links { display: none; }
  .nav .btn { margin-left: auto; }
  .section { padding: 64px 0; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .cta .btn { width: 100%; }
}
