/* GoldCite — static site, no build step */
:root {
  --ink: #0f172a;
  --mute: #475569;
  --line: #e2e8f0;
  --acc: #0f766e;
  --acc2: #115e59;
  --bg: #f8fafc;
  --white: #fff;
  --focus: #0f766e;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.55;
  background: var(--white);
}
a { color: var(--acc); }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 12px;
  border-radius: 6px;
  z-index: 10;
  text-decoration: none;
  min-height: 44px;
}
.skip:focus { top: 12px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }
header { border-bottom: 1px solid var(--line); background: var(--white); }
header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 62px;
  gap: 12px 20px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.logo {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.logo span { color: var(--acc); }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
nav a {
  color: var(--mute);
  text-decoration: none;
  font-size: 15px;
  padding: 10px 8px;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
}
nav a:hover { color: var(--ink); }
.hero { padding: 72px 0 48px; }
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 800px;
}
.hero p { font-size: 19px; color: var(--mute); max-width: 680px; margin: 0 0 8px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn {
  display: inline-block;
  background: var(--acc);
  color: var(--white);
  padding: 13px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  min-height: 44px;
  line-height: 1.2;
}
.btn:hover { background: var(--acc2); color: var(--white); }
.btn.ghost {
  background: var(--white);
  color: var(--acc);
  border: 1px solid var(--acc);
}
.btn.ghost:hover { background: var(--bg); color: var(--acc2); }
.chat {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  background: var(--bg);
  max-width: 720px;
  font-size: 15px;
}
.chat .q { font-weight: 600; }
.chat .a { color: var(--mute); margin-top: 6px; }
section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 14px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px;
  margin-top: 22px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.card .cta-row { margin-top: auto; padding-top: 8px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.stat {
  font-size: 40px;
  font-weight: 800;
  color: var(--acc);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.price { font-size: 34px; font-weight: 800; margin: 4px 0 12px; }
.price small { font-size: 15px; color: var(--mute); font-weight: 500; }
ul.check { padding-left: 0; list-style: none; margin: 0 0 12px; }
ul.check li { padding-left: 24px; position: relative; margin: 7px 0; }
ul.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--acc);
  font-weight: 700;
}
.feat { border: 2px solid var(--acc); }
.note { font-size: 13px; color: var(--mute); }
details { border-bottom: 1px solid var(--line); padding: 6px 0; }
summary {
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
}
details p { margin: 0 0 10px; color: var(--mute); }
footer {
  padding: 36px 0;
  color: var(--mute);
  font-size: 14px;
  border-top: 1px solid var(--line);
}
footer p { margin: 0 0 8px; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
footer nav a {
  color: var(--acc);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.legal { max-width: 720px; padding: 48px 0 72px; }
.legal h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  line-height: 1.15;
}
.legal .meta { color: var(--mute); font-size: 14px; margin: 0 0 32px; }
.legal h2 { font-size: 22px; margin: 28px 0 10px; }
.legal p, .legal li { margin: 0 0 12px; }
.legal ul { padding-left: 22px; margin: 0 0 12px; }
@media (max-width: 640px) {
  .hero { padding: 40px 0 32px; }
  section { padding: 40px 0; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
  h2 { font-size: 26px; }
  .stat { font-size: 34px; }
  header .wrap { align-items: flex-start; }
  nav { width: 100%; }
}

@media (min-width: 900px) {
  #how .grid { grid-template-columns: repeat(4, 1fr); }
  #pricing .grid { grid-template-columns: repeat(3, 1fr); }
}

/* Guided assistant widget (widget.js) */
.gc-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  background: var(--acc);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  min-height: 48px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.25);
}
.gc-toggle:hover { background: var(--acc2); }
.gc-toggle[hidden], .gc-panel[hidden], .gc-form[hidden] { display: none; }
.gc-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  width: min(380px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 32px));
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.3);
  overflow: hidden;
  padding: 0;
  border-top: 1px solid var(--line);
}
.gc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px 6px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.gc-close {
  background: none;
  border: 0;
  color: var(--acc2);
  font: inherit;
  font-weight: 600;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  cursor: pointer;
}
.gc-body { padding: 14px 16px; overflow-y: auto; flex: 1; font-size: 15px; }
.gc-msg { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; max-width: 92%; }
.gc-msg.bot { background: var(--bg); color: var(--ink); }
.gc-msg.user { background: var(--acc2); color: var(--white); margin-left: auto; }
.gc-chips, .gc-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.gc-tools { margin-top: 14px; }
.gc-chip {
  background: var(--white);
  color: var(--acc2);
  border: 1px solid var(--acc);
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 44px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.gc-chip:hover { background: var(--bg); }
.gc-body .btn { display: block; margin: 8px 0; }
.gc-faq { padding: 0; }
.gc-faq summary { font-size: 14px; }
.gc-faq p { font-size: 14px; }
.gc-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.gc-form input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--mute);
  border-radius: 10px;
  font: inherit;
}
.gc-form .btn { border: 0; cursor: pointer; padding: 10px 16px; font: inherit; font-weight: 600; }
.gc-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
