:root {
  color-scheme: light dark;
  --background: #f8f9f3;
  --surface: #fff;
  --text: #192520;
  --muted: #516057;
  --line: #d8e0d5;
  --accent: #245b3f;
  --highlight: #dfedd9;
  --highlight-edge: #d4e5d3;
  --phone-edge: #244436;
  --phone-shadow: #1b402748;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #121a16;
    --surface: #1d2922;
    --text: #edf4ed;
    --muted: #b2c2b7;
    --line: #3a4a40;
    --accent: #addbb6;
    --highlight: #203b2e;
    --highlight-edge: #2d4c3c;
    --phone-edge: #0d1711;
    --phone-shadow: #04090570;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.6 system-ui, sans-serif;
}

main { flex: 1; }

a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 3px;
}

.wrap { width: min(1100px, calc(100% - 48px)); margin-inline: auto; }

.site-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: 68px;
  padding-block: 12px;
}

header.site { border-bottom: 1px solid var(--line); }
.brand { color: var(--text); font-weight: 750; text-decoration: none; }

nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }

footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

h1, h2, h3 { line-height: 1.15; }
h1 { margin: 0 0 16px; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.035em; }
h2 { margin: 36px 0 12px; font-size: 1.35rem; letter-spacing: -.02em; }
h3 { margin: 24px 0 6px; font-size: 1.1rem; }
p, ul { margin: 0 0 16px; }
li + li { margin-top: 6px; }

.studio { padding-block: clamp(68px, 12vw, 150px); }
.studio h1, .hero h1 {
  max-width: 13ch;
  font-size: clamp(2.75rem, 6.5vw, 5.35rem);
  line-height: 1;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.app-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  margin-top: 36px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--muted);
  text-decoration: none;
}

.app-card:hover { border-color: var(--accent); }
.app-card img, .app-name img { display: block; border-radius: 23%; }
.app-card strong { display: block; color: var(--text); font-size: 1.15rem; }
.arrow { color: var(--accent); font-size: 1.3rem; }

.product { padding-block: clamp(36px, 6vw, 72px); }

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(290px, .87fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
}

.app-name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-weight: 700;
}

.lead { max-width: 42ch; color: var(--muted); font-size: 1.18rem; }
.availability { margin: 24px 0 0; color: var(--accent); font-size: .9rem; font-weight: 650; }

.hero-image {
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid var(--highlight-edge);
  border-radius: 28px;
  background: var(--highlight);
}

.hero-image img {
  display: block;
  width: min(100%, 238px);
  height: auto;
  border: 6px solid var(--phone-edge);
  border-radius: 31px;
  box-shadow: 0 16px 30px var(--phone-shadow);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(36px, 6vw, 68px);
}

.features article { border-top: 1px solid var(--line); padding-top: 18px; }
.features h2, .privacy-note h2 { margin: 0 0 8px; }
.features p, .privacy-note p { margin: 0; color: var(--muted); }

.privacy-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: clamp(40px, 7vw, 80px);
  padding: 24px;
  border-radius: 16px;
  background: var(--surface);
}

.privacy-note div { max-width: 55ch; }

body > main:not(.wrap) { padding-block: 44px 64px; }
body > main:not(.wrap) .wrap { max-width: 720px; }
.note { color: var(--muted); font-size: .95rem; }

.policy table {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: .94rem;
}
.policy th, .policy td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

@media (max-width: 730px) {
  .hero, .features { grid-template-columns: 1fr; }
  .hero-image img { width: min(100%, 208px); }
}

@media (max-width: 400px) {
  .wrap { width: calc(100% - 32px); }
  .app-card { gap: 12px; padding: 14px; }
  .app-card img { width: 48px; height: 48px; }
  nav { column-gap: 12px; }
}
