:root {
  color-scheme: light;
  --paper: #f2ecdf;
  --paper-card: #faf6ee;
  --paper-shadow: rgba(29, 43, 61, 0.18);
  --paper-shadow-soft: rgba(29, 43, 61, 0.1);
  --ink: #1d2b3d;
  --ink-soft: #31445a;
  --ink-muted: rgba(29, 43, 61, 0.66);
  --line: rgba(29, 43, 61, 0.08);
  --line-strong: rgba(29, 43, 61, 0.12);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --shell-width: min(1720px, calc(100% - 72px));
  --footer-width: min(1720px, calc(100% - 72px));
  --hero-shadow:
    0 22px 38px var(--paper-shadow), 0 6px 16px var(--paper-shadow-soft);
  --tile-shadow:
    0 16px 28px rgba(29, 43, 61, 0.16), 0 4px 10px rgba(29, 43, 61, 0.09);
}

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

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background:
    radial-gradient(
      circle at top center,
      rgba(255, 255, 255, 0.62),
      transparent 38%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(29, 43, 61, 0.035),
      transparent 16%
    ),
    radial-gradient(circle at 88% 32%, rgba(29, 43, 61, 0.03), transparent 18%);
}

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

a:focus-visible {
  outline: 2px solid rgba(29, 43, 61, 0.38);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  width: var(--shell-width);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 58px) 0 clamp(28px, 4vw, 64px);
  flex: 1;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.34fr);
  align-items: center;
  gap: clamp(24px, 3.2vw, 64px);
  padding: clamp(26px, 3.8vw, 50px);
  border: 1px solid var(--line);
  border-radius: clamp(28px, 3.1vw, 42px);
  background: var(--paper-card);
  box-shadow: var(--hero-shadow);
}

.hero-art {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: clamp(12px, 1.8vw, 24px);
  min-width: 0;
  padding-inline-start: clamp(12px, 1.8vw, 28px);
}

.hero-asset {
  width: min(100%, 510px);
  color: var(--ink);
}

.brand-symbol {
  width: 100%;
  height: auto;
}

.brand-name,
.hero-copy h1,
.app-card h3,
.footer-wordmark {
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.wordmark-base {
  font-weight: 500;
}

.wordmark-accent {
  font-weight: 700;
}

.slogan-line {
  display: inline;
}

.brand-name {
  font-size: clamp(5rem, 7vw, 7.9rem);
  line-height: 0.84;
}

.hero-copy {
  min-width: 0;
  width: min(100%, 62rem);
}

.hero-copy h1 {
  max-width: 100%;
  margin-bottom: 18px;
  font-size: clamp(2.85rem, 3.6vw, 4rem);
  line-height: 1;
  white-space: nowrap;
}

.hero-copy p:last-child {
  max-width: 100%;
  font-size: clamp(1.05rem, 1.32vw, 1.34rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  text-align: justify;
  text-justify: inter-word;
}

.apps-section {
  margin-top: clamp(28px, 4vw, 58px);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 1.7vw, 26px);
  align-items: start;
}

.app-card {
  display: grid;
  justify-items: center;
  gap: clamp(12px, 1.4vw, 18px);
  text-align: center;
}

.app-card-link {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: clamp(12px, 1.4vw, 18px);
  color: inherit;
  text-decoration: none;
}

.app-tile {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 0.96;
  display: grid;
  place-items: center;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: clamp(24px, 2.3vw, 34px);
  background: var(--paper-card);
  box-shadow: var(--tile-shadow);
  color: var(--ink);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease;
}

.coming-soon-trigger {
  cursor: pointer;
  appearance: none;
  font: inherit;
}

.coming-soon-trigger:focus-visible {
  outline: 2px solid rgba(29, 43, 61, 0.38);
  outline-offset: 4px;
}

.app-symbol {
  grid-area: 1 / 1;
  width: min(100%, 138px);
  height: auto;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}

.app-coming-soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.02em;
  width: 100%;
  padding: 0 12%;
  color: var(--paper-card);
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.4vw, 2.9rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
  pointer-events: none;
}

.app-coming-soon span {
  display: block;
  width: 100%;
  text-align: center;
}

.app-tile--coming-soon {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-card);
}

.app-tile--coming-soon .app-symbol {
  opacity: 0;
  transform: scale(0.92);
}

.app-tile--coming-soon .app-coming-soon {
  opacity: 1;
  transform: translateY(0);
}

.app-card h3 {
  font-size: clamp(2rem, 2.15vw, 3.05rem);
  line-height: 0.92;
}

.product-hero .hero-asset {
  width: min(100%, 430px);
}

.product-hero .brand-name {
  font-size: clamp(4.4rem, 6vw, 6.2rem);
}

.product-hero .hero-copy {
  width: min(100%, 58rem);
}

.product-shell {
  padding-bottom: clamp(32px, 4vw, 70px);
}

.store-section {
  margin-top: clamp(28px, 4vw, 58px);
}

.store-grid {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 32px);
}

.store-button {
  min-height: clamp(88px, 8vw, 118px);
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: clamp(24px, 2.5vw, 34px);
  background: var(--paper-card);
  box-shadow: var(--tile-shadow);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.site-footer {
  width: var(--footer-width);
  margin: 0 auto;
  padding: 0 0 clamp(28px, 3vw, 44px);
  display: grid;
  grid-template-columns: minmax(70px, 1fr) auto minmax(70px, 1fr);
  align-items: center;
  gap: 18px;
  color: var(--ink);
}

.footer-mark {
  display: block;
  width: clamp(42px, 3.3vw, 56px);
}

.footer-mark-image {
  width: 100%;
  height: auto;
}

.footer-wordmark {
  justify-self: center;
  font-size: clamp(1.9rem, 2.3vw, 2.8rem);
  line-height: 0.9;
}

.footer-link {
  justify-self: end;
  font-size: clamp(0.95rem, 1.1vw, 1.2rem);
  font-weight: 500;
  color: var(--ink);
}

.footer-mark,
.footer-wordmark,
.footer-link,
.policy-home-link {
  color: inherit;
  text-decoration: none;
}

.footer-link[aria-current="page"] {
  opacity: 0.68;
  pointer-events: none;
}

.policy-shell {
  padding-top: clamp(24px, 4vw, 56px);
}

.policy-card {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: clamp(28px, 3vw, 40px);
  background: var(--paper-card);
  box-shadow: var(--hero-shadow);
}

.policy-home-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(18px, 2vw, 28px);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.policy-header {
  display: grid;
  gap: 14px;
}

.policy-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.policy-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.4vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.policy-updated {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.policy-lead {
  max-width: 72ch;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.72;
}

.policy-section {
  margin-top: clamp(24px, 3vw, 34px);
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line-strong);
}

.policy-section h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.policy-section h3 {
  margin: 22px 0 12px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-section p {
  max-width: 74ch;
  font-size: 1rem;
  line-height: 1.75;
}

.policy-section p + p {
  margin-top: 14px;
}

.policy-list {
  margin-top: 12px;
  padding-left: 1.3rem;
}

.policy-list li {
  line-height: 1.7;
}

.policy-list li + li {
  margin-top: 8px;
}

.policy-contact {
  margin-top: 12px;
  color: var(--ink);
}

.policy-contact a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

@media (hover: hover) and (pointer: fine) {
  .app-tile:hover,
  .app-card-link:hover .app-tile {
    transform: translateY(-4px);
    box-shadow:
      0 22px 36px rgba(29, 43, 61, 0.18),
      0 6px 14px rgba(29, 43, 61, 0.1);
  }

  .footer-mark:hover,
  .footer-wordmark:hover,
  .footer-link:hover,
  .policy-home-link:hover {
    opacity: 0.76;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-card {
    animation: rise-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .app-card {
    animation: rise-in 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .app-card:nth-child(1) {
    animation-delay: 70ms;
  }

  .app-card:nth-child(2) {
    animation-delay: 130ms;
  }

  .app-card:nth-child(3) {
    animation-delay: 190ms;
  }

  .app-card:nth-child(4) {
    animation-delay: 250ms;
  }

  .app-card:nth-child(5) {
    animation-delay: 310ms;
  }

  .app-card:nth-child(6) {
    animation-delay: 370ms;
  }

  .site-footer {
    animation: rise-in 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 420ms;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .apps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .app-card h3 {
    font-size: clamp(2rem, 3vw, 2.8rem);
  }
}

@media (max-width: 1024px) {
  :root {
    --shell-width: min(980px, calc(100% - 40px));
    --footer-width: min(980px, calc(100% - 40px));
  }

  .hero-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-art {
    justify-items: center;
    padding-inline-start: 0;
  }

  .hero-copy h1,
  .hero-copy p:last-child {
    max-width: none;
  }

  .hero-copy h1 {
    white-space: normal;
    text-wrap: balance;
  }

  .brand-name {
    text-align: center;
  }
}

@media (max-width: 720px) {
  :root {
    --shell-width: calc(100% - 24px);
    --footer-width: calc(100% - 24px);
  }

  .site-shell {
    padding-top: 14px;
  }

  .hero-card {
    gap: 28px;
    padding: 22px 18px;
    border-radius: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(1.95rem, 8.4vw, 2.4rem);
    line-height: 0.98;
  }

  .slogan-line {
    display: block;
  }

  .hero-copy p:last-child {
    font-size: 1rem;
    line-height: 1.55;
  }

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

  .product-hero .brand-name {
    font-size: clamp(3.8rem, 15vw, 4.8rem);
  }

  .app-card h3 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .app-coming-soon {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
  }

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

  .store-button {
    min-height: 78px;
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .site-footer {
    grid-template-columns: auto 1fr auto;
    padding-bottom: 28px;
  }

  .policy-card {
    padding: 22px 18px 26px;
    border-radius: 28px;
  }

  .policy-title {
    font-size: clamp(2.35rem, 12vw, 3rem);
  }

  .policy-section h2 {
    font-size: clamp(1.7rem, 8vw, 2.1rem);
  }

  .policy-section p,
  .policy-list li {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .footer-wordmark {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .footer-link {
    font-size: clamp(0.9rem, 4.4vw, 1rem);
  }
}

@media (max-width: 420px) {
  .policy-home-link {
    font-size: 0.8rem;
  }

  .brand-name {
    font-size: clamp(4.2rem, 19vw, 5.3rem);
  }

  .app-tile {
    padding: 12px;
    border-radius: 22px;
  }

  .app-symbol {
    width: 100%;
  }
}
