:root {
  color-scheme: light;
  --bg: #e4ebf4;
  --surface: #f8fbff;
  --soft: #edf3fa;
  --white: #ffffff;
  --ink: #17263a;
  --muted: #5e748b;
  --muted-2: #697b8e;
  --border: rgba(119, 136, 156, 0.24);
  --primary: #2f86c9;
  --primary-dark: #1f679d;
  --success: #3c9a72;
  --gold: #b67a2f;
  --coral: #cf664f;
  --shadow: 0 18px 48px rgba(23, 38, 58, 0.12);
  --shadow-soft: 0 12px 28px rgba(23, 38, 58, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  background-image: linear-gradient(180deg, rgba(248, 251, 255, 0.82), rgba(228, 235, 244, 0) 420px);
  color: var(--ink);
  font-family: Manrope, Nunito, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

img { display: block; max-width: 100%; }

a {
  color: var(--primary-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--primary); }

:focus-visible {
  outline: 3px solid rgba(47, 134, 201, 0.35);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(248, 251, 255, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner,
.container,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
}

.brand span {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 850;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav,
.footer-links,
.hero-actions,
.cta-actions,
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.site-nav {
  justify-content: flex-end;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover { color: var(--primary-dark); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 40px;
  min-height: 620px;
  padding: 58px 0 44px;
}

.hero-copy { max-width: 680px; }

.eyebrow,
.section-kicker,
.legal-kicker {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { overflow-wrap: anywhere; }

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 { max-width: 760px; font-size: 3.4rem; font-weight: 850; }
h2 { font-size: 2.2rem; font-weight: 820; }
h3 { font-size: 1.14rem; font-weight: 820; }

.lede {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions,
.cta-actions { margin-top: 28px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.button:hover {
  color: var(--white);
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-dark);
  border-color: rgba(47, 134, 201, 0.36);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--white);
  color: var(--primary-dark);
}

.button-muted { cursor: default; }

.hero-notes,
.mini-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted-2);
  font-weight: 700;
}

.hero-notes li,
.mini-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.check-dot,
.mini-dot,
.metric-dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: rgba(60, 154, 114, 0.14);
  color: var(--success);
  font-size: 0.92rem;
  font-weight: 900;
}

.hero-visual,
.product-scene {
  position: relative;
  min-height: 520px;
}

.product-scene {
  display: grid;
  place-items: center;
}

.phone-shell {
  position: relative;
  width: min(360px, 100%);
  min-height: 520px;
  border: 1px solid rgba(47, 134, 201, 0.16);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}

.phone-top,
.phone-title,
.task-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-top {
  justify-content: space-between;
  margin-bottom: 16px;
}

.phone-title { min-width: 0; gap: 10px; }
.phone-title img { width: 38px; height: 38px; }
.phone-title strong { display: block; font-size: 1.02rem; line-height: 1.2; }

.phone-title span,
.phone-date,
.task-meta,
.metric-label,
.room-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.phone-date {
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--soft);
  white-space: nowrap;
}

.task-list { display: grid; gap: 10px; }

.task-row,
.metric-card,
.feature-card,
.legal-shell,
.notice,
.delete-step,
.error-panel,
.room-tile,
.cta-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.task-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px;
  box-shadow: none;
}

.task-icon,
.feature-icon,
.step-number {
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 900;
}

.task-icon { width: 38px; height: 38px; }
.feature-icon { width: 44px; height: 44px; margin-bottom: 16px; }
.blue { background: var(--primary); }
.green { background: var(--success); }
.gold { background: var(--gold); }
.coral { background: var(--coral); }

.task-title {
  justify-content: space-between;
  color: var(--ink);
  font-weight: 850;
}

.task-title span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.progress-line,
.room-bar {
  height: 8px;
  margin-top: 10px;
  border-radius: 8px;
  background: var(--soft);
  overflow: hidden;
}

.progress-line span,
.room-bar span {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: var(--primary);
}

.phone-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.metric-card { padding: 12px; box-shadow: none; }
.metric-value { margin-top: 4px; color: var(--ink); font-size: 1.18rem; font-weight: 900; }

.floating-note {
  position: static;
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(182, 122, 47, 0.26);
  border-radius: 8px;
  background: #fff8ed;
  color: #6e4a1f;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.floating-note strong {
  display: block;
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.section { padding: 72px 0; }

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 246px;
  padding: 22px;
}

.feature-card p { margin: 12px 0 0; color: var(--muted); }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}

.room-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.room-tile {
  min-height: 148px;
  padding: 18px;
}

.room-tile strong {
  display: block;
  margin-top: 26px;
  font-size: 1.08rem;
}

.cta-band { padding: 70px 0 82px; }

.cta-panel {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.cta-panel img { width: 82px; height: 82px; border-radius: 8px; }
.cta-panel p { margin: 10px 0 0; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(248, 251, 255, 0.76);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  color: var(--muted);
}

.footer-links { font-weight: 800; }

.legal-page { padding: 52px 0 78px; }
.legal-shell { padding: 34px; }
.legal-header { max-width: 860px; margin-bottom: 26px; }
.legal-header h1 { font-size: 2.7rem; }
.legal-header p { margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; }
.legal-meta { margin-top: 16px; color: var(--muted-2); font-weight: 800; }

.notice {
  margin: 24px 0;
  padding: 16px;
  background: #fff8ed;
  border-color: rgba(182, 122, 47, 0.28);
  color: #65461f;
  box-shadow: none;
}

.legal-content { display: grid; gap: 28px; }
.legal-content section { padding-top: 6px; }
.legal-content h2 { font-size: 1.35rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content p { margin: 12px 0 0; }
.legal-content ul, .legal-content ol { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 22px; }
.legal-content strong { color: var(--ink); }

.legal-nav { margin: 22px 0 0; }

.legal-nav a {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.delete-flow { display: grid; gap: 14px; margin-top: 18px; }

.delete-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  box-shadow: none;
}

.step-number { width: 42px; height: 42px; background: var(--primary); }

.error-page {
  min-height: calc(100vh - 180px);
  display: grid;
  align-items: center;
  padding: 52px 0;
}

.error-panel { max-width: 720px; padding: 38px; }
.error-panel h1 { font-size: 2.8rem; }
.error-panel p { color: var(--muted); font-size: 1.08rem; }

@media (max-width: 960px) {
  .hero,
  .split-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 44px; }
  h1 { font-size: 2.75rem; }
  .hero-visual, .product-scene { min-height: 480px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-panel { grid-template-columns: 72px minmax(0, 1fr); }
  .cta-actions { grid-column: 1 / -1; margin-top: 0; }
}

@media (max-width: 700px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }
  .brand img { width: 42px; }
  .site-nav { justify-content: flex-start; }
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.82rem; }
  .lede { font-size: 1.04rem; }
  .feature-grid, .room-board, .phone-metrics { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .hero-visual, .product-scene { min-height: auto; }
  .phone-shell { min-height: 0; }
  .floating-note { width: auto; }
  .legal-shell, .error-panel { padding: 24px; }
  .legal-header h1, .error-panel h1 { font-size: 2.2rem; }
  .delete-step { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .header-inner,
  .container,
  .footer-inner { width: min(100% - 24px, 1120px); }
  .hero { padding-top: 34px; }
  h1 { font-size: 2rem; }
  .phone-top, .task-title { align-items: flex-start; flex-direction: column; }
  .phone-date, .task-title span:last-child { white-space: normal; }
  .cta-panel { grid-template-columns: 1fr; }
}
