/* Restwren site. No web fonts, no third-party resources. */
:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --text: #17262a;
  --muted: #4d5d61;
  --brand: #0f2a30;
  --link: #0a6a60;
  --accent: #f2a541;
  --border: #d9dcd6;
  --notice: #e7f4f1;
  --warn-bg: #fff4e0;
  --warn-border: #c77d12;
  --error: #a4262c;
  --focus: #1f6feb;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1d21;
    --surface: #12282d;
    --text: #e6eeec;
    --muted: #a9bcb8;
    --brand: #e6eeec;
    --link: #6fd8ca;
    --border: #28464c;
    --notice: #133a38;
    --warn-bg: #3a2a10;
    --warn-border: #f2a541;
    --error: #ff8a8f;
    --focus: #79b8ff;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
code, kbd, pre, textarea { font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace; font-size: 0.92em; }
code { background: rgba(127, 127, 127, 0.14); padding: 0.1em 0.35em; border-radius: 4px; }
kbd { border: 1px solid var(--border); border-bottom-width: 2px; padding: 0 0.35em; border-radius: 4px; background: var(--surface); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

.site-header { background: #0f2a30; color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.logo { width: 36px; height: 36px; }
.site-header nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.site-header nav a { color: #d6f2ee; text-decoration: none; padding: 6px 0; }
.site-header nav a[aria-current="page"], .site-header nav a:hover { color: #fff; text-decoration: underline; }

main.wrap { padding-top: 32px; padding-bottom: 56px; }
h1 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem); line-height: 1.15; margin: 0.2em 0 0.5em; letter-spacing: -0.02em; }
h2 { font-size: 1.45rem; margin: 1.8em 0 0.5em; line-height: 1.25; }
h3 { font-size: 1.15rem; margin: 0.2em 0 0.4em; }
.lead { font-size: 1.15rem; color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--muted); margin: 0; font-weight: 600; }

.hero { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1fr 1.1fr; } }
.hero-shot { margin: 0; }
.hero-shot img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }

.button {
  display: inline-block; background: #0f2a30; color: #fff; border: 2px solid #0f2a30; border-radius: 8px;
  padding: 10px 18px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.3;
  max-width: 100%; white-space: normal; text-align: center;
}
.button:hover { background: #17414a; border-color: #17414a; text-decoration: none; }
.button.secondary { background: transparent; color: var(--brand); border-color: currentColor; }
@media (prefers-color-scheme: dark) {
  .button { background: #f2a541; color: #0f2a30; border-color: #f2a541; }
  .button:hover { background: #f7bd6c; border-color: #f7bd6c; }
  .button.secondary { background: transparent; color: #f2a541; border-color: #f2a541; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.features { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.features li, .card { min-width: 0; overflow-wrap: anywhere; }
.features li { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px 14px 44px; position: relative; }
.tick { position: absolute; left: 16px; top: 13px; color: var(--link); font-weight: 700; }

.grid2, .grid3 { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; }
.card.narrow { max-width: 620px; }
.panel { background: var(--notice); border-radius: 12px; padding: 6px 22px 16px; margin-top: 32px; }
.plan .price { margin: 0.2em 0; }
.price .amount { font-size: 2.2rem; font-weight: 700; }
.price .per { color: var(--muted); }

form label { display: block; font-weight: 600; margin-bottom: 4px; }
input[type="text"], input[type="email"], input:not([type]), textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #7b8a8d; border-radius: 8px; background: var(--surface); color: var(--text); font: inherit;
}
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { margin-top: 0.35em; width: 20px; height: 20px; flex: none; }
.check label { font-weight: 400; }
.error { color: var(--error); font-weight: 600; }
.notice { background: var(--notice); padding: 10px 14px; border-radius: 8px; }
.warning { background: var(--warn-bg); border-left: 4px solid var(--warn-border); padding: 10px 14px; border-radius: 6px; }
.key-card textarea { word-break: break-all; min-height: 110px; resize: vertical; margin: 6px 0 4px; }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
dl.facts dt { font-weight: 600; }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { dl.facts { grid-template-columns: 1fr; gap: 2px 0; } dl.facts dd { margin-bottom: 8px; } }
.plan-title { font-size: 1.15rem; margin: 0.2em 0 0.4em; }
pre.notices { white-space: pre-wrap; word-break: break-word; background: var(--surface); border: 1px solid var(--border); padding: 16px; border-radius: 8px; font-size: 0.8rem; max-height: none; }

.site-footer { border-top: 1px solid var(--border); padding: 24px 0 32px; font-size: 0.92rem; background: var(--surface); }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; }
.company { color: var(--muted); margin: 6px 0; max-width: 90ch; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
