:root {
  --outside: #eef3f8;
  --page: #ffffff;
  --ink: #071426;
  --muted: #5f6d83;
  --blue: #0b63ce;
  --blue-2: #19a7d7;
  --green: #18a56f;
  --line: #dbe8f4;
  --soft: #f5f9fe;
  --shadow: 0 24px 70px rgba(18, 42, 76, 0.10);
  --shadow-soft: 0 14px 34px rgba(18, 42, 76, 0.08);
  --max: 1080px;
  --shell: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--outside);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.site-shell {
  width: min(var(--shell), calc(100vw - 32px));
  min-height: 100vh;
  margin: 18px auto;
  padding-top: 0;
  overflow: visible;
  background: var(--page);
  border: 1px solid rgba(219, 232, 244, 0.95);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.container {
  width: min(var(--max), calc(100vw - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 232, 244, 0.88);
  border-radius: 18px 18px 0 0;
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.brand span {
  background: linear-gradient(90deg, #2b5c85 0%, #2479bd 48%, #3ca2c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  color: #46556d;
  font-size: 15px;
  font-weight: 850;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 26px rgba(11, 99, 206, 0.22);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.home-hero,
.apps-hero,
.app-hero,
.support-hero,
.legal-hero {
  position: relative;
  background:
    linear-gradient(rgba(11, 99, 206, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 99, 206, 0.04) 1px, transparent 1px),
    #fff;
  background-size: 44px 44px;
  border-bottom: 1px solid rgba(219, 232, 244, 0.8);
}

.home-hero {
  padding: 58px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: center;
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 24px;
  padding: 0 14px;
  color: var(--blue);
  background: #edf5ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.005em;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-copy .lead,
.apps-hero .lead,
.app-hero .lead,
.support-hero .lead,
.legal-hero .lead {
  margin-top: 22px;
}

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

.trust-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  color: #617086;
  font-size: 15px;
  font-weight: 750;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.trust-row span::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 2.4 18 5.2v5.1c0 4.3-2.8 7.9-7 9.3-4.2-1.4-7-5-7-9.3V5.2L11 2.4Z' fill='%232877e4'/%3E%3Cpath d='m7.3 10.8 2.2 2.2 5-5.1' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.phone-stage {
  position: relative;
  min-height: 440px;
}

.phone {
  position: absolute;
  width: 186px;
  overflow: hidden;
  padding: 2px;
  background: #0d1a2b;
  border: 1px solid rgba(13, 26, 43, 0.82);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(18, 42, 76, 0.16);
}

.phone img {
  width: 100%;
  border-radius: 24px;
}

.phone-main {
  z-index: 3;
  top: 0;
  left: 50%;
  width: 220px;
  transform: translateX(-50%);
}

.phone-left {
  z-index: 2;
  top: 74px;
  left: 6px;
  transform: rotate(-7deg);
}

.phone-right {
  z-index: 1;
  top: 92px;
  right: 0;
  transform: rotate(7deg);
}

.section {
  padding: 54px 0;
}

.section-soft {
  background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
  border-top: 1px solid rgba(219, 232, 244, 0.75);
  border-bottom: 1px solid rgba(219, 232, 244, 0.75);
}

.apps-intro,
.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.apps-intro .hero-pill,
.section-head .hero-pill {
  margin-bottom: 12px;
}

.apps-intro h2,
.section-head h2 {
  margin-bottom: 10px;
}

.app-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1060px;
  margin: 0 auto;
}

.app-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 610px;
  padding: 22px 22px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.card-cover-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.app-card:hover {
  border-color: color-mix(in srgb, var(--blue) 28%, var(--line));
  transform: translateY(-1px);
}

.app-card-media,
.app-shot {
  pointer-events: none;
}

.app-card-media {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 118px;
  margin-bottom: 2px;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(18, 42, 76, 0.12);
}

.app-card h3 {
  font-size: 20px;
  line-height: 1.18;
  text-wrap: balance;
}

.app-card-media p,
.app-row p,
.copy-card p,
.use-case p,
.faq-item p,
.feature span,
.panel p,
.panel li,
.mini-app span {
  color: var(--muted);
  line-height: 1.58;
}

.app-card-media p {
  max-width: 220px;
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.45;
  text-wrap: pretty;
}

.device-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19.35;
  padding: 2px;
  background: #0d1a2b;
  border: 1px solid rgba(13, 26, 43, 0.82);
  border-radius: 28px;
  box-shadow: 0 14px 28px rgba(18, 42, 76, 0.12);
}

.device-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
}

.app-shot {
  width: min(235px, 88%);
  height: 465px;
  margin: 0 auto -94px;
  aspect-ratio: auto;
  clip-path: inset(0 0 94px 0 round 28px 28px 0 0);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 3;
  margin-top: 10px;
}

.store-badges-left {
  justify-content: flex-start;
}

.store-badges img {
  width: auto;
  height: 34px;
}

.card-actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 18px;
  padding-top: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #2d69d6;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.text-link::after {
  content: "";
  width: 22px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='12' viewBox='0 0 22 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 6H20M15 1L20 6L15 11' stroke='%232d69d6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.feature-strip,
.app-feature-cards,
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.use-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature,
.app-feature-card,
.copy-card,
.use-case,
.faq-item,
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.feature {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 22px;
  text-align: left;
}

.feature::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -44px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: var(--feature-glow);
  opacity: .38;
  pointer-events: none;
}

.feature-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  flex: 0 0 auto;
  color: var(--feature-accent);
  background: var(--feature-soft);
  border: 1px solid color-mix(in srgb, var(--feature-accent) 22%, #dce9f7);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(18, 42, 76, 0.06);
  overflow: hidden;
}

.feature-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.feature-metric {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  color: var(--feature-accent);
  background: var(--feature-soft);
  border: 1px solid color-mix(in srgb, var(--feature-accent) 18%, #e5eef8);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.feature-forecast {
  --feature-accent: #1266d6;
  --feature-soft: #eef6ff;
  --feature-glow: radial-gradient(circle, rgba(46, 145, 255, .45), rgba(46, 145, 255, 0) 70%);
}

.feature-radar {
  --feature-accent: #0b8f7c;
  --feature-soft: #ecfbf7;
  --feature-glow: radial-gradient(circle, rgba(39, 195, 151, .42), rgba(39, 195, 151, 0) 70%);
}

.feature-alerts {
  --feature-accent: #d17a00;
  --feature-soft: #fff6e6;
  --feature-glow: radial-gradient(circle, rgba(255, 181, 73, .42), rgba(255, 181, 73, 0) 70%);
}

.feature-earth {
  --feature-accent: #5362d8;
  --feature-soft: #f1f3ff;
  --feature-glow: radial-gradient(circle, rgba(100, 122, 245, .38), rgba(100, 122, 245, 0) 70%);
}

.feature strong,
.app-feature-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.feature > span {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.app-feature-card {
  position: relative;
  min-height: 128px;
  overflow: hidden;
  padding: 20px 18px;
  text-align: left;
}

.app-feature-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--feature-accent, #1266d6) 26%, transparent) 0%, transparent 68%);
  pointer-events: none;
}

.app-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-bottom: 16px;
  color: var(--feature-accent, #1266d6);
  background: var(--feature-soft, #eef6ff);
  border: 1px solid color-mix(in srgb, var(--feature-accent, #1266d6) 22%, #dce9f7);
  border-radius: 11px;
  box-shadow: 0 7px 16px rgba(18, 42, 76, 0.055);
  overflow: hidden;
}

.app-feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-feature-icon img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  object-position: center;
}

.app-feature-card > span:not(.app-feature-icon) {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.app-feature-weather,
.app-feature-map {
  --feature-accent: #1266d6;
  --feature-soft: #eef6ff;
}

.app-feature-radar,
.app-feature-cloud,
.app-feature-widget {
  --feature-accent: #0b8f7c;
  --feature-soft: #ecfbf7;
}

.app-feature-alert,
.app-feature-lightning,
.app-feature-timing {
  --feature-accent: #d17a00;
  --feature-soft: #fff6e6;
}

.app-feature-earth,
.app-feature-moon,
.app-feature-global {
  --feature-accent: #5362d8;
  --feature-soft: #f1f3ff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: center;
}

.split-copy .lead {
  margin-top: 18px;
}

.wide-shot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.screen-device {
  width: min(265px, 100%);
  margin: 0 auto;
}

.apps-hero,
.app-hero,
.support-hero,
.legal-hero {
  padding: 56px 0 48px;
}

.apps-hero {
  padding: 42px 0 38px;
}

.apps-hero .container {
  max-width: 980px;
}

.legal-hero .container {
  max-width: 900px;
}

.support-hero .container {
  max-width: var(--max);
}

.apps-hero {
  text-align: center;
}

.apps-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(42px, 4.5vw, 58px);
  line-height: 1.04;
  text-wrap: balance;
}

.apps-hero .lead {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}

.app-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.58fr);
  gap: 46px;
  align-items: center;
}

.app-title-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.app-title-row .app-icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
}

.app-hero h1 {
  font-size: clamp(42px, 4.6vw, 58px);
}

.app-heading {
  display: grid;
  gap: 10px;
}

.app-name {
  display: block;
  font-size: clamp(54px, 5.8vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.app-subtitle {
  display: block;
  color: var(--muted);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-phone-single {
  width: min(280px, 100%);
  max-height: 430px;
  overflow: hidden;
  margin-left: auto;
  align-self: center;
}

.hero-phone-single .screen-device {
  width: 100%;
  height: 540px;
  aspect-ratio: auto;
  box-shadow: var(--shadow);
}

.app-hero-badges {
  justify-content: flex-start;
  margin-top: 24px;
}

.app-hero-badges img {
  height: 46px;
}

.app-feature-cards {
  margin-top: 32px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 22px;
  align-items: stretch;
}

.copy-card,
.use-case,
.faq-item,
.panel {
  padding: 24px;
}

.copy-card h2,
.use-case h3,
.panel h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.12;
}

.copy-card p + p {
  margin-top: 16px;
}

.capability-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  padding: 14px 16px;
  color: #35445a;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  line-height: 1.55;
}

.capability-list strong {
  color: var(--ink);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item h3 {
  font-size: 18px;
}

.faq-item p {
  margin-top: 10px;
}

.app-list {
  display: grid;
  gap: 18px;
}

.app-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 22px;
  align-items: start;
}

.support-form-panel {
  grid-row: span 2;
}

.support-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.support-form label,
.support-form span {
  display: grid;
  gap: 7px;
  color: #344154;
  font-size: 14px;
  font-weight: 800;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

.support-form textarea {
  resize: vertical;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.support-note,
.form-status {
  color: var(--muted);
  font-size: 14px;
}

.panel ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.mini-apps {
  display: grid;
  gap: 12px;
}

.mini-app {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 3px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.mini-app img {
  grid-row: 1 / span 2;
  width: 58px;
  height: 58px;
  border-radius: 12px;
}

.mini-app strong,
.mini-app span {
  grid-column: 2;
  min-width: 0;
}

.mini-app strong {
  align-self: end;
  font-size: 17px;
  line-height: 1.15;
}

.mini-app span {
  display: block;
  align-self: start;
  font-size: 14px;
  line-height: 1.35;
}

.legal-layout {
  display: block;
  max-width: 900px;
}

.legal-nav,
.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.legal-nav {
  position: sticky;
  top: 94px;
  display: grid;
  align-self: start;
  gap: 10px;
  padding: 18px;
}

.legal-nav a {
  padding: 10px 12px;
  color: #46556d;
  border-radius: 10px;
  font-weight: 800;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--soft);
}

.legal-card {
  padding: 30px;
  width: 100%;
}

.updated {
  margin-top: 18px;
  color: #344154;
  font-weight: 800;
}

.legal-content {
  color: #253247;
  font-size: 16px;
  line-height: 1.72;
}

.legal-content strong {
  display: block;
  margin: 28px 0 8px;
  color: var(--ink);
  font-size: 22px;
}

.legal-content a {
  color: var(--blue);
  font-weight: 750;
}

.consent-card {
  max-width: 760px;
  margin: 0 auto;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.consent-actions span {
  width: 100%;
  color: var(--muted);
  font-weight: 700;
}

.legal-content p,
.legal-content ul {
  margin: 0 0 16px;
}

.legal-content br,
.visually-hidden {
  display: none;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.site-footer {
  padding: 30px 0;
  color: #6b7890;
  border-top: 1px solid var(--line);
}

.footer-row,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  justify-content: flex-end;
}

@media (max-width: 1020px) {
  .app-detail-grid,
  .split,
  .content-grid,
  .support-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .feature-strip,
  .app-feature-cards,
  .use-case-grid,
  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-phone-single {
    margin: 0;
  }

  .phone-stage {
    min-height: 420px;
  }
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(270px, 1fr);
    gap: 22px;
  }

  .app-card-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
    gap: 18px;
  }

  .app-card {
    min-height: 585px;
    padding: 18px;
  }

  .app-card-media {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    min-height: 112px;
    margin-bottom: 0;
  }

  .app-icon {
    width: 58px;
    height: 58px;
  }

  .app-card h3 {
    font-size: 20px;
  }

  .app-card-media p {
    font-size: 14px;
  }

  .app-shot {
    width: min(222px, 86%);
    height: 430px;
    margin-top: 0;
    margin-bottom: -92px;
    clip-path: inset(0 0 92px 0 round 28px 28px 0 0);
  }

  .store-badges img {
    height: 34px;
  }

  .app-hero-badges img {
    height: 44px;
  }
}

@media (max-width: 700px) {
  .site-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding-top: 0;
    border: 0;
    border-radius: 0;
  }

  .site-header {
    top: 0;
    border-radius: 0;
  }

  .container {
    width: min(var(--max), calc(100vw - 32px));
  }

  .nav {
    min-height: 70px;
    padding: 0;
    align-items: center;
    flex-direction: row;
    gap: 16px;
  }

  .nav-links {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
    gap: 20px;
    font-size: 14px;
  }

  .brand {
    gap: 10px;
  }

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

  .brand span {
    font-size: 18px;
  }

  .home-hero,
  .apps-hero,
  .app-hero,
  .support-hero,
  .legal-hero {
    padding: 44px 0;
  }

  .section {
    padding: 52px 0;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .lead {
    font-size: 17px;
  }

  .app-card-grid,
  .feature-strip,
  .app-feature-cards,
  .use-case-grid,
  .screen-grid,
  .wide-shot {
    grid-template-columns: 1fr;
  }

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

  .app-card-grid {
    max-width: 340px;
    margin: 0 auto;
  }

  .app-card {
    width: 100%;
    min-height: 575px;
    padding: 18px 18px 20px;
  }

  .app-card-media {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    min-height: 112px;
    margin-bottom: 0;
  }

  .app-icon {
    width: 58px;
    height: 58px;
  }

  .app-card h3 {
    font-size: 20px;
  }

  .app-card-media p {
    font-size: 14px;
  }

  .app-shot {
    width: min(222px, 86%);
    height: 420px;
    margin-top: 0;
    margin-bottom: -92px;
    clip-path: inset(0 0 92px 0 round 28px 28px 0 0);
  }

  .phone-stage {
    width: min(420px, 100%);
    min-height: 340px;
    margin: 0 auto;
  }

  .phone {
    width: 136px;
    padding: 2px;
    border-radius: 22px;
  }

  .phone img {
    border-radius: 20px;
  }

  .phone-main {
    width: 170px;
    left: 50%;
    top: 4px;
  }

  .phone-left {
    top: 82px;
    left: calc(50% - 166px);
  }

  .phone-right {
    top: 88px;
    right: calc(50% - 166px);
  }

  .app-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-title-row .app-icon {
    width: 88px;
    height: 88px;
    border-radius: 20px;
  }

  .hero-phone-single {
    width: min(250px, 100%);
    max-height: 390px;
  }

  .app-row {
    grid-template-columns: 1fr;
  }

  .store-badges img {
    height: 38px;
  }

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