:root {
  --ink: #172033;
  --ink-soft: #3d4a5c;
  --muted: #5e6b7a;
  --paper: #f3efe6;
  --paper-2: #e7e0d2;
  --card: #fffdf8;
  --line: #d9d0c0;
  --copper: #9c4328;
  --copper-deep: #7c3018;
  --pine: #1b463f;
  --pine-2: #14352f;
  --gold: #c6a15a;
  --shadow: 0 18px 40px rgba(23, 32, 51, 0.08);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Figtree", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --max: 1120px;
  --header: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(198, 161, 90, 0.18), transparent 55%),
    linear-gradient(180deg, #f7f4ee 0%, var(--paper) 220px);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

a { color: var(--copper-deep); text-underline-offset: 0.18em; }

a:hover { color: var(--copper); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 0.9rem;
  z-index: 20;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.install {
  background: var(--pine);
  color: #f6f1e6;
}

.install__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.install__inner p { margin: 0; }

.install button {
  border: 0;
  border-radius: 999px;
  background: #f3efe6;
  color: var(--pine-2);
  font: inherit;
  font-weight: 650;
  padding: 0.65rem 1rem;
  cursor: pointer;
  white-space: nowrap;
}

.install button:hover { background: #fff; }

.install__help {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  border-top: 1px solid rgba(246, 241, 230, 0.2);
}

.install__help p {
  margin: 0;
  padding: 0.85rem 0 0.2rem;
}

.install__help button { margin: 0.4rem 0 0.9rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(243, 239, 230, 0.88);
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pine);
  color: #f6efe2;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 650;
}

.brand small {
  display: block;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-weight: 650;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a.btn,
.nav a.btn:hover {
  color: #fffaf5;
}

.nav a[aria-current="page"] { color: var(--copper); }

.nav .btn { margin-left: 0.3rem; }

.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
}

.btn {
  background: var(--copper);
  color: #fffaf5;
}

.btn:hover { background: var(--copper-deep); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.hero {
  padding: 4.2rem 0 2.5rem;
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
  color: var(--pine);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.kicker span {
  width: 42px;
  height: 1px;
  background: var(--gold);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  margin: 0 0 1rem;
  max-width: 16ch;
}

.lede {
  font-size: 1.22rem;
  max-width: 42rem;
  color: var(--ink-soft);
  margin: 0 0 1.6rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.2rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-row div { padding: 1rem 1rem 1rem 0; }

.stat-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 560;
}

.stat-row span { color: var(--muted); font-size: 0.92rem; }

.section { padding: 4rem 0; }

.section__head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.8rem;
}

.section__head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0;
}

.section__head p {
  max-width: 34rem;
  margin: 0;
  color: var(--ink-soft);
}

.apps { display: grid; gap: 1rem; }

.app {
  display: grid;
  grid-template-columns: 88px 1.3fr 0.9fr;
  gap: 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.3rem 1.35rem 1.2rem;
  box-shadow: var(--shadow);
}

.app__num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.app h3 { margin: 0 0 0.35rem; font-size: 1.85rem; }

.app p { margin: 0 0 0.8rem; color: var(--ink-soft); }

.app ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.host {
  align-self: stretch;
  background: var(--pine);
  color: #f6f1e6;
  border-radius: 16px;
  padding: 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 100%;
}

.host a {
  color: #fff;
  font-family: var(--mono);
  font-size: 0.86rem;
  word-break: break-word;
}

.host .btn { align-self: flex-start; background: #f3efe6; color: var(--pine-2); }

.host .btn:hover { background: #fff; color: var(--pine); }

.note {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #f4ecdf;
}

.band {
  background: var(--pine);
  color: #f6f1e6;
}

.band a { color: #f0d7a4; }

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service {
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(246, 241, 230, 0.16);
  border-radius: 18px;
  padding: 1.2rem 1.15rem 1.1rem;
}

.service h3 { margin: 0 0 0.4rem; font-size: 1.55rem; }

.service p { margin: 0; color: #e6dece; }

.person {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.person blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.25;
}

.person cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--muted);
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.3rem;
}

.contact-card h3 { margin: 0 0 0.4rem; }

.contact-card p { margin: 0 0 1rem; color: var(--ink-soft); }

.legal, .prose { max-width: 46rem; }
.prose { margin-inline: auto; }

.prose h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: 0.6rem; }

.prose h2 { font-size: 1.8rem; margin: 2rem 0 0.4rem; }

.crumbs {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.crumbs a { color: var(--muted); }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
}

th, td {
  text-align: left;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer nav { display: flex; gap: 1rem; flex-wrap: wrap; }

.site-footer a { color: var(--ink-soft); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 1rem 1rem;
    background: #f7f4ee;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open { display: flex; }

  .nav .btn { margin: 0.2rem 0 0; }

  .app, .person, .services, .stat-row { grid-template-columns: 1fr; }

  .section__head { flex-direction: column; align-items: start; }

  .host { min-height: 0; }

  .install__inner { flex-direction: column; align-items: stretch; }

  .install button { white-space: normal; }
}
