:root {
  color-scheme: light;
  --ink: #172337;
  --muted: #4f5e73;
  --line: #dbe2ed;
  --paper: #f7f8fc;
  --teal: #006354;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid #078876; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 5; top: 8px; left: 8px; padding: 12px 18px; background: #fff; }

.page-header, .page-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.page-header { min-height: 80px; }
.page-header a, .page-footer a { text-decoration: none; }
.brand { display: inline-flex; gap: 9px; align-items: center; color: #1d2d42; font-size: 20px; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.brand strong { color: var(--teal); }
.page-header nav { display: flex; gap: 26px; color: var(--muted); font-size: 14px; font-weight: 650; }
.page-header nav a { display: inline-flex; min-height: 44px; align-items: center; }
.page-header nav a:hover, .page-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.14fr 1fr; overflow: hidden; min-height: 448px; border-radius: 30px; background: radial-gradient(ellipse at 87% 75%, #164e56, transparent 55%), #142638; color: #f8fcff; }
.hero-copy { display: grid; align-content: center; justify-items: start; gap: 22px; padding: 54px 0 58px clamp(28px, 5vw, 68px); z-index: 1; }
.hero-copy .eyebrow { display: inline-flex; gap: 9px; align-items: center; color: #b8f3df; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #81e9ca; }
.hero h1 { max-width: 13ch; font-size: clamp(44px, 5.2vw, 70px); line-height: 1.02; letter-spacing: -.065em; text-wrap: balance; }
.hero-copy > p:not(.eyebrow) { max-width: 38ch; color: #d4e4ef; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.hero-actions > span { color: #d4e4ef; font-size: 13px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 720; text-decoration: none; line-height: 1.25; }
.button span { font-size: 1.1em; }
.explore { background: #a2f2d8; color: #0e352e; }
.explore:hover { background: #cff8e9; }
.explore:focus-visible { outline-color: #b8f3df; }
.hero-art { position: relative; min-width: 0; }
.hero-art::before { content: ""; position: absolute; inset: 12% -5% -28% 4%; border: 1px solid #ffffff24; border-radius: 50%; box-shadow: 0 0 0 30px #ffffff08, 0 0 0 60px #ffffff08; transform: rotate(-23deg); }
.hero-shot { position: absolute; width: clamp(140px, 18vw, 238px); padding: 6px; border: 1px solid #afced380; border-radius: 22px; background: #253e4c; box-shadow: 0 25px 65px #081a2a80; }
.hero-shot img { width: 100%; height: auto; border-radius: 15px; }
.hero-shot-back { top: 22%; right: 38%; transform: rotate(-12deg); }
.hero-shot-front { top: 14%; right: 13%; transform: rotate(10deg); }

.catalog { margin-block: 70px 0; scroll-margin-top: 26px; }
.section-header { display: grid; gap: 12px; margin-bottom: 24px; }
.section-header h2, .help h2 { font-size: clamp(27px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.05em; }
.section-header p, .help p { max-width: 64ch; color: var(--muted); line-height: 1.55; }
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.app { --panel: #eef2ff; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 10px; overflow: hidden; min-height: 315px; scroll-margin-top: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.app:target { border-color: #078876; box-shadow: 0 0 0 2px #07887635; }
.app:nth-child(2) { --panel: #e5f5f7; }
.app:nth-child(3) { --panel: #f1ebfb; }
.app:nth-child(4) { --panel: #eaf4e2; }
.app:last-child { --panel: #e2f5e9; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; min-height: 288px; }
.app-copy { align-self: center; padding: 21px 0 20px 22px; }
.app-identity { display: flex; align-items: center; gap: 9px; }
.app-icon { flex: none; border-radius: 12px; border: 1px solid var(--line); }
.category { color: var(--muted); font-size: 12px; line-height: 1.3; }
.app h3 { margin-top: 3px; font-size: clamp(17px, 1.8vw, 23px); line-height: 1.14; letter-spacing: -.04em; }
.app-title { margin-top: 17px; font-size: 17px; font-weight: 720; line-height: 1.28; letter-spacing: -.015em; }
.app-description { max-width: 44ch; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.52; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.price { font-size: 16px; font-weight: 750; white-space: nowrap; }
.store { background: #193448; color: #fff; }
.store:hover { background: #006354; }
.privacy { display: inline-flex; align-items: center; min-height: 30px; margin-top: 3px; color: var(--teal); font-size: 12px; text-underline-offset: 3px; }
.app-screen { position: relative; display: grid; justify-items: center; align-content: start; overflow: hidden; margin: 12px 12px 0 2px; padding: 16px 10px 0; border-radius: 15px 15px 0 0; background: var(--panel); }
.app-screen img { position: absolute; top: 16px; width: min(calc(100% - 20px), 205px); height: auto; border: 1px solid #b7c5d2; border-radius: 12px 12px 0 0; box-shadow: 0 6px 24px #182e4a22; }
.app-screen:focus-visible { outline-offset: -4px; }
.app:last-child .app-screen img { width: min(calc(100% - 20px), 235px); }

.help { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #eef4f5; }
.help h2 { margin-bottom: 8px; font-size: 24px; }
.support { flex: none; border-color: #99c9bb; color: var(--teal); }
.support:hover { background: #d9efe8; }
.page-footer { min-height: 94px; color: var(--muted); font-size: 14px; }
.page-footer > span { color: var(--ink); font-weight: 700; }

@media (max-width: 900px) {
  .wrap { width: min(1200px, calc(100% - 40px)); }
  .apps { grid-template-columns: 1fr; }
  .app, .app:last-child { grid-template-columns: 1.25fr .75fr; min-height: 275px; }
  .app h3 { font-size: 21px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .page-header { min-height: 68px; gap: 12px; }
  .brand { font-size: 17px; gap: 5px; }
  .brand img { width: 29px; height: 29px; }
  .page-header nav { gap: 13px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; border-radius: 22px; }
  .hero-copy { padding: 30px 21px 0; gap: 15px; }
  .hero h1 { max-width: 15ch; font-size: clamp(37px, 9.5vw, 57px); }
  .hero-art { height: 190px; }
  .hero-shot { width: clamp(118px, 34vw, 164px); }
  .hero-shot-back { top: 20%; right: 47%; }
  .hero-shot-front { top: 21%; right: 17%; }
  .catalog { margin-top: 36px; }
  .section-header { margin-bottom: 17px; }
  .app, .app:last-child { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); min-height: 0; border-radius: 15px; gap: 5px; }
  .app-copy { padding: 16px 0 12px 14px; }
  .app-icon { width: 37px; height: 37px; }
  .app h3 { font-size: 17px; }
  .app-title { margin-top: 13px; font-size: 15px; }
  .app-screen { margin: 10px 8px 0 0; }
  .app-screen img, .app:last-child .app-screen img { width: calc(100% - 9px); border-radius: 7px; }
  .buy { gap: 6px; }
  .help { align-items: flex-start; flex-direction: column; padding: 18px; }
}
