@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap");

:root {
  --ivory: #f8f1e3;
  --ivory-deep: #eee2ce;
  --surface: #fffdf8;
  --surface-soft: #fbf7ee;
  --teal: #0b5d5b;
  --teal-dark: #073f3e;
  --teal-soft: #d8e9e4;
  --coral: #d87968;
  --coral-soft: #f3d3c8;
  --gold: #d8a84e;
  --ink: #173c3b;
  --muted: #5c6f6c;
  --line: #ded8c9;
  --shadow: 0 28px 70px rgba(30, 69, 65, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 12%, rgba(216, 121, 104, 0.15) 0 7rem, transparent 7.1rem),
    radial-gradient(circle at 94% 88%, rgba(11, 93, 91, 0.1) 0 12rem, transparent 12.1rem),
    var(--ivory);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--teal-dark);
  border-radius: 0.5rem;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(1180px, calc(100% - 3rem));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--teal-dark);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(11, 93, 91, 0.55);
  border-radius: 14px;
  box-shadow:
    inset 0 0 0 3px rgba(255, 253, 248, 0.72),
    0 7px 20px rgba(7, 63, 62, 0.12);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--teal-dark);
  background: rgba(255, 253, 248, 0.75);
  border: 1px solid rgba(11, 93, 91, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill span {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--coral-soft);
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7.5rem);
  padding: 3.5rem 0 5rem;
}

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

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.5rem;
  color: var(--teal-dark);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(3.4rem, 6.2vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 em {
  color: var(--coral);
  font-weight: 400;
}

.intro {
  max-width: 520px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.availability {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem 0.85rem 0.9rem;
  color: #fff;
  background: var(--teal);
  border: 2px solid var(--teal);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(11, 93, 91, 0.17);
}

.android-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 10px;
}

.android-mark svg {
  width: 26px;
  fill: currentColor;
}

.availability small,
.availability strong {
  display: block;
}

.availability small {
  margin-bottom: 0.12rem;
  color: #d9efeb;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.availability strong {
  font-size: 0.95rem;
}

.release-note {
  margin: 0.85rem 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.app-card {
  position: relative;
  isolation: isolate;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(11, 93, 91, 0.12);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.app-card::before {
  position: absolute;
  z-index: -1;
  inset: 18% -22px -22px 18%;
  content: "";
  background: var(--teal-soft);
  border-radius: 34px;
  transform: rotate(2.5deg);
}

.logo-frame {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: var(--surface-soft);
  border: 2px solid rgba(11, 93, 91, 0.55);
  border-radius: 24px;
  box-shadow: inset 0 0 0 5px rgba(255, 253, 248, 0.72);
}

.logo-frame img {
  width: 104%;
  height: auto;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(32, 62, 58, 0.12));
  transform: scale(1.035) rotate(-0.6deg);
}

.card-details {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.7rem 0.45rem 0.35rem;
}

.card-label {
  margin-bottom: 0.45rem;
  color: var(--coral);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h2 {
  max-width: 300px;
  margin-bottom: 0;
  color: var(--teal-dark);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 400;
  line-height: 1.12;
}

.qr-placeholder {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px dashed #b8b7aa;
  border-radius: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.qr-placeholder svg {
  width: 58px;
  height: 58px;
}

.qr-corner {
  fill: none;
  stroke: #82918e;
  stroke-width: 4;
}

.qr-inner,
.qr-dots {
  fill: #82918e;
}

.clock-face {
  fill: var(--surface-soft);
  stroke: var(--coral);
  stroke-width: 4;
}

.clock-hand {
  fill: none;
  stroke: var(--coral);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coral-spark {
  position: absolute;
  z-index: 2;
  background: var(--coral);
  border-radius: 999px;
}

.spark-one {
  top: -19px;
  right: 16%;
  width: 9px;
  height: 38px;
  transform: rotate(22deg);
}

.spark-two {
  top: -3px;
  right: 9%;
  width: 8px;
  height: 25px;
  background: var(--gold);
  transform: rotate(53deg);
}

.site-footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--muted);
  border-top: 1px solid rgba(7, 63, 62, 0.12);
  font-size: 0.8rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding-top: 4rem;
  }

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

  h1 {
    max-width: 700px;
  }

  .app-card {
    max-width: 650px;
  }
}

@media (max-width: 580px) {
  .page-shell {
    width: min(100% - 2rem, 1180px);
  }

  .site-header {
    min-height: 86px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .status-pill {
    padding: 0.45rem 0.6rem;
    font-size: 0.68rem;
  }

  .hero {
    padding: 2.5rem 0 4rem;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 4.3rem);
  }

  .app-card {
    border-radius: 24px;
  }

  .app-card::before {
    inset: 14% -10px -14px 13%;
    border-radius: 24px;
  }

  .logo-frame {
    padding: 0;
    border-radius: 18px;
  }

  .logo-frame img {
    width: 104%;
    height: auto;
    max-width: none;
  }

  .card-details {
    grid-template-columns: 1fr;
  }

  .qr-placeholder {
    width: 100%;
  }

  .site-footer {
    padding: 1.4rem 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }
}

@media (max-width: 420px) {
  .status-pill {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
