:root {
  --teal: #0f3d3e;
  --teal-2: #155e5f;
  --mint: #3ddc97;
  --cream: #f4f1e8;
  --ink: #1b1f1f;
  --muted: #4a5555;
  --line: #d9d4c7;
  --bg: #fbfaf6;
  --card: #ffffff;
  --focus: #b8860b;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--teal-2); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.site {
  background: var(--teal);
  color: var(--cream);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
header.site a.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
header.site a.brand img { width: 32px; height: 32px; border-radius: 8px; }
header.site nav a { color: var(--cream); margin-left: 18px; text-decoration: none; }
header.site nav a:hover { text-decoration: underline; }
.hero { background: var(--teal); color: var(--cream); padding: 56px 0 64px; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.15; margin: 0 0 16px; max-width: 18ch; }
.hero p.lead { font-size: 1.2rem; max-width: 60ch; margin: 0 0 28px; color: #e6e2d6; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 700; text-decoration: none;
  background: var(--mint); color: #08281a; border: 2px solid var(--mint); cursor: pointer; font-size: 1rem;
}
.btn:hover { filter: brightness(0.95); }
.btn.ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn.dark { background: var(--teal); color: var(--cream); border-color: var(--teal); }
main section { padding: 48px 0; }
h2 { font-size: 1.7rem; line-height: 1.25; margin: 0 0 12px; color: var(--teal); }
h3 { font-size: 1.15rem; margin: 0 0 6px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card p { margin: 6px 0 12px; color: var(--muted); }
.tag { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--teal-2); background: #e4f6ee; border-radius: 99px; padding: 2px 10px; }
.price { font-size: 2.4rem; font-weight: 800; color: var(--teal); }
ul.check { list-style: none; padding: 0; }
ul.check li { padding-left: 28px; position: relative; margin: 8px 0; }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: #138a5a; font-weight: 800; }
.note { background: #fff8e1; border: 1px solid #ecd9a0; border-radius: 12px; padding: 14px 16px; color: #5a4a12; }
form.gen { display: grid; gap: 14px; }
form.gen label { font-weight: 600; display: block; margin-bottom: 4px; }
form.gen input, form.gen select, form.gen textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #9aa3a3; border-radius: 8px; font: inherit; background: #fff;
}
form.gen .hint { font-size: 0.9rem; color: var(--muted); margin-top: 2px; }
.two { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
#output { white-space: pre-wrap; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; font: 15px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; max-height: 520px; overflow: auto; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.95rem; }
footer.site a { color: var(--muted); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
