:root {
  /* Brand palette — PricePing FD2 Bell scheme.
     Ink alert bubble on paper background, orange bell accent. */
  --ink: #0E0E0C;
  --ink-soft: #1a1a17;
  --ink-faint: #4a4a4a;
  --ink-mute: #6b6b6b;
  --paper: #FAF7F2;
  --paper-deep: #f0eee9;
  --orange: #FF6B1A;
  --navy: #0A2540;
  --steel: #3A4A5C;
  --rule: #d8d2c5;

  --max: 720px;
  --display: 'Inter Tight', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, "SF Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

/* --- Header / wordmark --- */

.site-header {
  margin-bottom: 3rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.6rem;
  letter-spacing: -0.035em;
  line-height: 1;
}

.wordmark:hover { color: var(--ink); }

.wordmark .logo {
  display: block;
  flex-shrink: 0;
}

.wordmark .wm-text { display: inline-block; }
.wordmark .price { font-weight: 500; }
.wordmark .ping  { font-weight: 800; }

/* --- Section rhythm --- */

main > section {
  margin-bottom: 2.75rem;
}

main > section:last-of-type {
  margin-bottom: 2rem;
}

section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--ink);
}

/* --- Hero --- */

.hero h1 {
  font-size: 2.1rem;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  color: var(--ink);
}

.hero .sub {
  font-size: 1.15rem;
  color: var(--ink-faint);
  margin: 0;
}

/* --- Pitch / lede --- */

.pitch {
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}

.pitch .lede {
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 1.25rem;
  letter-spacing: -0.005em;
}

.pitch p:not(.lede) {
  margin: 0;
  color: var(--ink-soft);
}

/* --- Rules list --- */

.rule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.rule-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-soft);
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--orange);
}

.rule-list strong {
  color: var(--ink);
  font-weight: 700;
}

/* --- Key-value list (pricing, contact) --- */

.kv-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.55rem 1.5rem;
  margin: 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.kv-list dt {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--steel);
  align-self: center;
}

.kv-list dd {
  margin: 0;
  align-self: center;
}

.pricing .kv-list dd {
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-line {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
}

/* --- About --- */

.about p {
  margin: 0;
  color: var(--ink-soft);
}

/* --- Links --- */

a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(10, 37, 64, 0.4);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: var(--orange);
  text-decoration-color: var(--orange);
}

/* --- Footer --- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
  color: var(--ink-mute);
  font-size: 0.9rem;
}

.site-footer p { margin: 0; }

/* --- Privacy policy --- */

.policy h1 {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.policy .meta {
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.85rem;
  margin: 0 0 2.5rem;
}

.policy h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 2.25rem 0 0.75rem;
  color: var(--ink);
}

.policy p,
.policy ul { margin: 0 0 1rem; }

.policy ul { padding-left: 1.5rem; }
.policy li { margin-bottom: 0.25rem; }

.policy .back { margin-top: 3rem; }

/* --- FD2 Bell animation ---
   Ported from the design handoff (PricePing Logo.html). The bell-swing group
   pivots at the visual top of the bell (transform-origin 50% 0% with
   transform-box: fill-box), and the sound-arc paths flash on the outward
   ends of each swing. */

@keyframes bell-ring {
  0%   { transform: rotate(0deg); }
  15%  { transform: rotate(-6deg); }
  30%  { transform: rotate(0deg); }
  45%  { transform: rotate(6deg); }
  60%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.bell-swing {
  transform-box: fill-box;
  transform-origin: 50% 0%;
  animation: bell-ring 2.2s ease-in-out infinite;
}

@keyframes bell-arc-left {
  0%, 14% { opacity: 0; }
  18%     { opacity: 0.9; }
  26%     { opacity: 0; }
  100%    { opacity: 0; }
}

@keyframes bell-arc-right {
  0%, 44% { opacity: 0; }
  48%     { opacity: 0.9; }
  56%     { opacity: 0; }
  100%    { opacity: 0; }
}

.bell-arc-l { animation: bell-arc-left  2.2s ease-in-out infinite; opacity: 0; }
.bell-arc-r { animation: bell-arc-right 2.2s ease-in-out infinite; opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .bell-swing,
  .bell-arc-l,
  .bell-arc-r { animation: none !important; }
}

/* --- Mobile --- */

@media (max-width: 600px) {
  main { padding: 2rem 1.25rem 1.5rem; }
  .wordmark { font-size: 1.4rem; gap: 10px; }
  .wordmark .logo { width: 32px; height: 32px; }
  .hero h1 { font-size: 1.7rem; }
  .hero .sub { font-size: 1.05rem; }
  .pitch .lede { font-size: 1.1rem; }
  section h2 { font-size: 1.25rem; }
  .kv-list { grid-template-columns: 1fr; gap: 0.25rem; }
  .kv-list dt { margin-top: 0.75rem; }
  .kv-list dt:first-child { margin-top: 0; }
}
