:root {
  --bg: #ffffff;
  --bg-alt: #f8f5ff;
  --text: #1d1d27;
  --muted: #6e6e7c;
  --border: #ebebf0;
  --primary: #7b4ff0;
  --primary-hover: #6a3de0;
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Space Grotesk", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--primary); text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px;
  border-radius: 10px; font-weight: 600; font-size: 14.5px; border: 1px solid transparent; cursor: pointer;
  transition: background .15s, transform .15s; font-family: inherit; white-space: nowrap;
}
.btn.primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px -6px rgba(123, 79, 240, .6); }
.btn.primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn.ghost { color: var(--text); }
.btn.ghost:hover { background: var(--bg-alt); }
.btn.lg { height: 50px; padding: 0 26px; font-size: 16px; border-radius: 12px; }

.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand [data-brand-word],
.brand-text {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.brand .w-light,
.brand .w-bold { font-weight: 700; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links > a:not(.btn) { color: var(--muted); font-weight: 550; padding: 0 12px; }
.nav-links > a:not(.btn):hover { color: var(--text); }

.hero {
  padding: 40px 0 56px;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(123, 79, 240, .14), transparent 60%),
    radial-gradient(720px 420px at 100% 10%, rgba(169, 139, 250, .12), transparent 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 40px;
  align-items: start;
}
.hero h1 {
  font-family: var(--font-brand);
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -.03em;
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
}
.grad { background: linear-gradient(90deg, #7b4ff0, #a98bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 16px; color: var(--muted); margin: 10px 0 0; max-width: 460px; line-height: 1.5; }

.or-split {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 540px;
  margin: 22px 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: lowercase;
}
.or-split::before,
.or-split::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.start-paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
  max-width: 540px;
}
.start-path {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px -16px rgba(30, 20, 70, .35);
}
.start-path h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -.01em;
}
.start-pro {
  position: relative;
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #c4b0fb, #7b4ff0 55%, #d7c8ff) border-box;
  box-shadow: 0 16px 36px -22px rgba(123, 79, 240, .7);
}
.start-pro::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(123, 79, 240, .08), transparent 42%);
  pointer-events: none;
}
.start-pro > * { position: relative; }
.start-path > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.start-path > p strong { color: var(--text); font-weight: 650; }
.start-path .btn { width: 100%; height: 46px; }

.claim { display: flex; gap: 10px; max-width: 540px; flex-wrap: wrap; margin-top: 22px; }
.claim-input {
  flex: 1 1 260px; display: flex; align-items: center; height: 50px; border: 1px solid var(--border);
  border-radius: 12px; background: #fff; overflow: hidden;
}
.claim-input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(123, 79, 240, .15); }
.claim-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; padding: 0 14px; font: inherit; font-size: 15px; background: transparent; color: var(--text); }
.claim-input > span { padding: 0 12px; color: var(--muted); font-weight: 600; white-space: nowrap; font-size: 14px; }
.hint { color: var(--muted); margin-top: 14px; }

.mock { border-radius: 16px; border: 1px solid var(--border); background: var(--bg); box-shadow: 0 28px 60px -24px rgba(15, 23, 42, .32); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-body { display: grid; grid-template-columns: 140px 1fr; min-height: 280px; }
.mock-side { padding: 14px 10px; border-right: 1px solid var(--border); font-size: 13px; }
.mock-compose { background: var(--primary); color: #fff; border-radius: 10px; padding: 9px 14px; font-weight: 600; margin-bottom: 12px; }
.mock-folder { padding: 7px 12px; border-radius: 8px; color: var(--muted); display: flex; justify-content: space-between; }
.mock-folder.active { background: rgba(123, 79, 240, .12); color: var(--primary); font-weight: 700; }
.mock-row { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
.mock-row i { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.mock-row div { display: grid; min-width: 0; }
.mock-row strong { font-weight: 550; }
.mock-row span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row.unread strong { font-weight: 800; }

.benefits {
  background: #f3f5fb;
  padding: 72px 0 28px;
}
.benefits > .wrap > h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  letter-spacing: -.035em;
  font-weight: 800;
  max-width: 14ch;
  line-height: 1.05;
}
.benefits-lead {
  margin: 14px 0 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.bento-card {
  grid-column: span 2;
  background: #fff;
  border-radius: 22px;
  padding: 14px 14px 22px;
  box-shadow: 0 10px 30px -24px rgba(30, 40, 80, .45);
}
.bento-card.wide { grid-column: span 4; }
.bento-card.side { grid-column: span 2; }
.bento-card h3 { font-size: 18px; margin: 16px 8px 6px; letter-spacing: -.02em; }
.bento-card p { margin: 0 8px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

.scene {
  min-height: 168px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7f8ff, #eef1fb);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
}
.scene-inbox { justify-content: stretch; }
.scene-mail, .scene-preview {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px -16px rgba(30, 40, 80, .6);
  min-height: 128px;
}
.scene-mail { flex: 0.9; padding: 12px; display: grid; align-content: start; gap: 8px; font-size: 12px; color: var(--muted); }
.scene-mail b { color: var(--text); font-size: 13px; }
.scene-mail span { padding: 6px 8px; border-radius: 8px; background: #f6f7fb; }
.scene-mail span.on { background: #efeaff; color: var(--text); font-weight: 650; }
.scene-preview { flex: 1.1; padding: 16px; display: grid; align-content: start; gap: 8px; }
.scene-preview strong { font-size: 14px; }
.scene-preview em { display: block; height: 8px; border-radius: 99px; background: #eceef5; }
.scene-preview em.short { width: 62%; }
.scene-domain { flex-direction: column; align-items: stretch; }
.chip {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px -14px rgba(30, 40, 80, .7);
}
.chip.dim { color: var(--muted); font-weight: 600; }
.scene-list { flex-direction: column; align-items: stretch; gap: 8px; }
.scene-list div {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border-radius: 10px; padding: 10px 12px; font-size: 13px;
}
.scene-list span { color: var(--muted); }
.scene-lock { gap: 8px; }
.lock {
  background: #fff; color: var(--primary); font-weight: 800; font-size: 12px; letter-spacing: .04em;
  border-radius: 12px; padding: 16px 12px; box-shadow: 0 8px 18px -14px rgba(30, 40, 80, .7);
}
.scene-send { flex-direction: column; align-items: stretch; width: 100%; }
.sent { background: #fff; border-radius: 12px; padding: 12px 14px; font-weight: 650; font-size: 13px; }
.bar { height: 8px; border-radius: 99px; background: #e4e7f2; overflow: hidden; }
.bar i { display: block; width: 72%; height: 100%; background: linear-gradient(90deg, #7b4ff0, #60a5fa); }

.ready {
  margin-top: 18px;
  padding: 28px 32px;
  border-radius: 22px;
  background: linear-gradient(90deg, #1d4ed8, #2563eb 55%, #3b82f6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ready h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; font-weight: 800; margin: 0 0 6px; }
.ready p { margin: 0; color: rgba(255,255,255,.86); }
.ready-btn {
  flex-shrink: 0;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: #1d4ed8;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.ready-btn:hover { text-decoration: none; transform: translateY(-1px); }

.footer { padding: 36px 0 18px; background: #f3f5fb; color: var(--muted); font-size: 14px; }
.foot {
  display: grid;
  grid-template-columns: 1.4fr .6fr .6fr;
  gap: 28px;
  padding-bottom: 28px;
}
.foot-brand p { margin: 12px 0 0; max-width: 280px; }
.foot h4 { margin: 0 0 10px; color: var(--text); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.foot a { display: block; color: var(--muted); padding: 4px 0; }
.foot a:hover { color: var(--text); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #e4e7f0;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card.wide { grid-column: span 2; }
  .bento-card.side,
  .bento-card.third { grid-column: span 1; }
}

@media (max-width: 900px) {
  .hero { padding: 24px 0 36px; }
  .hero-art { display: none; }
  .hero h1 { font-size: clamp(28px, 8vw, 34px); }
  .lead { font-size: 15px; max-width: none; }
  .claim,
  .or-split,
  .start-paths { max-width: none; }
  .start-paths { margin-top: 18px; }
  .nav-inner { height: 60px; }
  .nav-links > a:not(.btn) { display: none; }
  .nav-links .btn.ghost { display: none; }
  .nav-links .btn { height: 38px; padding: 0 14px; font-size: 13px; }
  .brand [data-brand-word] { font-size: 18px; letter-spacing: 0.12em; }
  .benefits { padding: 48px 0 16px; }
  .benefits > .wrap > h2 { max-width: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-card,
  .bento-card.wide,
  .bento-card.side { grid-column: auto; }
  .scene-inbox { flex-direction: column; }
  .ready { flex-direction: column; align-items: stretch; padding: 22px; }
  .ready-btn { width: 100%; justify-content: center; }
  .foot { grid-template-columns: 1fr; gap: 22px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .claim { flex-direction: column; align-items: stretch; margin-top: 18px; }
  .claim-input { flex: none; width: 100%; height: 48px; }
  .claim .btn.lg { width: 100%; min-height: 48px; }
  .or-split { margin: 18px 0 6px; }
  .btn.lg { height: 48px; }
  .benefits-lead { font-size: 15px; }
  .bento-card h3 { font-size: 17px; }
  .scene { min-height: 140px; padding: 12px; }
  .foot-brand .brand [data-brand-word] { font-size: 16px; }
}
