:root {
  --bg: #0f172a;
  --bg-secondary: #1e293b;
  --surface: rgba(255, 255, 255, 0.1);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --border: rgba(255, 255, 255, 0.1);

  --primary: #38bdf8;
  --primary-pressed: #0ea5e9;
  --secondary: #a78bfa;
  --accent: #f472b6;

  --text-primary: #ffffff;
  --text-secondary: #cbd5f5;
  --text-disabled: #64748b;

  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(1200px 600px at 8% -10%, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(900px 500px at 92% 0%, rgba(167, 139, 250, 0.16), transparent 45%),
    linear-gradient(145deg, #0f172a 0%, #111c34 45%, #1e293b 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo-pill {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #0f172a;
}

.header-nav {
  display: flex;
  gap: 1rem;
}

.header-nav a,
.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 180ms ease;
}

.header-nav a:hover,
.site-footer a:hover {
  color: var(--text-primary);
}

main {
  padding: 1.25rem 0 2.5rem;
}

.glass {
  border: 1px solid var(--border);
  background: linear-gradient(165deg, var(--surface-strong), var(--surface));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 16px 40px rgba(0, 0, 0, 0.26);
}

.hero {
  border-radius: var(--radius-xl);
  padding: clamp(1.3rem, 2.5vw, 2.2rem);
  margin-top: 0.5rem;
}

.hero-intro {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ios-app-icon {
  width: clamp(54px, 8vw, 72px);
  border-radius: 22.5%;
  padding: 4px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.08)
  );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    inset 0 -2px 6px rgba(15, 23, 42, 0.28),
    0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 260ms ease, box-shadow 260ms ease;
  animation: iconFloat 6s ease-in-out infinite;
}

.ios-app-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22.5%;
}

.eyebrow {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  line-height: 1.15;
  margin: 0;
}

h1 {
  margin-top: 0.6rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

.lead {
  max-width: 66ch;
  color: var(--text-secondary);
  margin: 1rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.editor-spotlight {
  margin-top: 1rem;
  border-radius: var(--radius-xl);
  padding: clamp(1rem, 2.4vw, 1.6rem);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.editor-spotlight-copy h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}

.editor-spotlight-copy p {
  margin: 0.75rem 0 0;
  color: var(--text-secondary);
}

.editor-highlights {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-secondary);
}

.editor-highlights li + li {
  margin-top: 0.35rem;
}

.editor-spotlight-media {
  min-height: 240px;
}

.editor-shot-placeholder {
  height: 100%;
  min-height: 240px;
  border-radius: var(--radius-lg);
  border: 1px dashed color-mix(in srgb, var(--primary) 55%, var(--border));
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.13), rgba(167, 139, 250, 0.16));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}

.editor-shot-placeholder span {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
}

.editor-shot-placeholder small {
  display: block;
  margin-top: 0.4rem;
  max-width: 28ch;
  color: var(--text-secondary);
}

.editor-shot-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: calc(var(--radius-lg) - 2px);
  transition: transform 360ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ios-app-icon:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, 0.45),
      inset 0 -2px 6px rgba(15, 23, 42, 0.28),
      0 14px 30px rgba(0, 0, 0, 0.4);
  }

  .editor-shot-placeholder:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  }

  .editor-shot-placeholder:hover img {
    transform: scale(1.02);
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ios-app-icon,
  .editor-shot-placeholder,
  .editor-shot-placeholder img {
    animation: none;
    transition: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, filter 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-primary {
  color: #0f172a;
  background: linear-gradient(130deg, var(--primary), var(--secondary));
}

.btn-accent {
  color: #0f172a;
  background: linear-gradient(130deg, var(--primary), var(--accent));
}

.btn-ghost {
  color: var(--text-primary);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 1rem;
  animation: rise 700ms ease both;
}

.feature-card p {
  margin: 0.55rem 0 0;
  color: var(--text-secondary);
}

.cta {
  border-radius: var(--radius-xl);
  margin-top: 1rem;
  padding: 1.2rem;
}

.cta p {
  color: var(--text-secondary);
  margin: 0.5rem 0 0;
}

.policy {
  border-radius: var(--radius-xl);
  padding: clamp(1.2rem, 2.8vw, 2.2rem);
  margin-top: 0.5rem;
}

.policy p,
.policy li {
  color: var(--text-secondary);
}

.policy h2 {
  font-size: 1.1rem;
  margin-top: 1.15rem;
}

.policy a {
  color: var(--primary);
}

.small-note {
  color: var(--text-disabled);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--text-secondary);
  padding: 0.8rem 0 1.4rem;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
  opacity: 0.5;
}

.ambient-a {
  width: 240px;
  height: 240px;
  left: -70px;
  top: 12vh;
  background: color-mix(in srgb, var(--primary) 70%, transparent);
}

.ambient-b {
  width: 280px;
  height: 280px;
  right: -90px;
  top: 20vh;
  background: color-mix(in srgb, var(--secondary) 72%, transparent);
}

.ambient-c {
  width: 220px;
  height: 220px;
  left: 36%;
  bottom: -90px;
  background: color-mix(in srgb, var(--accent) 55%, transparent);
}

.reveal:nth-child(2) {
  animation-delay: 80ms;
}

.reveal:nth-child(3) {
  animation-delay: 140ms;
}

.reveal:nth-child(4) {
  animation-delay: 190ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@media (max-width: 800px) {
  .hero-intro {
    gap: 0.6rem;
  }

  .ios-app-icon {
    width: 56px;
  }

  .editor-spotlight {
    grid-template-columns: 1fr;
  }

  .editor-spotlight-media,
  .editor-shot-placeholder {
    min-height: 210px;
  }

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

  .site-header {
    position: static;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
