:root {
  --tiffany: #81d8d0;
  --tiffany-deep: #4fb8b0;
  --tiffany-pale: #e7f7f5;
  --gold: #c4a35a;
  --gold-soft: #d4b56c;
  --ink: #141414;
  --muted: #5c5c5c;
  --line: rgba(20, 20, 20, 0.1);
  --white: #fdfffe;
  --paper: #f4faf9;
  --uber: #9a3a3a;
  --keep: #1f6a4a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--tiffany-deep);
  margin-bottom: 1rem;
}

.eyebrow.gold {
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.7rem, 7.2vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-bottom: 1.1rem;
}

h1 em {
  font-style: italic;
  color: var(--gold);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 300;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 1.25rem;
}

.lede-sm {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 1.75rem;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 48px;
  padding: 0 1.4rem;
  border-radius: 999px;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--gold-soft);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--ink);
}

.btn-sm {
  height: 40px;
  padding: 0 1.1rem;
  font-size: 0.75rem;
}

.btn-block {
  width: 100%;
  margin-top: 0.4rem;
}

/* nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.6rem;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  background: rgba(253, 255, 254, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1.6rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.nav.scrolled .logo {
  color: var(--ink);
}

.logo-type {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.nav.scrolled .nav-links {
  color: var(--ink);
}

.nav-links a:not(.btn):hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(8, 14, 16, 0.28);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: currentColor;
  margin: 7px 0;
  color: inherit;
}

.nav .nav-toggle {
  color: #fff;
}

.nav.scrolled .nav-toggle {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.nav.scrolled .logo {
  text-shadow: none;
}

.nav.menu-open .nav-toggle {
  color: #fff;
}

/* hero */
.hero {
  position: relative;
  min-height: 100svh;
  max-height: 100svh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 16, 0.62) 0%, rgba(8, 14, 16, 0.18) 28%, rgba(8, 14, 16, 0.12) 48%, rgba(8, 14, 16, 0.78) 100%),
    linear-gradient(90deg, rgba(8, 16, 18, 0.4), transparent 58%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 7rem;
}

.hero .eyebrow {
  color: var(--tiffany);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.scroll-hint {
  position: absolute;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 2;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-hint span {
  writing-mode: vertical-rl;
}

/* strip */
.strip {
  background: var(--tiffany);
  color: var(--ink);
  text-align: center;
  padding: 1.35rem 1.4rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-style: italic;
}

.strip strong {
  font-style: italic;
  font-weight: 600;
}

/* math */
.math {
  padding: 6.5rem 0 5.5rem;
  background: var(--white);
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2.4rem 0 1.4rem;
}

.card {
  border-radius: 18px;
  padding: 1.8rem 1.7rem 1.6rem;
  min-height: 180px;
}

.card-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.card h3 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin-bottom: 0.6rem;
}

.card-uber {
  background: #fbf4f3;
  border: 1px solid #ecd4d2;
}

.card-uber .card-kicker,
.card-uber h3 {
  color: var(--uber);
}

.card-keep {
  background: var(--tiffany-pale);
  border: 1px solid #cfeae6;
}

.card-keep .card-kicker,
.card-keep h3 {
  color: var(--keep);
}

.callout {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.85rem 0.9rem;
  text-align: left;
  white-space: nowrap;
}

thead {
  background: var(--ink);
  color: #fff;
}

thead th {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody tr:nth-child(odd) {
  background: var(--paper);
}

.neg {
  color: var(--uber);
  font-weight: 600;
}

.pos {
  color: var(--keep);
  font-weight: 600;
}

.fine {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 78ch;
}

/* how / phone */
.stage {
  background: var(--paper);
  padding: 6.5rem 0;
}

.stage-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.steps {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.steps span {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.1rem;
  padding-top: 0.15rem;
}

.steps h3 {
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.steps p {
  color: var(--muted);
  font-size: 0.95rem;
}

.phone-col {
  display: grid;
  justify-items: center;
}

.phone {
  width: 280px;
  height: 560px;
  background: #0c0c0c;
  border-radius: 38px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 40px 80px rgba(20, 20, 20, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

.phone-screen {
  height: 100%;
  background: linear-gradient(180deg, #163a38 0%, #0f1f22 38%, #f7fbfa 38%);
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.app-status {
  padding: 2.1rem 1.1rem 0.4rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.app-hero {
  padding: 0.6rem 1.1rem 1.4rem;
}

.app-hero p {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tiffany);
  margin-bottom: 0.35rem;
}

.app-hero strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.1;
}

.app-menu {
  list-style: none;
  background: #f7fbfa;
  color: var(--ink);
  flex: 1;
  padding: 0.6rem 0.7rem;
}

.app-menu li {
  display: flex;
  justify-content: space-between;
  padding: 0.72rem 0.7rem;
  border-radius: 10px;
  font-size: 0.86rem;
}

.app-menu li.on {
  background: var(--tiffany-pale);
  outline: 1px solid var(--tiffany);
}

.app-menu em {
  font-style: normal;
  color: var(--muted);
}

.app-bar {
  margin: 0.5rem 0.7rem 0.8rem;
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  padding: 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.phone-caption {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* keep uber */
.keep {
  background: var(--ink);
  color: #fff;
  padding: 5.5rem 0;
  text-align: center;
}

.keep-inner {
  max-width: 760px;
}

.keep p:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  font-size: 1.05rem;
  max-width: 48ch;
  margin: 0 auto;
}

/* about */
.about {
  padding: 6.5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-photo {
  overflow: hidden;
  border-radius: 22px;
  min-height: 420px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.about p {
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.ticks {
  list-style: none;
  margin-top: 1.4rem;
  display: grid;
  gap: 0.7rem;
}

.ticks li {
  padding-left: 1.2rem;
  position: relative;
}

.ticks li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tiffany-deep);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

/* contact */
.contact {
  background: var(--paper);
  padding: 6.5rem 0 5.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

address {
  font-style: normal;
  line-height: 1.8;
  margin-top: 0.5rem;
}

address a {
  border-bottom: 1px solid var(--gold);
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.6rem;
  display: grid;
  gap: 0.85rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form input {
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 0.85rem;
  font: 400 0.95rem var(--sans);
  color: var(--ink);
  background: var(--white);
}

.form input:focus {
  outline: 1px solid var(--tiffany-deep);
  border-color: var(--tiffany-deep);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.form-note.ok {
  color: var(--keep);
}

/* footer */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.3rem 0;
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer .logo-type {
  color: #fff;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
    z-index: 60;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--ink);
    color: #fff;
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    font-size: 1.05rem;
    transform: translateY(-110%);
    transition: transform 0.35s ease;
  }

  .nav-links.open {
    transform: none;
  }

  .compare,
  .stage-grid,
  .about-grid,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    margin-bottom: 5.5rem;
  }

  .about-photo,
  .about-photo img {
    min-height: 280px;
  }

  .phone {
    width: 250px;
    height: 510px;
  }
}

@media (max-width: 560px) {
  .hero-actions .btn-ghost {
    width: 100%;
  }

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