:root {
  color-scheme: light dark;
  --accent: #0aa69f;
  --accent-strong: #087d79;
  --ink: #19202a;
  --muted: #5f6977;
  --surface: #ffffff;
  --surface-raised: #f5f7fa;
  --line: #dce1e8;
  --warning: #eafaf8;
  --max-width: 760px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.62;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.6rem 0.85rem;
  border-radius: 0 0 8px 8px;
  background: var(--ink);
  color: var(--surface);
}
.skip-link:focus { top: 0; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}
.header-inner,
main,
.footer-inner {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.015em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, #46e2d5, #087d79);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.28);
}
nav { display: flex; gap: 1rem; font-size: 0.94rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"], nav a:hover { color: var(--ink); }

main { padding-block: clamp(2.5rem, 7vw, 5rem) 5rem; }
.hero { padding-block: clamp(1rem, 4vw, 3rem); }
.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.025em; }
h1 { max-width: 690px; margin: 0 0 1rem; font-size: clamp(2.25rem, 7vw, 4.25rem); }
.page-title { font-size: clamp(2.15rem, 6vw, 3.5rem); }
h2 { margin: 2.6rem 0 0.7rem; font-size: clamp(1.35rem, 3vw, 1.7rem); }
h3 { margin: 1.6rem 0 0.4rem; }
p, ul, ol { margin-block: 0.75rem; }
ul, ol { padding-left: 1.35rem; }
li + li { margin-top: 0.35rem; }
.lede { max-width: 670px; color: var(--muted); font-size: clamp(1.08rem, 2.7vw, 1.3rem); }
.meta { color: var(--muted); font-size: 0.94rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.card {
  display: block;
  min-height: 190px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-raised);
  color: var(--ink);
  text-decoration: none;
}
.card:hover { border-color: var(--accent); transform: translateY(-1px); }
.card h2 { margin: 0.7rem 0 0.35rem; }
.card p { color: var(--muted); }
.card-icon { color: var(--accent-strong); font-size: 1.35rem; }

.notice {
  margin: 1.8rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  background: var(--warning);
  color: #123d3a;
}
.notice p { margin: 0; }
.contact-box {
  margin-top: 2rem;
  padding: 1.2rem 1.3rem;
  border-radius: 14px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
}
.contact-box h2 { margin-top: 0; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 2.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem; }

@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 0.8rem; }
  nav { width: 100%; justify-content: space-between; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #36d8cb;
    --accent-strong: #77eee4;
    --ink: #f2f4f7;
    --muted: #abb4c0;
    --surface: #101319;
    --surface-raised: #191e26;
    --line: #303844;
    --warning: #102c2b;
  }
  .notice { color: #d3fbf7; }
}

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

@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  main { width: 100%; padding: 0; }
  body { color: #000; background: #fff; font-size: 11pt; }
  a { color: #000; }
}

.hero-lockup {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 1.4rem;
  align-items: center;
}
.app-icon {
  width: 112px;
  height: 112px;
  border-radius: 25%;
  box-shadow: 0 14px 40px rgb(4 36 54 / 0.22);
}
@media (max-width: 620px) {
  .hero-lockup { grid-template-columns: 76px 1fr; gap: 1rem; }
  .app-icon { width: 76px; height: 76px; }
}
