:root {
  --bg: #f7f3eb;
  --bg-strong: #efe5d6;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf8;
  --ink: #17130f;
  --ink-soft: rgba(23, 19, 15, 0.68);
  --line: rgba(23, 19, 15, 0.08);
  --gold: #d89c36;
  --gold-soft: #f6d59f;
  --blue: #1f4fd8;
  --blue-soft: #dbe5ff;
  --mint: #cdebd7;
  --shadow: 0 24px 60px rgba(59, 40, 16, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(31, 79, 216, 0.12), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(216, 156, 54, 0.16), transparent 24%),
    linear-gradient(180deg, #faf6ef 0%, #f3ebde 48%, #f7f3eb 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
summary {
  font: inherit;
}

.site-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding-bottom: 32px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(22, 18, 13, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), #6c91ff);
  color: #fff;
  font-weight: 800;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  font-size: 0.74rem;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--ink-soft);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.section {
  margin-top: 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 140px);
  padding: 40px 0 18px;
}

.hero-copy,
.hero-visual,
.metric-card,
.feature-card,
.workflow-step,
.privacy-panel,
.faq-item,
.cta-panel {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible,
.reveal-delay-1.is-visible,
.reveal-delay-2.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero h1,
.section-heading h2,
.cta-panel h2,
.privacy-copy h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 6.6rem);
}

.hero-text,
.section-heading p,
.privacy-copy p,
.cta-panel p,
.workflow-step p,
.feature-card p,
.faq-item p {
  color: var(--ink-soft);
  line-height: 1.75;
}

.hero-text {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--ink), #3d2d16);
  color: #fff;
  box-shadow: 0 18px 34px rgba(28, 21, 13, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.44);
  color: var(--ink);
  border-color: rgba(23, 19, 15, 0.12);
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 0 4px rgba(216, 156, 54, 0.14);
}

.device-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 720px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.45)),
    linear-gradient(160deg, rgba(219, 229, 255, 0.55), rgba(246, 213, 159, 0.38));
  border: 1px solid rgba(23, 19, 15, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.orb {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.72;
}

.orb-left {
  left: -80px;
  top: 70px;
  background: radial-gradient(circle, rgba(31, 79, 216, 0.42), transparent 68%);
}

.orb-right {
  right: -90px;
  bottom: 60px;
  background: radial-gradient(circle, rgba(216, 156, 54, 0.5), transparent 68%);
}

.phone-frame {
  position: relative;
  width: min(100%, 390px);
  height: 700px;
  padding: 16px;
  border-radius: 44px;
  background: linear-gradient(180deg, #1f1f21, #0f0f10);
  box-shadow:
    0 35px 80px rgba(12, 13, 20, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 140px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 18px;
  background: #0c0c0d;
  z-index: 2;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 28px 18px 20px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, #fefbf7 0%, #f2ebdf 100%);
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.badge,
.stat {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.badge {
  background: rgba(31, 79, 216, 0.1);
  color: var(--blue);
}

.stat {
  background: rgba(216, 156, 54, 0.15);
  color: #825200;
}

.storage-card {
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(23, 19, 15, 0.06);
  box-shadow: 0 18px 36px rgba(34, 28, 17, 0.08);
}

.storage-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.storage-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.6rem;
  line-height: 1.2;
}

.storage-bar {
  display: grid;
  grid-template-columns: 2.2fr 0.85fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.storage-bar span {
  height: 18px;
  border-radius: 999px;
}

.storage-bar .used {
  background: #2e2a24;
}

.storage-bar .junk {
  background: linear-gradient(135deg, var(--gold), #efc06e);
}

.storage-bar .free {
  background: #d9d2c6;
}

.storage-legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

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

.mini-panel {
  min-height: 122px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(23, 19, 15, 0.06);
  box-shadow: 0 14px 30px rgba(24, 18, 13, 0.06);
}

.mini-panel span {
  display: block;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.mini-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 1.22rem;
}

.mini-panel.accent {
  background: linear-gradient(145deg, rgba(31, 79, 216, 0.14), rgba(255, 255, 255, 0.82));
}

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

.metric-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.metric-card span {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.25rem;
  line-height: 1.35;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2,
.cta-panel h2,
.privacy-copy h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.06;
}

.feature-grid,
.workflow-grid {
  display: grid;
  gap: 18px;
}

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

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.workflow-step {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 38px rgba(35, 28, 20, 0.06);
}

.feature-card-contrast {
  background: linear-gradient(180deg, rgba(31, 79, 216, 0.96), rgba(17, 46, 132, 0.94));
  color: #fff;
}

.feature-card-contrast p,
.feature-card-contrast li,
.feature-card-contrast .feature-icon {
  color: rgba(255, 255, 255, 0.86);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(23, 19, 15, 0.06);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.feature-card h3,
.workflow-step h3 {
  margin: 18px 0 12px;
  font-size: 1.32rem;
}

.feature-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.workflow-step span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.privacy-panel,
.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  padding: 30px;
  border-radius: 36px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.52)),
    linear-gradient(135deg, rgba(205, 235, 215, 0.52), rgba(219, 229, 255, 0.45));
  box-shadow: var(--shadow);
}

.privacy-card-stack {
  display: grid;
  gap: 14px;
}

.privacy-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(23, 19, 15, 0.06);
}

.privacy-card strong {
  display: block;
  font-size: 1.12rem;
}

.privacy-card span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
}

.privacy-card.offset {
  transform: translateX(24px);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 6px 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 18px;
}

.cta-panel {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.cta-panel p {
  max-width: 720px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 14px 4px 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.legal-shell {
  max-width: 980px;
}

.legal-topbar {
  position: relative;
}

.legal-nav {
  position: static;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
}

.legal-page {
  padding: 28px 0 8px;
}

.legal-hero {
  padding: 34px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.58)),
    linear-gradient(135deg, rgba(219, 229, 255, 0.46), rgba(246, 213, 159, 0.36));
  box-shadow: var(--shadow);
}

.legal-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.legal-meta {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.legal-intro {
  max-width: 760px;
  margin-top: 18px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.legal-card {
  margin-top: 18px;
  padding: 28px 30px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 36px rgba(35, 28, 20, 0.06);
}

.legal-card h2 {
  margin: 0 0 14px;
  font-size: 1.3rem;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
  line-height: 1.82;
}

.legal-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.legal-footer {
  margin-top: 20px;
 }

@media (max-width: 1100px) {
  .hero,
  .privacy-panel {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .workflow-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .device-stage {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--content-width));
  }

  .topbar {
    top: 10px;
    padding: 12px 14px;
    border-radius: 24px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 250, 243, 0.96);
    box-shadow: 0 16px 32px rgba(18, 16, 12, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .topbar.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .legal-nav {
    display: flex;
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    padding: 0;
  }

  .topbar.nav-open .menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .topbar.nav-open .menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .phone-frame {
    height: 620px;
  }

  .privacy-panel,
  .cta-panel,
  .device-stage,
  .legal-hero,
  .legal-card {
    padding: 22px;
    border-radius: 28px;
  }

  .privacy-card.offset {
    transform: none;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .brand-copy span {
    display: none;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .phone-frame {
    width: 100%;
    height: 560px;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .storage-card strong {
    font-size: 1.34rem;
  }
}
