:root {
  --paper: #f7f9fb;
  --ink: #18252e;
  --muted: #4e606d;
  --line: #d4dde4;
  --accent: #2458b6;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; hyphens: none; word-break: normal; text-wrap: balance; }
p { line-height: 1.6; }
::selection { background: #dbe7fa; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 20; padding: 12px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: baseline; font-size: 29px; font-weight: 700; letter-spacing: -1.4px; line-height: 1.2; }
.wordmark-dot { color: var(--accent); }
.main-nav, .header-actions, .languages { display: flex; align-items: center; }
.main-nav { gap: 26px; font-size: 14px; flex-wrap: wrap; }
.header-actions { gap: 28px; }
.languages { gap: 9px; font: 11px var(--mono); }
.languages a { padding-block: 8px; }
.languages [aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.languages > span { color: var(--muted); }
.header-contact { font-size: 13px; display: inline-flex; gap: 14px; }
.eyebrow { font: 11px/1.6 var(--mono); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.hero { padding-block: 48px 40px; border-bottom: 1px solid var(--line); }
h1 { font-size: clamp(38px, 5.2vw, 66px); letter-spacing: -2.4px; line-height: 1.08; margin-top: 15px; }
.hero-intro { max-width: 700px; margin-top: 19px; font-size: 18px; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; margin-top: 25px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; padding: 13px 17px; background: var(--ink); color: white; font-size: 14px; line-height: 1.5; border: 1px solid var(--ink); }
.button:hover { color: white; background: #2c465a; }
.text-link { display: inline-flex; align-items: center; gap: 13px; font-size: 14px; }
.text-link:hover, .app-more:hover { text-decoration: underline; text-underline-offset: 4px; }
h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.9px; margin-top: 12px; }
.apps-section { padding-block: 42px 48px; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 26px; }
.section-description { max-width: 360px; font-size: 15px; color: var(--muted); }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.app-card { min-width: 0; display: flex; flex-direction: column; }
.app-art { position: relative; background: #e9edf1; min-height: 300px; display: flex; align-items: center; justify-content: center; padding: 42px 24px 24px; border: 1px solid var(--line); }
.app-thanksfor .app-art { background: #eeece6; }
.app-logbook .app-art { background: #e5ece9; }
.app-hamexam .app-art { background: #e7eaf3; }
.app-art-header { position: absolute; top: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; gap: 15px; font: 11px/1.4 var(--mono); color: var(--muted); }
.app-phone { width: 116px; }
.app-icon { position: absolute; bottom: 25px; right: 22px; width: 40px; height: 40px; border-radius: 9px; }
.app-copy { display: flex; flex-direction: column; flex: 1; padding-top: 18px; min-width: 0; }
.app-category { font: 11px/1.5 var(--mono); color: var(--muted); }
.app-card h3 { font-size: 25px; line-height: 1.25; letter-spacing: -.7px; margin-top: 7px; }
.app-description { font-size: 15px; margin-top: 12px; }
.features { margin: 15px 0 0; padding: 0 0 0 17px; font-size: 14px; line-height: 1.65; }
.features li + li { margin-top: 4px; }
.features li::marker { color: var(--accent); }
.app-language { margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.app-scope { font-size: 13px; color: var(--muted); margin-top: 9px; margin-bottom: 18px; }
.app-scope span { font-weight: 600; }
.app-download { margin-top: auto; display: flex; align-items: center; }
.store-link { display: flex; align-items: center; gap: 12px; }
.store-badge { width: 120px; }
.store-qr { box-sizing: content-box; width: 96px; height: 96px; border: 4px solid white; background: white; }
.app-more { display: inline-flex; align-items: center; gap: 16px; align-self: start; font-size: 14px; margin-top: 14px; color: var(--accent); }
.project-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 35px; padding-block: 32px; border-block: 1px solid var(--line); }
.project-copy { font-size: 16px; max-width: 650px; }
.project-copy p + p { margin-top: 12px; }
.next-section { padding-block: 38px; }
.roadmap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.roadmap-step { padding: 23px 26px; min-width: 0; }
.roadmap-step + article { border-left: 1px solid var(--line); }
.step-label { font: 11px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .7px; color: var(--muted); }
.future .step-label { color: var(--accent); }
.roadmap h3 { font: 600 25px/1.3 var(--mono); margin-top: 11px; }
.roadmap-step > p:not(.step-label) { font-size: 15px; color: var(--muted); margin-top: 12px; }
.closing { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 25px; padding: 27px 0; border-block: 1px solid var(--line); }
.closing h2 { margin: 0; font-size: 23px; }
.closing p { font-size: 15px; color: var(--muted); margin-top: 9px; }
.site-footer { padding-block: 28px 22px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-top > p { font-size: 13px; color: var(--muted); }
.footer-top .wordmark { font-size: 24px; }
.footer-top .text-link { font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-top: 22px; font: 10px/1.6 var(--mono); color: var(--muted); }
.not-found { padding-block: 65px; min-height: 70vh; }
.not-found p, .not-found .button { margin-top: 22px; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .app-grid { gap: 20px; }
  .app-art { min-height: 285px; padding-inline: 15px; }
  .app-icon { width: 33px; height: 33px; right: 14px; }
  .app-card h3 { font-size: 23px; }
  .project-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
}
@media (max-width: 800px) {
  .header-contact { display: none; }
  .app-grid { grid-template-columns: 1fr; gap: 32px; }
  .app-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 25px; }
  .app-art { align-self: stretch; min-height: 315px; }
  .app-phone { width: 132px; }
  .app-icon { width: 40px; height: 40px; right: 20px; }
  .app-copy { padding-top: 0; }
  .app-download { margin-top: 0; }
  .section-intro { align-items: start; }
  .section-description { max-width: 280px; }
  .project-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 100px; gap: 12px; padding-block: 17px; flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; font-size: 13px; }
  .header-actions { margin-left: auto; }
  .hero { padding-block: 32px; }
  h1 { font-size: 39px; letter-spacing: -1.5px; }
  .hero-intro { font-size: 16px; }
  .eyebrow { font-size: 10px; letter-spacing: .5px; }
  .hero-actions { gap: 20px; }
  .button, .text-link { font-size: 13px; }
  .apps-section { padding-block: 30px 32px; }
  h2 { font-size: 26px; }
  .section-intro { flex-direction: column; gap: 13px; margin-bottom: 22px; }
  .section-description { max-width: none; font-size: 14px; }
  .app-card { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .app-grid { gap: 32px; }
  .app-art { min-height: 295px; }
  .app-phone { width: 116px; }
  .app-icon { right: 26px; bottom: 26px; }
  .app-card h3 { font-size: 25px; }
  .app-description { font-size: 16px; }
  .features { font-size: 14px; }
  .app-language, .app-scope { font-size: 14px; }
  .project-section { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 26px; }
  .project-copy { font-size: 16px; }
  .next-section { padding-block: 28px; }
  .roadmap { grid-template-columns: minmax(0, 1fr); }
  .roadmap-step { padding: 21px; }
  .roadmap-step + article { border-left: 0; border-top: 1px solid var(--line); }
  .closing { padding-block: 25px; gap: 18px; }
  .closing p { font-size: 14px; }
  .footer-top > p { order: 3; flex-basis: 100%; }
  .footer-bottom { flex-direction: column; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .app-art, .store-qr, .main-nav, .header-actions { display: none; }
  .wrap { width: 100%; }
  .app-grid, .app-card, .project-section, .roadmap { display: block; }
  .app-card { break-inside: avoid; margin-bottom: 25px; }
  .button { background: white; color: black; }
}
