:root {
  color-scheme: light;
  --ink: #12202c;
  --muted: #5c6d79;
  --blue: #08728a;
  --blue-dark: #07536d;
  --paper: #f6f8fa;
  --line: #dfe6ea;
  --sun: #ffd761;
  font-family: 'DM Sans', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; }
a { color: inherit; }

.site-header {
  width: min(1180px, calc(100% - 48px));
  min-height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  color: var(--ink);
  font: 600 25px/1 'Oswald', sans-serif;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--blue); }
.site-header nav, .footer-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 32px);
}
.site-header nav a, .footer-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.site-header nav a:hover, .footer-links a:hover, .text-link:hover { color: var(--blue-dark); }
.site-header nav .language-link {
  color: var(--ink);
  font-weight: 700;
}
.button {
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--blue-dark);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
.button:hover { color: #fff; background: #043e53; transform: translateY(-1px); }
.button:focus-visible, a:focus-visible { outline: 3px solid #edb900; outline-offset: 3px; }
.button-small { min-height: 40px; padding: 0 16px; border-radius: 7px; font-size: 13px; }

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 630px;
  margin: auto;
  padding: 54px 0 80px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}
.hero-copy { padding: 18px 0 28px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: 'Oswald', sans-serif; font-weight: 500; }
h1 {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: clamp(54px, 6.6vw, 82px);
  letter-spacing: -.02em;
  line-height: 1.06;
}
h1 em { color: var(--blue); font-style: normal; }
.lead { max-width: 560px; margin-bottom: 30px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.text-link { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.availability { margin: 16px 0 0; color: #7b8992; font-size: 12px; }
.hero-visual { position: relative; width: min(100%, 420px); margin: 0 auto; padding: 22px 22px 0; }
.hero-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 9px solid #14222b;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 28px 64px #14222b2b;
}
.sun-orbit {
  position: absolute;
  top: -3px;
  right: -28px;
  width: 162px;
  height: 162px;
  border: 1px solid #edc953;
  border-radius: 50%;
}
.sun-orbit::before, .sun-orbit::after { position: absolute; border-radius: 50%; content: ''; }
.sun-orbit::before { top: 24px; right: 18px; width: 17px; height: 17px; background: var(--sun); }
.sun-orbit::after { right: -5px; bottom: 41px; width: 8px; height: 8px; background: var(--blue); }
.hero-visual figcaption { position: relative; z-index: 1; margin-top: 16px; color: var(--muted); font-size: 12px; text-align: center; }

.section-wrap { width: min(1040px, calc(100% - 48px)); margin-right: auto; margin-left: auto; }
.intro { padding: 105px 0 114px; text-align: center; }
.intro h2, .section-heading h2, .screenshot-heading h2, .download h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.4vw, 54px);
  letter-spacing: -.015em;
  line-height: 1.13;
}
.intro h2 { max-width: 720px; margin-right: auto; margin-left: auto; }
.intro > p:last-child { max-width: 700px; margin: auto; color: var(--muted); font-size: 17px; line-height: 1.8; }
.intro .guide-link { margin: 24px auto 0; }
.intro .guide-link a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.features { padding: 0 0 110px; }
.section-heading { max-width: 680px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 250px; padding: 26px; border-radius: 14px; }
.feature-card-blue { background: #eaf5f8; }
.feature-card-sand { background: #fbf4df; }
.feature-card-lilac { background: #f0eff9; }
.feature-number { color: var(--blue); font: 500 16px/1 'Oswald', sans-serif; }
.feature-card h3 { max-width: 250px; margin: 42px 0 12px; font: 500 25px/1.2 'Oswald', sans-serif; }
.feature-card p, .feature-detail { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.feature-detail { max-width: 720px; margin: 24px 0 0; }

.screenshots { padding: 82px 0 76px; background: var(--paper); }
.screenshot-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 44px; }
.screenshot-heading h2 { max-width: 640px; margin-bottom: 0; }
.screenshot-heading > p { max-width: 340px; margin-bottom: 6px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.screenshot-grid { width: min(930px, calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 42px; }
.screenshot-card { margin: 0; padding: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 15px 35px #19394a0d; }
.screenshot-card img { display: block; width: 100%; height: auto; border-radius: 10px; }
.screenshot-card figcaption { display: flex; gap: 13px; align-items: baseline; padding: 17px 8px 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.screenshot-card figcaption span { flex: 0 0 auto; color: var(--blue); font: 500 17px/1 'Oswald', sans-serif; }
.screenshot-offset { margin-top: 78px; }
.screenshot-note { margin: 26px auto 0; padding: 0 24px; color: #7b8992; font-size: 12px; text-align: center; }

.download {
  margin-top: 94px;
  margin-bottom: 94px;
  padding: 46px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 16px;
  background: var(--blue-dark);
}
.download .eyebrow { color: #b9edf2; }
.download h2 { max-width: 540px; margin-bottom: 0; color: #fff; }
.button-light { flex: 0 0 auto; color: var(--ink); background: var(--sun); }
.button-light:hover { color: var(--ink); background: #ffca2a; }
.site-footer {
  width: min(1180px, calc(100% - 48px));
  min-height: 90px;
  margin: auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}
.site-footer .brand { font-size: 21px; }
.footer-links { flex-wrap: wrap; justify-content: center; gap: 22px; }
.site-footer > p { margin: 0; color: #7b8992; font-size: 12px; white-space: nowrap; }

@media (max-width: 760px) {
  .site-header { width: calc(100% - 36px); min-height: 70px; gap: 14px; }
  .brand { font-size: 22px; }
  .site-header nav { gap: 13px; }
  .site-header nav > a:not(.language-link):not(.button) { display: none; }
  .site-header nav a, .site-header nav .button { font-size: 12px; }
  .site-header nav .button { min-height: 38px; padding: 0 12px; }
  .hero { width: calc(100% - 40px); padding: 47px 0 64px; grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(52px, 13vw, 74px); }
  .lead { font-size: 16px; }
  .hero-visual { width: min(82%, 360px); }
  .sun-orbit { right: -27px; width: 125px; height: 125px; }
  .intro { padding: 74px 0 82px; }
  .intro h2, .section-heading h2, .screenshot-heading h2, .download h2 { font-size: clamp(34px, 9vw, 46px); }
  .intro > p:last-child { font-size: 15px; }
  .features { padding-bottom: 78px; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { min-height: 0; padding: 23px; }
  .feature-card h3 { max-width: 320px; margin: 26px 0 9px; font-size: 23px; }
  .screenshot-heading { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 28px; }
  .screenshot-heading > p { margin-bottom: 0; }
  .screenshot-grid { width: min(480px, calc(100% - 40px)); grid-template-columns: 1fr; gap: 20px; }
  .screenshot-offset { margin-top: 0; }
  .download { width: calc(100% - 40px); margin-top: 60px; margin-bottom: 60px; padding: 30px 24px; align-items: flex-start; flex-direction: column; gap: 24px; }
  .download .button { width: 100%; }
  .site-footer { width: calc(100% - 40px); padding: 24px 0; align-items: flex-start; flex-direction: column; gap: 18px; }
  .footer-links { justify-content: flex-start; gap: 13px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
