/* Layout: one calm reading column with a lamp-lit opening; the lamp's glow is the only flourish, and everything below it is quiet type on paper. */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #f3f5f1;
  --surface: #ffffff;
  --ink: #17322b;
  --muted: #55665f;
  --line: #d6ded8;
  --glow: #f2c46b;
  --flame: #d9822b;
  --link: #1d5c4c;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1815; --surface: #16231f; --ink: #e6eee9; --muted: #9db0a7; --line: #2a3a34;
    --glow: #f0b84f; --flame: #f19a3e; --link: #8fd1bb; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1815; --surface: #16231f; --ink: #e6eee9; --muted: #9db0a7; --line: #2a3a34;
  --glow: #f0b84f; --flame: #f19a3e; --link: #8fd1bb; color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--font-body);
  padding-inline: max(20px, env(safe-area-inset-left, 0px));
}
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--glow); outline-offset: 2px; border-radius: 3px; }
.wrap { max-width: 980px; margin: 0 auto; }

header.site { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.brand .halo { fill: var(--glow); opacity: .45; }
.brand .flame { fill: var(--flame); }
.brand .metal { fill: var(--ink); }
.brand span { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: .005em; }
nav.site { display: flex; gap: 20px; font-size: .95rem; }
nav.site a { color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 2px; }
nav.site a:hover { border-bottom-color: var(--glow); }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: center; padding-block: 40px 56px; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.3rem, 6vw, 3.7rem); line-height: 1.06; letter-spacing: -.01em; margin: 0 0 18px; text-wrap: balance; }
.hero p { font-size: 1.15rem; color: var(--muted); margin: 0; max-width: 34ch; }
.lamp { justify-self: center; width: min(100%, 280px); aspect-ratio: 1; position: relative; }
.lamp::before {
  content: ""; position: absolute; inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 44%, var(--glow) 0%, color-mix(in srgb, var(--glow) 35%, transparent) 38%, transparent 70%);
  opacity: .9;
}
.lamp svg { position: relative; width: 100%; height: 100%; }
.lamp .glass { fill: color-mix(in srgb, var(--surface) 55%, transparent); stroke: var(--ink); }
.lamp .metal { fill: var(--ink); }
.lamp .flame { fill: var(--flame); }
.lamp .core { fill: var(--glow); }
@media (prefers-reduced-motion: no-preference) {
  .lamp::before { animation: breathe 7s ease-in-out infinite; }
  @keyframes breathe { 0%, 100% { opacity: .9; transform: scale(1); } 50% { opacity: .75; transform: scale(.97); } }
}

section { padding-block: 40px; border-top: 1px solid var(--line); }
h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; line-height: 1.2; margin: 0 0 20px; text-wrap: balance; }

.app { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.app img { width: 96px; height: 96px; border-radius: 22px; display: block; }
.app h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; margin: 0; }
.app .tag { margin: 2px 0 12px; color: var(--muted); }
.app p { margin: 0 0 12px; max-width: var(--measure); }
.status { display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--glow) 28%, transparent); color: var(--ink); margin: 2px 0 14px; }
.links { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: .95rem; }
.links dt { color: var(--muted); }
.links dd { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.small { font-size: .9rem; color: var(--muted); max-width: var(--measure); }
.app .small { margin: 14px 0 0; }
.more { margin: 18px 0 0; color: var(--muted); }

.contact p { margin: 0 0 10px; max-width: var(--measure); }
.email { font-weight: 600; }

footer.site { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: .88rem; color: var(--muted); display: grid; gap: 6px; }
footer.site p { margin: 0; max-width: var(--measure); }

@media (max-width: 680px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 16px 40px; gap: 8px; }
  .lamp { order: -1; width: 180px; }
  .app { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .app img { width: 80px; height: 80px; border-radius: 18px; }
  .links { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .links dd { margin-bottom: 8px; }
}

/* Added: buttons, pricing, availability, and long-form policy pages. */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn:hover { border-color: var(--flame); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 14px; }
.pill { display: inline-block; font-size: .85rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--glow) 28%, transparent); color: var(--ink); }
.pill.soft { background: color-mix(in srgb, var(--line) 60%, transparent); color: var(--muted); }
.features { margin: 0 0 14px; padding-left: 1.2em; max-width: var(--measure); }
.features li { margin: 3px 0; }
.prices { width: 100%; max-width: 560px; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.prices th, .prices td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); }
.prices thead th { border-top: 0; font-size: .85rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.prices td.price { font-weight: 600; white-space: nowrap; }
.prose { max-width: var(--measure); padding-block: 24px 48px; }
.prose h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.1; margin: 8px 0 8px; }
.prose h2 { font-size: 1.35rem; margin: 32px 0 10px; }
.prose p, .prose li { margin: 0 0 10px; }
.prose .updated { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.notice { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 18px 0; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 6px; }
footer.site nav a { color: var(--ink); }
.prose h3 { font-size: 1.08rem; margin: 20px 0 8px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose .links { margin: 0 0 8px; }
@media (max-width: 680px) {
  .prices th, .prices td { padding: 10px 10px; font-size: .95rem; }
}
