:root {
  --coral: #ff6b57;
  --coral-soft: #ff8a72;
  --coral-deep: #ff5f4a;
  --sunrise: #ff9a3d;
  --yellow: #ffc857;
  --mint: #2ec4b6;
  --navy: #132235;
  --muted: #6f7685;
  --cream: #fff4ef;
  --blush: #fff0e8;
  --sand: #f8eee8;
  --surface: #fff9f6;
  --stroke: #f2e8e0;
  --shadow: rgba(19, 34, 53, 0.13);
  --radius: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--surface);
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

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

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.site-shell {
  min-height: 100svh;
  overflow: clip;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
  padding: 0 34px;
  background: rgba(255, 249, 246, 0.9);
  border-bottom: 1px solid rgba(242, 232, 224, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 34px;
  height: 38px;
  object-fit: contain;
}

.brand-word {
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
}

.nav-links a:hover {
  color: var(--navy);
  background: #fff;
}

.hero {
  position: relative;
  min-height: 720px;
  padding: 76px 34px 42px;
  background: #fff8f4;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 112px;
  background: linear-gradient(to bottom, rgba(255, 248, 244, 0), var(--surface));
  pointer-events: none;
  z-index: -1;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.device-stage {
  position: absolute;
  top: 36px;
  right: max(0px, calc((100vw - 1180px) / 2 - 20px));
  bottom: 18px;
  width: min(55vw, 690px);
}

.phone {
  position: absolute;
  filter: drop-shadow(0 36px 54px rgba(19, 34, 53, 0.19));
}

.phone-primary {
  right: 64px;
  top: 32px;
  width: 338px;
  transform: rotate(3deg);
}

.phone-secondary {
  right: 360px;
  top: 192px;
  width: 232px;
  transform: rotate(-8deg);
  opacity: 0.97;
}

.phone-hardware {
  position: relative;
  padding: 12px;
  border-radius: 47px;
  background: #111a27;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    inset 0 -8px 22px rgba(0, 0, 0, 0.36);
}

.speaker {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: #060b12;
  transform: translateX(-50%);
}

.app-screen {
  position: relative;
  min-height: 660px;
  padding: 20px 18px 22px;
  overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(145deg, #fff, #fff8f4 52%, #fffdfc);
}

.phone-secondary .app-screen {
  min-height: 464px;
  padding: 18px 15px 17px;
}

.screen-top,
.app-header,
.card-title-row,
.upcoming-row,
.tabbar,
.hero-actions,
.footer {
  display: flex;
  align-items: center;
}

.screen-top {
  justify-content: space-between;
  padding: 0 8px 24px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.battery {
  width: 22px;
  height: 11px;
  border: 1.8px solid rgba(19, 34, 53, 0.72);
  border-radius: 4px;
}

.battery::after {
  content: "";
  display: block;
  width: 13px;
  height: 5px;
  margin: 1.2px;
  border-radius: 2px;
  background: var(--navy);
}

.app-header {
  justify-content: space-between;
  margin-bottom: 18px;
}

.app-header p {
  margin: 0;
  font-size: 13px;
  font-weight: 850;
  color: var(--muted);
}

.app-header button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--navy);
  background: linear-gradient(145deg, #fff, var(--blush));
  border: 1px solid var(--stroke);
  border-radius: 999px;
}

.today-copy h2 {
  max-width: 246px;
  margin: 0 0 6px;
  font-size: 32px;
  line-height: 1.02;
}

.today-copy p,
.message-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.heyday-card,
.message-card,
.feature-grid article,
.testflight-card {
  background: linear-gradient(145deg, #fff, var(--surface));
  border: 1px solid var(--stroke);
  box-shadow: 0 18px 36px rgba(223, 200, 188, 0.2);
}

.heyday-card {
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius);
}

.card-title-row {
  justify-content: space-between;
  gap: 12px;
}

.card-title-row strong,
.upcoming-row strong {
  display: block;
  font-size: 17px;
}

.card-title-row span,
.upcoming-row p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.soft-badge,
.feature-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--coral);
  background: var(--blush);
  border-radius: 999px;
}

.soft-badge {
  width: 44px;
  height: 44px;
}

.soft-badge.small {
  width: 34px;
  height: 34px;
}

.last-time {
  margin: 18px 0 14px;
  padding: 13px;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: rgba(255, 244, 239, 0.9);
}

.last-time span {
  display: block;
  margin-bottom: 5px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.last-time p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.send-button,
.copy-button,
.primary-link,
.testflight-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  background: linear-gradient(145deg, var(--coral-soft), var(--coral-deep));
  border: 0;
  border-radius: 18px;
  box-shadow: 0 12px 22px rgba(255, 95, 74, 0.24);
  font-weight: 850;
}

.send-button {
  width: 100%;
  min-height: 48px;
}

.upcoming-list {
  margin-top: 18px;
}

.upcoming-row {
  gap: 10px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--stroke);
}

.upcoming-row p {
  margin: 3px 0 0;
}

.upcoming-row div {
  flex: 1;
}

.upcoming-row button {
  color: var(--coral-deep);
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 850;
}

.dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
}

.dot-mint {
  background: rgba(46, 196, 182, 0.2);
  border: 6px solid rgba(46, 196, 182, 0.58);
}

.dot-coral {
  background: rgba(255, 107, 87, 0.18);
  border: 6px solid rgba(255, 107, 87, 0.58);
}

.tabbar {
  position: absolute;
  right: 18px;
  bottom: 14px;
  left: 18px;
  justify-content: space-around;
  padding: 12px 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(242, 232, 224, 0.78);
  border-radius: 24px;
  font-size: 11px;
  font-weight: 850;
  backdrop-filter: blur(16px);
}

.tabbar .active {
  color: var(--coral-deep);
}

.message-screen {
  background: linear-gradient(150deg, #fff, var(--cream));
}

.message-heading {
  display: grid;
  gap: 7px;
}

.message-heading h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.02;
}

.tone-row {
  display: flex;
  gap: 6px;
  margin: 18px 0 12px;
}

.tone-row span {
  flex: 1;
  padding: 8px 6px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
}

.tone-row .selected {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
}

.message-card {
  padding: 14px;
  border-radius: 22px;
}

.message-card + .message-card {
  margin-top: 10px;
}

.message-card p {
  margin: 0;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.42;
}

.muted-card {
  opacity: 0.72;
}

.copy-button {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  border-radius: 16px;
  font-size: 12px;
}

.hero-content,
.why-section,
.beta-section {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin-left: max(0px, calc((100vw - 1120px) / 2));
  padding-top: 56px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral-deep);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 88px;
  line-height: 0.92;
}

.tagline {
  margin: 18px 0 0;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 850;
}

.tagline span {
  display: block;
}

.hero-text {
  max-width: 410px;
  margin: 18px 0 0;
  color: #4f5c6c;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 650;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.primary-link {
  min-height: 54px;
  padding: 0 20px;
}

.launch-note {
  max-width: 230px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.why-section,
.beta-section {
  padding: 54px 34px 70px;
}

.why-section {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-top: 1px solid var(--stroke);
}

.section-copy {
  max-width: 690px;
}

.section-copy h2,
.beta-copy h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.02;
}

.section-copy p,
.beta-copy p {
  margin: 18px 0 0;
  color: #4f5c6c;
  font-size: 17px;
  line-height: 1.58;
  font-weight: 650;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.feature-grid article {
  min-height: 242px;
  padding: 24px;
  border-radius: 28px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
}

.mint-icon {
  color: var(--mint);
  background: rgba(46, 196, 182, 0.12);
}

.yellow-icon {
  color: #bd7a12;
  background: rgba(255, 200, 87, 0.22);
}

.feature-grid h3 {
  margin: 0;
  font-size: 22px;
}

.feature-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

.beta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 42px;
  padding-top: 60px;
  padding-bottom: 88px;
  background: #fff;
  border-top: 1px solid var(--stroke);
}

.beta-mark {
  width: 58px;
  height: 65px;
  object-fit: contain;
  margin-bottom: 18px;
}

.testflight-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 30px;
}

.testflight-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--coral);
  background: var(--blush);
  border-radius: 18px;
}

.testflight-card h3 {
  margin: 4px 0 0;
  font-size: 25px;
  line-height: 1.08;
}

.testflight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

.testflight-button {
  min-height: 54px;
  width: 100%;
}

.testflight-link {
  overflow-wrap: anywhere;
  color: var(--coral-deep);
  font-size: 13px;
  font-weight: 850;
}

.testflight-status {
  min-height: 22px;
}

.testflight-status.success {
  color: #157f72;
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px 34px 34px;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--stroke);
  font-size: 14px;
  font-weight: 750;
}

.footer a {
  color: var(--coral-deep);
}

@media (max-width: 1050px) {
  .hero {
    min-height: 980px;
    padding-top: 48px;
  }

  .hero-content {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
  }

  .device-stage {
    top: 405px;
    right: 50%;
    width: 680px;
    height: 530px;
    transform: translateX(50%);
  }

  .phone-primary {
    right: 112px;
    width: 306px;
  }

  .phone-secondary {
    right: 404px;
    top: 156px;
    width: 218px;
  }

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

  .feature-grid article {
    min-height: 0;
  }

  .beta-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    height: 66px;
    padding: 0 18px;
  }

  .brand-word {
    font-size: 23px;
  }

  .nav-links a:first-child {
    display: none;
  }

  .hero {
    min-height: 930px;
    padding: 40px 20px 30px;
  }

  h1 {
    font-size: 58px;
  }

  .tagline {
    font-size: 21px;
  }

  .hero-text {
    font-size: 16px;
  }

  .primary-link {
    width: 100%;
  }

  .launch-note {
    max-width: none;
  }

  .device-stage {
    top: 455px;
    width: 470px;
    height: 460px;
  }

  .phone-primary {
    right: 62px;
    width: 244px;
  }

  .phone-secondary {
    right: 270px;
    top: 156px;
    width: 166px;
  }

  .phone-hardware {
    padding: 9px;
    border-radius: 36px;
  }

  .speaker {
    top: 14px;
    width: 64px;
    height: 18px;
  }

  .app-screen {
    min-height: 500px;
    padding: 16px 14px 18px;
    border-radius: 28px;
  }

  .phone-secondary .app-screen {
    min-height: 332px;
    padding: 13px 10px;
  }

  .screen-top {
    padding-bottom: 18px;
    font-size: 10px;
  }

  .app-header {
    margin-bottom: 12px;
  }

  .today-copy h2 {
    font-size: 24px;
  }

  .today-copy p,
  .message-heading p {
    font-size: 12px;
  }

  .heyday-card {
    margin-top: 15px;
    padding: 16px;
    border-radius: 24px;
  }

  .card-title-row strong,
  .upcoming-row strong {
    font-size: 13px;
  }

  .soft-badge {
    width: 34px;
    height: 34px;
  }

  .last-time {
    display: none;
  }

  .send-button {
    min-height: 42px;
    margin-top: 14px;
    font-size: 13px;
  }

  .upcoming-row:nth-child(2) {
    display: none;
  }

  .message-heading h3 {
    font-size: 17px;
  }

  .tone-row {
    margin: 12px 0 8px;
  }

  .tone-row span {
    padding: 6px 4px;
    font-size: 8px;
  }

  .message-card {
    padding: 10px;
    border-radius: 16px;
  }

  .message-card p {
    font-size: 9px;
  }

  .copy-button {
    min-height: 34px;
    font-size: 9px;
  }

  .why-section,
  .beta-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .section-copy h2,
  .beta-copy h2 {
    font-size: 34px;
  }

  .section-copy p,
  .beta-copy p {
    font-size: 16px;
  }

  .feature-grid article,
  .testflight-card {
    border-radius: 24px;
  }

  .footer {
    display: grid;
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 895px;
  }

  .device-stage {
    top: 475px;
    width: 408px;
  }

  .phone-primary {
    right: 40px;
    width: 224px;
  }

  .phone-secondary {
    right: 248px;
    width: 150px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .phone-primary {
    animation: float-primary 7s ease-in-out infinite;
  }

  .phone-secondary {
    animation: float-secondary 8s ease-in-out infinite;
  }

  @keyframes float-primary {
    0%,
    100% {
      transform: rotate(3deg) translateY(0);
    }
    50% {
      transform: rotate(2deg) translateY(-10px);
    }
  }

  @keyframes float-secondary {
    0%,
    100% {
      transform: rotate(-8deg) translateY(0);
    }
    50% {
      transform: rotate(-6deg) translateY(8px);
    }
  }
}
