:root {
  color-scheme: light;
  --cream: #fff8ef;
  --cream-deep: #f7eadc;
  --surface: #fffdfb;
  --ink: #2c1028;
  --plum: #590540;
  --plum-deep: #3c062d;
  --coral: #ff5863;
  --orange: #ffa814;
  --muted: #745d6f;
  --line: rgba(89, 5, 64, 0.14);
  --panel-shadow: 0 2px 4px rgba(60, 6, 45, 0.025), 0 14px 36px rgba(60, 6, 45, 0.055);
  --panel-foliage: url("assets/holdmyspot-panel-ornament.svg");
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
button { font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }
::selection { background: #efd5df; color: #3c062d; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--plum);
  border-radius: 10px;
  font-weight: 700;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(60, 6, 45, 0.04);
}
.site-header__content {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88px;
  gap: 24px;
}
.brand {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: var(--plum-deep);
}
.brand:hover { text-decoration: none; }
.brand-parent { font-size: 0.58rem; font-weight: 800; letter-spacing: 0.12em; line-height: 1; }
.brand-product { display: flex; align-items: center; gap: 8px; }
.brand-product b { font-size: 1.32rem; letter-spacing: -0.04em; line-height: 1.2; }
.brand-logo { width: 34px; height: 34px; padding: 3px; object-fit: contain; border-radius: 8px; background: #fff0dd; }
.site-header nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.site-header nav a { color: var(--plum-deep); font-size: 0.88rem; font-weight: 700; white-space: nowrap; }
.site-header nav a:hover { text-decoration-color: var(--coral); }
.header-preferences { display: flex; align-items: center; margin-left: auto; flex-shrink: 0; }
.theme-toggle, .menu-toggle {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--plum-deep);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.theme-toggle { min-width: 108px; }
.theme-toggle svg, .menu-toggle svg { width: 20px; height: 20px; flex-shrink: 0; }
.theme-toggle:hover, .menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: var(--cream-deep); }

h1, h2, h3, p { margin-top: 0; text-wrap: pretty; }
h1, h2, h3 { color: var(--plum-deep); font-weight: 760; letter-spacing: -0.035em; }
h1 { margin-bottom: 24px; font-size: clamp(2.25rem, 3.4vw, 3.2rem); line-height: 1.3; text-wrap: balance; }
h1 em { color: var(--plum); font-style: normal; }
h2 { margin-bottom: 24px; font-size: clamp(2.1rem, 3.4vw, 3rem); line-height: 1.3; text-wrap: balance; }
h3 { margin-bottom: 12px; font-size: 1.2rem; line-height: 1.4; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--plum);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 3px; flex-shrink: 0; background: var(--coral); border-radius: 99px; }
.button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--plum);
  border-radius: 999px;
  color: #fff;
  background: var(--plum);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 8px 20px rgba(60, 6, 45, 0.1);
  cursor: pointer;
  transition: background-color 160ms ease;
}
.button:hover { background: var(--plum-deep); text-decoration: none; }
.header-sign-in { min-height: 44px; padding-block: 10px; }
.text-link { color: var(--plum); font-size: 0.88rem; font-weight: 700; }

.hero {
  padding: 60px 0 48px;
  background:
    radial-gradient(ellipse at 92% 15%, rgba(220, 186, 198, 0.28), transparent 57%),
    radial-gradient(ellipse at 2% 92%, rgba(241, 195, 120, 0.18), transparent 55%),
    linear-gradient(125deg, #fff9f2, #f9eee5);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: center; gap: 48px; }
.hero-intro { max-width: 610px; margin-bottom: 28px; color: var(--muted); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 20px; }
.hero-note { max-width: 560px; margin-bottom: 0; color: var(--muted); font-size: 0.8rem; }
.hero-note strong { color: var(--plum); font-weight: 650; }
.terminal-card {
  position: relative;
  overflow: hidden;
  color: #ffe8d7;
  background: linear-gradient(135deg, #3c062d, #590540);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--panel-shadow);
}
.terminal-card::before, .start-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 72px;
  content: "";
  background: var(--panel-foliage) right top / contain no-repeat;
  pointer-events: none;
}
.terminal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  color: #dcc5d6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font: 0.7rem/1.6 var(--mono);
}
.terminal-head a { position: relative; }
.terminal-dots { display: flex; gap: 5px; }
.terminal-dots i { width: 8px; height: 8px; background: var(--coral); border-radius: 50%; }
.terminal-dots i:nth-child(2) { background: var(--orange); }
.terminal-dots i:nth-child(3) { background: #91dec3; }
.issue-scenario { display: grid; gap: 16px; padding: 28px; }
.issue-scenario h2 { margin: 0; color: #fff8ef; font-size: 1.65rem; line-height: 1.35; }
.issue-scenario p { margin: 0; color: #f4ddec; font-size: 0.9rem; }
.issue-scenario .scenario-label { color: #ffdda0; font: 600 0.7rem/1.5 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.scenario-request { padding: 16px 18px; background: rgba(255, 248, 239, 0.08); border-left: 3px solid var(--coral); border-radius: 0 12px 12px 0; }
.scenario-request .scenario-label { margin-bottom: 6px; }
.scenario-request p:last-child { color: #fff8ef; font-weight: 650; }
.issue-scenario .scenario-offer { color: #dcc5d6; font-size: 0.78rem; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--panel-shadow);
}
.trust-strip span { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--plum); font-size: 0.85rem; font-weight: 650; }
.fixes, .usage-section, .start-section { padding: 72px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: end; gap: 64px; margin-bottom: 40px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 480px; margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.issue-card, .benefit-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(150deg, var(--surface), var(--cream));
  box-shadow: var(--panel-shadow);
}
.issue-card p:last-child, .benefit-card p:last-child { margin-bottom: 0; color: var(--muted); font-size: 0.9rem; }
.issue-number { margin-bottom: 28px; color: var(--plum); font: italic 1.2rem/1.5 Georgia, serif; }
.card-label { margin-bottom: 18px; color: var(--plum); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.usage-section { background: var(--cream-deep); }
.pricing-link-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.pricing-link-row p { margin: 0; color: var(--muted); font-size: 0.85rem; }
.start-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--surface), var(--cream-deep));
  box-shadow: var(--panel-shadow);
}
.start-card h2 { font-size: clamp(2.1rem, 3.4vw, 3rem); }
.start-card p:last-child { max-width: 590px; margin-bottom: 0; color: var(--muted); }

.site-footer { padding: 48px 0; color: #e5c9df; background: #3c062d; }
.footer-grid { display: flex; justify-content: space-between; gap: 42px; }
.footer-parent { display: inline-block; margin-bottom: 10px; color: #fff8ef; font-size: 1.18rem; font-weight: 800; letter-spacing: -0.04em; }
.site-footer p { max-width: 390px; margin-bottom: 0; font-size: 0.86rem; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; gap: 22px; color: #ffe8d7; font-size: 0.86rem; font-weight: 650; }

@media (max-width: 1040px) {
  .site-header__content { flex-wrap: wrap; gap: 12px; padding: 16px 0; }
  .site-header nav { flex-wrap: wrap; width: 100%; order: 1; margin-left: 0; gap: 16px; }
  .site-header[data-navigation-ready] .site-header__content { flex-wrap: nowrap; }
  .site-header[data-navigation-ready] nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 11;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(320px, 100%);
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--panel-shadow);
  }
  .site-header nav a { padding: 8px 0; }
  .site-header nav .header-sign-in { margin-top: 8px; padding: 12px 22px; color: #fff; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 32px; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .shell { width: min(1160px, calc(100% - 32px)); }
  .hero, .fixes, .usage-section, .start-section { padding: 48px 0; }
  .hero-grid, .section-heading, .product-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 36px; }
  .hero-copy { max-width: 640px; }
  .terminal-card { width: 100%; max-width: 560px; }
  .section-heading { gap: 20px; }
  .section-heading > p { max-width: 610px; }
  .start-card { align-items: flex-start; flex-direction: column; padding: 32px; gap: 28px; }
  .footer-grid { flex-direction: column; gap: 28px; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .brand-product b { max-width: 120px; font-size: 1.1rem; }
  .site-header__content { gap: 8px; min-height: 82px; }
  .theme-toggle { min-width: 44px; padding: 9px; }
  .theme-label { display: none; }
  .menu-toggle { padding: 9px; }
  .menu-toggle span { font-size: 0.8rem; }
  .trust-strip { grid-template-columns: minmax(0, 1fr); }
  .terminal-head, .issue-scenario { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media (max-width: 359px) {
  .menu-toggle span { display: none; }
}
