:root {
  --blue: #2a6dd7;
  --awa-blue: #a7d8f4;
  --ink: #101828;
  --cream: #f7f5ef;
  --white: #ffffff;
  --header-height: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

.section-shell,
.header-inner {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  color: var(--white);
  background: var(--blue);
  isolation: isolate;
  transform: translateZ(0);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: calc(100% - 80px);
  max-width: none;
}

.logo,
.footer-logo {
  font-family: "Arial Black", var(--font-display);
  font-size: 34px;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.logo { color: var(--white); }

.logo,
.nav-actions {
  position: relative;
  z-index: 4;
}

.nav-actions {
  display: flex;
  align-items: center;
  padding: 3px;
  border-radius: 8px;
  background: var(--white);
}

.nav-actions a {
  padding: 7px 13px 8px;
  border-radius: 6px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.nav-about { color: var(--blue); }

.nav-download {
  color: var(--white);
  background: var(--blue);
}

/* Video hero */
.video-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: #254f7f;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video { object-fit: cover; }

.hero-shade {
  background:
    linear-gradient(180deg, rgba(7, 31, 63, .2) 0%, rgba(8, 31, 55, .04) 50%, rgba(4, 19, 37, .44) 100%),
    rgba(25, 72, 125, .14);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 40px));
  margin-top: -2vh;
  text-align: center;
  text-shadow: 0 2px 22px rgba(0, 23, 51, .35);
}

.section-label,
.feature-number {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 6.4vw, 86px);
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.045em;
}

.hero-copy > p:last-child {
  margin: 18px 0 0;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
}

.video-control {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 28px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
  color: var(--white);
  background: rgba(4, 26, 51, .25);
  font: inherit;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span:last-child {
  font-size: 21px;
  animation: scroll-nudge 1.8s ease-in-out infinite;
}

@keyframes scroll-nudge {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}

.hero-download {
  display: flex;
  justify-content: center;
  
}

.hero-download button {
  min-width: 80px;
  padding: 8px 10px 10px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* Feature overview */
.intro-copy {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-block: clamp(100px, 14vw, 180px);
}

.section-label,
.feature-number { color: var(--blue); }

.intro-copy h2,
.download-copy h2,
.personal-note h2 {
  margin: 0;
  font-size: clamp(54px, 8vw, 110px);
  font-weight: 500;
  line-height: .82;
  letter-spacing: -.06em;
}

.section-lede {
  grid-column: 2;
  max-width: 650px;
  margin: 34px 0 0;
  color: #4a5261;
  font-size: clamp(21px, 2.1vw, 28px);
}

.feature-list { padding-bottom: clamp(100px, 14vw, 180px); }

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 105px);
  border-top: 1px solid rgba(16, 24, 40, .16);
}

.feature-row--reverse .feature-copy { order: 2; }
.feature-row--reverse .feature-visual { order: 1; }

.feature-copy h3 {
  margin: 14px 0 20px;
  font-size: clamp(36px, 4.7vw, 64px);
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.05em;
}

.feature-copy > p:last-child {
  max-width: 490px;
  margin: 0;
  color: #4a5261;
  font-size: 20px;
}

.feature-visual {
  position: relative;
  display: grid;
  min-height: 510px;
  place-items: center;
  overflow: hidden;
  border-radius: 28px;
}

.feature-visual--coral { background: #ff715f; }
.feature-visual--sky { background: #a7d8f4; }
.feature-visual--butter { background: #f4d35e; }
.feature-visual--lilac { background: #b7a4ef; }

.visual-main {
  width: min(72%, 440px);
  max-height: 420px;
  object-fit: contain;
}

.visual-main--person { width: min(64%, 390px); }

.visual-card {
  position: absolute;
  border-radius: 16px;
  box-shadow: 0 22px 65px rgba(24, 30, 42, .2);
}

.visual-card--bill {
  right: 6%;
  bottom: 7%;
  width: min(58%, 355px);
}

.visual-card--chore {
  right: 5%;
  bottom: 7%;
  width: min(55%, 330px);
}

.visual-card--message {
  right: 8%;
  bottom: 10%;
  width: min(44%, 270px);
}

.shopping-screen {
  width: min(75%, 440px);
  max-height: 430px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 22px 65px rgba(24, 30, 42, .18);
}

/* Download CTA */
.download-banner {
  position: relative;
  min-height: min(820px, 85svh);
  color: var(--white);
  background: #223e55;
}

.download-banner > img,
.download-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.download-banner > img { object-fit: cover; }

.download-shade {
  background: linear-gradient(90deg, rgba(9, 28, 43, .75), rgba(9, 28, 43, .08) 72%);
}

.download-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.download-copy .section-label {
  margin-bottom: 20px;
  color: var(--white);
}

.download-copy h2 { font-size: clamp(58px, 8vw, 108px); }

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
  padding: 14px 17px 15px 22px;
  border-radius: 8px;
  color: var(--blue);
  background: var(--white);
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.download-button span {
  font-size: 26px;
  line-height: .7;
}

/* Personal note and footer */
.personal-note {
  padding-block: clamp(90px, 12vw, 150px);
  background: var(--awa-blue);
}

.personal-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.personal-note h2 {
  max-width: 800px;
  font-size: clamp(48px, 6.5vw, 88px);
}

.personal-note p:not(.section-label) {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: clamp(20px, 2vw, 25px);
}

.personal-note a { text-underline-offset: 4px; }

.site-footer {
  padding: 66px 0 28px;
  color: var(--white);
  background: var(--blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  color: var(--white);
  font-size: 58px;
}

.footer-grid > p {
  margin: 0;
  font-size: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.footer-links a {
  font-size: 20px;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 80px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.34);
  font-size: 14px;
}

.footer-bottom p { margin: 0; }

@media (hover: hover) {
  .nav-actions a,
  .download-button,
  .footer-links a,
  .logo,
  .footer-logo {
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-actions a:hover,
  .footer-links a:hover,
  .logo:hover,
  .footer-logo:hover { opacity: .72; }

  .download-button:hover { transform: translateY(-3px); }
}

@media (max-width: 900px) {
  :root { --header-height: 68px; }

  .intro-copy,
  .personal-grid { grid-template-columns: 1fr; }

  .section-lede { grid-column: 1; }

  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-row--reverse .feature-copy,
  .feature-row--reverse .feature-visual { order: initial; }

  .feature-visual { min-height: min(70vw, 520px); }
}

@media (max-width: 640px) {
  :root { --header-height: 64px; }

  body { font-size: 17px; }

  .section-shell,
  .header-inner { width: calc(100% - 32px); }

  .logo { font-size: 29px; }

  .nav-actions { padding: 2px; }

  .nav-actions a {
    padding: 7px 9px;
    font-size: 16px;
  }

  .hero-copy { margin-top: -6vh; }

  .hero-copy h1 {
    font-size: clamp(40px, 12vw, 56px);
    line-height: .98;
  }

  .hero-copy > p:last-child {
    max-width: 320px;
    margin-inline: auto;
    font-size: 20px;
  }

  .scroll-cue { display: none; }

  .video-control {
    right: 16px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }

  .intro-copy { gap: 24px; }

  .intro-copy h2,
  .download-copy h2,
  .personal-note h2 { font-size: clamp(48px, 17vw, 72px); }

  .section-lede { margin-top: 12px; }

  .feature-row { padding-block: 58px; }

  .feature-copy h3 { font-size: 42px; }

  .feature-copy > p:last-child { font-size: 18px; }

  .feature-visual {
    min-height: 102vw;
    border-radius: 20px;
  }

  .download-banner { min-height: 76svh; }

  .download-shade {
    background: linear-gradient(90deg, rgba(9, 28, 43, .72), rgba(9, 28, 43, .18));
  }

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

  .footer-links { align-items: flex-start; }

  .footer-bottom {
    flex-direction: column;
    margin-top: 55px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
