:root {
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #dbeafe;
  --violet: #7c3aed;
  --text: #0f172a;
  --muted: #64748b;
  --bg: #f1f5f9;
  --line: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #e0e7ff, var(--bg) 55%);
  -webkit-font-smoothing: antialiased;
}

.device-android {
  --accent: #16a34a;
  --accent-dark: #15803d;
  --accent-soft: #dcfce7;
}

.device-ios {
  --accent: #007aff;
  --accent-dark: #0062cc;
  --accent-soft: #dbeafe;
}

.device-desktop {
  --accent: #2563eb;
}

.card {
  width: min(560px, 100%);
  padding: 48px 40px;
  text-align: center;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  background: var(--accent);
  border-radius: 999px;
}

h1 {
  margin: 20px 0 12px;
  font-size: clamp(2rem, 6vw, 2.75rem);
  letter-spacing: -0.03em;
}

p {
  margin: 0 0 28px;
  line-height: 1.7;
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.button-ghost {
  color: var(--text);
  background: #ffffff;
  border-color: var(--line);
}

.button-ghost:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.note {
  margin: 24px 0 0;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Desktop landing page
   -------------------------------------------------------------------------- */

body.device-desktop {
  display: block;
  padding: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: #ffffff;
}

.device-desktop .page {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  font-size: 0.9rem;
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 9px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav .nav-cta {
  padding: 9px 18px;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent);
  border-radius: 999px;
}

.site-nav .nav-cta:hover {
  color: #ffffff;
  background: var(--accent-dark);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}

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

.eyebrow {
  display: inline-block;
  padding: 7px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: #eff6ff;
  border-radius: 999px;
}

.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(95deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero .lead {
  max-width: 560px;
  margin: 0 0 30px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .micro {
  margin: 16px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.visual-glow {
  position: absolute;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 68%);
  border-radius: 50%;
  filter: blur(8px);
}

.app-window {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.18);
  transform: rotate(-1.5deg);
}

.window-top {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.window-top span {
  width: 8px;
  height: 8px;
  background: #cbd5e1;
  border-radius: 50%;
}

.window-main {
  display: grid;
  grid-template-columns: 74px 1fr;
  min-height: 300px;
}

.window-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  padding: 16px 12px;
  background: #0f172a;
}

.side-logo {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 9px;
}

.side-line {
  width: 32px;
  height: 6px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.side-line.active {
  width: 38px;
  background: #60a5fa;
}

.window-content {
  padding: 20px;
}

.content-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.mini-label {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.content-title {
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.content-avatar {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  border-radius: 50%;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.stat {
  padding: 12px 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.stat strong {
  display: block;
  font-size: 1.1rem;
}

.stat span {
  font-size: 0.62rem;
  color: var(--muted);
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
  margin-top: 18px;
  padding: 12px;
  background: linear-gradient(180deg, #eff6ff, #ffffff);
  border: 1px solid #dbeafe;
  border-radius: 12px;
}

.chart span {
  flex: 1;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

.task-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.task {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.task-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.task-line {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
}

.task-line.short {
  max-width: 55%;
}

.phone {
  position: absolute;
  right: -8px;
  bottom: -24px;
  z-index: 2;
  width: 132px;
  height: 260px;
  padding: 8px;
  background: #0f172a;
  border-radius: 26px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.28);
  transform: rotate(4deg);
}

.phone-notch {
  width: 44px;
  height: 5px;
  margin: 2px auto 0;
  background: #334155;
  border-radius: 999px;
}

.phone-screen {
  height: calc(100% - 10px);
  margin-top: 5px;
  padding: 14px 10px;
  background: #ffffff;
  border-radius: 20px;
}

.phone-pill {
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 12px;
  background: #dbeafe;
  border-radius: 999px;
}

.phone-title {
  display: block;
  width: 70%;
  height: 10px;
  margin-bottom: 10px;
  background: #0f172a;
  border-radius: 999px;
}

.phone-line {
  display: block;
  width: 100%;
  height: 6px;
  margin-bottom: 6px;
  background: #e2e8f0;
  border-radius: 999px;
}

.phone-line.short {
  width: 60%;
}

.phone-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 14px;
}

.phone-tiles span {
  height: 34px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
}

.phone-button {
  display: block;
  height: 24px;
  margin-top: 14px;
  background: var(--accent);
  border-radius: 999px;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.float-sync {
  top: 42px;
  left: -16px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.float-devices {
  bottom: 34px;
  left: -6px;
  color: var(--muted);
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 96px 32px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

.section-head p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}

.features {
  background: #f8fafc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--accent);
  background: #eff6ff;
  border-radius: 12px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted);
}

.download .section-head {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  color: inherit;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.platform-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.09);
  transform: translateY(-2px);
}

.platform-icon {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--accent);
  background: #eff6ff;
  border-radius: 10px;
}

.platform-icon svg {
  width: 21px;
  height: 21px;
}

.platform-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.platform-copy strong {
  font-size: 0.95rem;
}

.platform-copy small {
  font-size: 0.78rem;
  color: var(--muted);
}

.platform-arrow {
  margin-left: auto;
  color: var(--muted);
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 32px;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner nav {
  display: flex;
  gap: 20px;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--text);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 56px;
    padding-bottom: 72px;
  }

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

  .hero-visual {
    width: 100%;
    max-width: 560px;
    min-height: 430px;
    margin: 0 auto;
  }

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

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

@media (max-width: 640px) {
  .header-inner,
  .hero,
  .section,
  .footer-inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.5rem);
  }

  .hero .lead {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 350px;
  }

  .window-main {
    grid-template-columns: 56px 1fr;
    min-height: 250px;
  }

  .window-sidebar {
    padding: 12px 8px;
  }

  .side-line {
    width: 24px;
  }

  .side-line.active {
    width: 30px;
  }

  .window-content {
    padding: 14px;
  }

  .stat-row {
    gap: 6px;
  }

  .stat {
    padding: 8px;
  }

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

  .chart {
    height: 70px;
  }

  .phone {
    right: 0;
    bottom: -10px;
    width: 104px;
    height: 205px;
  }

  .float-sync {
    top: 18px;
    left: 0;
  }

  .float-devices {
    bottom: 8px;
    left: 0;
  }

  .float-card {
    padding: 8px 10px;
    font-size: 0.68rem;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

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

/* --------------------------------------------------------------------------
   iOS landing page
   -------------------------------------------------------------------------- */

body.ios-landing {
  display: block;
  padding: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: #ffffff;
}

body.ios-landing .page {
  width: 100%;
}

.ios-header {
  background: rgba(6, 9, 19, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.ios-header .brand {
  color: #ffffff;
}

.ios-header .site-nav a {
  color: #94a3b8;
}

.ios-header .site-nav a:hover {
  color: #ffffff;
}

.ios-header .nav-cta,
.ios-header .nav-cta:hover {
  color: #ffffff;
}

.ios-hero-wrap {
  background:
    radial-gradient(900px 520px at 82% 8%, rgba(37, 99, 235, 0.38), transparent 65%),
    radial-gradient(700px 460px at 8% 92%, rgba(124, 58, 237, 0.24), transparent 68%),
    #060913;
}

.ios-hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 88px 32px 104px;
}

.ios-hero-copy {
  max-width: 620px;
}

.ios-hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(3rem, 6.2vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.ios-hero .eyebrow {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.14);
}

.ios-hero .gradient-text {
  background: linear-gradient(95deg, #60a5fa, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
}

.ios-hero .lead {
  max-width: 560px;
  margin: 0 0 30px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #94a3b8;
}

.ios-hero .hero-actions {
  align-items: center;
}

.ios-hero .micro {
  margin: 16px 0 0;
  font-size: 0.78rem;
  color: #64748b;
}

.ios-hero .ios-ghost {
  color: #e2e8f0;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.ios-hero .ios-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.ios-store-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 18px;
  color: #ffffff;
  text-decoration: none;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.ios-store-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.ios-store-button svg {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
}

.ios-store-button small {
  display: block;
  font-size: 0.6rem;
  line-height: 1.1;
  opacity: 0.7;
}

.ios-store-button strong {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
}

.ios-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 590px;
}

.ios-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.42), transparent 68%);
  border-radius: 50%;
  filter: blur(12px);
}

.iphone-large {
  position: relative;
  z-index: 2;
  width: 268px;
  height: 540px;
  padding: 11px;
  background: linear-gradient(145deg, #1e293b, #020617);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 46px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  transform: rotate(-3deg);
}

.iphone-large-notch {
  position: absolute;
  top: 19px;
  left: 50%;
  z-index: 3;
  width: 88px;
  height: 22px;
  background: #020617;
  border-radius: 999px;
  transform: translateX(-50%);
}

.iphone-large-screen {
  position: relative;
  height: 100%;
  padding: 54px 18px 76px;
  overflow: hidden;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-radius: 36px;
}

.ios-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #0f172a;
}

.ios-status-icons {
  font-size: 0.5rem;
  letter-spacing: 0.12em;
}

.ios-greeting {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ios-subtitle {
  margin-top: 2px;
  margin-bottom: 16px;
  font-size: 0.72rem;
  color: var(--muted);
}

.ios-stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ios-stat-cards div {
  padding: 12px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
}

.ios-stat-cards strong {
  display: block;
  font-size: 1.2rem;
}

.ios-stat-cards span {
  font-size: 0.6rem;
  color: var(--muted);
}

.ios-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 96px;
  margin-top: 12px;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.ios-chart span {
  flex: 1;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  border-radius: 3px 3px 0 0;
}

.ios-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.ios-list-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.ios-list-item > span {
  width: 18px;
  height: 18px;
  background: #dbeafe;
  border-radius: 6px;
}

.ios-list-item > i {
  flex: 1;
  height: 5px;
  font-style: normal;
  background: #e2e8f0;
  border-radius: 999px;
}

.ios-tabbar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 52px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ios-tabbar span {
  width: 20px;
  height: 20px;
  background: #e2e8f0;
  border-radius: 6px;
}

.ios-tabbar span:first-child {
  background: #bfdbfe;
}

.ios-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ios-float-sync {
  top: 74px;
  left: -14px;
}

.ios-float-devices {
  right: -22px;
  bottom: 72px;
  color: #cbd5e1;
}

.ios-features {
  background: #ffffff;
}

.ios-features .section {
  padding-bottom: 72px;
}

.ios-download .section {
  padding-top: 0;
  padding-bottom: 96px;
}

.ios-download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 52px;
  color: #ffffff;
  background:
    radial-gradient(700px 320px at 88% 0%, rgba(96, 165, 250, 0.5), transparent 66%),
    linear-gradient(135deg, #0f172a, #1d4ed8);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(29, 78, 216, 0.2);
}

.ios-download-copy {
  max-width: 580px;
}

.ios-download-card .eyebrow {
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.12);
}

.ios-download-card h2 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: -0.04em;
}

.ios-download-card p {
  margin: 0;
  line-height: 1.7;
  color: #bfdbfe;
}

.ios-download-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.ios-download-actions .micro {
  margin: 0;
  font-size: 0.76rem;
  color: #93c5fd;
}

@media (max-width: 960px) {
  .ios-hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 80px;
  }

  .ios-hero-copy {
    max-width: 680px;
  }

  .ios-hero-visual {
    min-height: 560px;
  }

  .ios-download-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .ios-hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .ios-hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }

  .ios-hero .lead {
    font-size: 1rem;
  }

  .ios-hero-visual {
    min-height: 500px;
  }

  .iphone-large {
    width: 230px;
    height: 470px;
    border-radius: 40px;
  }

  .iphone-large-screen {
    padding: 48px 14px 70px;
    border-radius: 31px;
  }

  .ios-float-sync {
    top: 28px;
    left: 0;
  }

  .ios-float-devices {
    right: 0;
    bottom: 34px;
  }

  .ios-float {
    padding: 8px 10px;
    font-size: 0.66rem;
  }

  .ios-features .section {
    padding-bottom: 56px;
  }

  .ios-download .section {
    padding-bottom: 72px;
  }

  .ios-download-card {
    padding: 30px 24px;
    border-radius: 20px;
  }
}
