:root {
  --bg: #fff9f2;
  --bg-soft: #fdf4e7;
  --text: #161c2d;
  --muted: #4c5773;
  --card: rgba(255, 255, 255, 0.78);
  --line: rgba(24, 34, 58, 0.12);
  --accent: #f08b41;
  --accent-strong: #de6d1a;
  --accent-cool: #1d8f87;
  --shadow: 0 18px 40px rgba(18, 26, 44, 0.12);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, #ffe6ce 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, #d8fbf4 0%, transparent 35%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.65;
  pointer-events: none;
}

.bg-shape-a {
  width: 340px;
  height: 340px;
  background: #ffd2a9;
  top: -70px;
  left: -80px;
}

.bg-shape-b {
  width: 420px;
  height: 420px;
  background: #a6efe5;
  right: -150px;
  top: 120px;
}

.layout {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(20, 30, 50, 0.15);
}

.text-link {
  color: var(--accent-cool);
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.feature-card,
.policy-shell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
}

.eyebrow {
  margin: 0 0 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cool);
  font-size: 0.75rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.02;
  margin-bottom: 14px;
}

.subtitle {
  margin: 0 0 24px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ios-button {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  background: linear-gradient(180deg, #222 0%, #000 100%);
  text-decoration: none;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ios-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.ios-button.disabled {
  opacity: 0.52;
  cursor: not-allowed;
  box-shadow: none;
}

.apple-logo {
  font-size: 0.78rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.ios-button-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.ios-button-text small {
  font-size: 0.62rem;
  opacity: 0.92;
}

.ios-button-text strong {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.store-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.hero-visual {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-card {
  width: 100%;
  max-width: 290px;
  border-radius: 18px;
  background: linear-gradient(150deg, #f4f8ff 0%, #ffffff 70%);
  border: 1px solid rgba(28, 45, 77, 0.1);
  padding: 26px 20px;
  text-align: center;
}

.app-icon-large {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  box-shadow: 0 14px 26px rgba(20, 30, 50, 0.2);
  margin-bottom: 16px;
}

.device-card h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.device-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.feature-card {
  padding: 20px;
}

.feature-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.footer {
  margin-top: 24px;
  padding: 4px 0 10px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.footer p {
  margin: 0;
  font-size: 0.93rem;
}

.footer a {
  color: var(--accent-cool);
}

.muted {
  color: var(--muted);
}

.policy-shell {
  padding: 30px;
  max-width: 860px;
  margin: 0 auto;
}

.policy-header {
  margin-bottom: 22px;
}

.policy-header h1 {
  margin-bottom: 10px;
}

.policy-header p {
  margin: 0;
  color: var(--muted);
}

.policy-section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}

.policy-section h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.policy-section p,
.policy-section li {
  color: var(--muted);
  line-height: 1.6;
}

.policy-section ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.reveal {
  animation: revealUp 640ms ease both;
}

.reveal:nth-child(2) { animation-delay: 90ms; }
.reveal:nth-child(3) { animation-delay: 180ms; }
.reveal:nth-child(4) { animation-delay: 260ms; }
.reveal:nth-child(5) { animation-delay: 340ms; }

@keyframes revealUp {
  from {
    transform: translateY(18px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .hero-copy,
  .hero-visual,
  .policy-shell {
    padding: 24px;
  }
}
