/* ============================================================
   vibecodingthatsactuallygood.com
   Tokens harvested from the Figma file (frame "vctag home").
   ============================================================ */

:root {
  --accent:      #147cf3;                /* user-customizable accent (set via the vibe bar) */
  --blue:        var(--accent);          /* alias so existing rules keep working */
  /* tints derived from the accent, so they recolor with it */
  --highlight:   color-mix(in srgb, var(--accent) 20%, #ffffff);
  --panel:       color-mix(in srgb, var(--accent) 9%,  #ffffff);
  --accent-soft: color-mix(in srgb, var(--accent) 30%, transparent);

  --dark:        #22262c;
  --grey:        #5a6069;
  --hairline:    #e2e6ea;
  --white:       #ffffff;

  --font-sans:   "Poppins", system-ui, sans-serif;
  --font-serif:  "Crimson Pro", Georgia, serif;

  --content:     1128px;   /* matches Figma's 136px margins on a 1400 canvas */
  --gutter:      clamp(20px, 5vw, 64px);

  /* decoration shape mask (swapped by [data-shape]) — authored in an 18px tile, scaled down via mask-size */
  --shape-url: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='18'%20height='18'%3E%3Ccircle%20cx='9'%20cy='9'%20r='2.4'%20fill='black'/%3E%3C/svg%3E");
}

/* shape options */
:root[data-shape="dots"] {
  --shape-url: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='18'%20height='18'%3E%3Ccircle%20cx='9'%20cy='9'%20r='2.4'%20fill='black'/%3E%3C/svg%3E");
}
:root[data-shape="rings"] {
  --shape-url: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='18'%20height='18'%3E%3Ccircle%20cx='9'%20cy='9'%20r='2.7'%20fill='none'%20stroke='black'%20stroke-width='1.3'/%3E%3C/svg%3E");
}
:root[data-shape="triangles"] {
  --shape-url: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='18'%20height='18'%3E%3Cpolygon%20points='9,4.5%2013.8,13.5%204.2,13.5'%20fill='black'/%3E%3C/svg%3E");
}
:root[data-shape="diamonds"] {
  --shape-url: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='18'%20height='18'%3E%3Cpolygon%20points='9,4%2014,9%209,14%204,9'%20fill='black'/%3E%3C/svg%3E");
}
:root[data-shape="squares"] {
  --shape-url: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='18'%20height='18'%3E%3Crect%20x='6.2'%20y='6.2'%20width='5.6'%20height='5.6'%20fill='black'/%3E%3C/svg%3E");
}
:root[data-shape="plus"] {
  --shape-url: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='18'%20height='18'%3E%3Crect%20x='8'%20y='5'%20width='2'%20height='8'%20fill='black'/%3E%3Crect%20x='5'%20y='8'%20width='8'%20height='2'%20fill='black'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--blue);          /* blue framing around the white column */
  color: var(--grey);
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* white content column floating on the blue background */
.page {
  background: var(--white);
  max-width: 1240px;
  margin-inline: auto;
  overflow: hidden;                 /* clip the decorative dot grids */
  position: relative;
}

/* ============================================================
   VIBE BAR  (live theme customizer)
   ============================================================ */
.vibe-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 14px var(--gutter);
  border-bottom: 0.5px solid var(--hairline);
}
.vibe-label {
  font-family: "SFMono-Regular", ui-monospace, "Menlo", monospace;
  font-weight: 700;
  font-size: clamp(16px, 1.9vw, 20px);
  letter-spacing: 0.01em;
  color: var(--accent);
}
.vibe-controls { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.swatches { display: flex; align-items: center; gap: 8px; }
.swatch {
  width: 22px; height: 22px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--s, #ccc);
  cursor: pointer;
  position: relative;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06) inset;
  transition: transform .12s ease;
}
.swatch:hover { transform: scale(1.12); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--s); }

/* color wheel chip */
.swatch--wheel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: conic-gradient(red, magenta, blue, cyan, lime, yellow, red);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.10) inset;
}
.swatch--wheel input[type="color"] {
  opacity: 0;
  width: 100%; height: 100%;
  border: 0; padding: 0; margin: 0;
  cursor: pointer;
}

.shape-toggle { display: flex; align-items: center; gap: 4px; }
.shape-btn {
  width: 30px; height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #c2c9d1;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: background .12s ease, color .12s ease;
}
.shape-btn:hover { color: var(--accent); }
.shape-btn.is-active { background: var(--panel); color: var(--accent); }

/* ============================================================
   DECORATIONS  (masked shape grids, tinted with the accent)
   ============================================================ */
.deco {
  position: absolute;
  background-color: var(--accent);
  -webkit-mask-image: var(--shape-url);
          mask-image: var(--shape-url);
  -webkit-mask-repeat: repeat;
          mask-repeat: repeat;
  -webkit-mask-size: 12px 12px;
          mask-size: 12px 12px;
  opacity: 0.5;
  pointer-events: none;
}
.deco--hero      { top: 8px;  right: var(--gutter); width: 156px; height: 132px; }
.deco--questions { top: 26px; right: var(--gutter); width: 156px; height: 120px; }

.wrap, main > section, .site-header, .site-footer, .rule {
  width: 100%;
  max-width: calc(var(--content) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Marker / highlighter ---------- */
.mark {
  background: transparent;
  color: inherit;
}
/* swipe: marker through the lower portion of the text */
.mark--swipe {
  background-image: linear-gradient(transparent 38%, var(--highlight) 38%, var(--highlight) 92%, transparent 92%);
  padding: 0 .08em;
  border-radius: 2px;
}
/* block: solid highlight rectangle behind the hero "I'm a designer." */
.mark--block {
  background-image: linear-gradient(transparent 8%, var(--highlight) 8%, var(--highlight) 98%, transparent 98%);
  padding: 0 .12em;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header { padding-top: 56px; padding-bottom: 24px; }

.wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.wordmark-accent {
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: italic;
  font-size: 1.36em;
  color: var(--blue);
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(40px, 8vw, 110px); padding-bottom: clamp(40px, 6vw, 80px); }

.disclaimer {
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: italic;
  color: var(--blue);
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1;
  margin: 0 0 .08em;
  padding-left: clamp(0px, 4vw, 56px);
}

.headline {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--dark);
  font-size: clamp(40px, 9vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}
.headline-line { display: block; }
.headline-line--1 { padding-left: clamp(0px, 4vw, 56px); }
.headline-line--2 { padding-left: clamp(0px, 30vw, 392px); color: var(--blue); }

/* pitch — left aligned with a thin rule, like the Figma */
.pitch {
  margin-top: clamp(28px, 4vw, 52px);
  max-width: 480px;
  padding-left: 22px;
  border-left: 1.5px solid var(--dark);
}
.pitch-text {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.35;
  color: var(--grey);
  margin: 0 0 .6em;
}
.pitch-sig {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--dark);
  margin: 0;
}

/* ============================================================
   CODE-COMMENT DIVIDER  ( <hr> {thats code for a section divider} )
   ============================================================ */
.rule {
  position: relative;
  text-align: center;
  margin-block: clamp(48px, 8vw, 96px);
  user-select: none;
  line-height: 0;                       /* let the hairline sit on the text baseline */
}
.rule::before {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 0.5px solid var(--hairline);
}
.rule-text {
  position: relative;
  display: inline-block;
  background: var(--white);
  padding: 0 16px;
  font-family: "SFMono-Regular", ui-monospace, "Menlo", monospace;
  font-size: clamp(12px, 1.3vw, 15px);
  letter-spacing: 0.02em;
  color: #b9c0c9;
  line-height: 1;
}
.rule-comment { color: #cfd5dd; }

/* ============================================================
   SECTION HEADS
   ============================================================ */
.section-head {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(28px, 3.4vw, 37px);
  margin: 0 0 32px;
}
.section-head--center { text-align: center; }
.section-head--right  { text-align: right; }

/* ============================================================
   SERVICES  (vertical, right-aligned list)
   ============================================================ */
.services { position: relative; padding-block: 8px; }
.service-list {
  list-style: none;
  margin: 0; padding: 0;
  text-align: right;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.5;
  color: var(--dark);
  letter-spacing: -0.01em;
}

/* ============================================================
   QUESTIONS
   ============================================================ */
.questions {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 88px);
  margin-block: clamp(40px, 6vw, 72px);
}
.questions-head {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--dark);
  font-size: clamp(26px, 3.2vw, 37px);
  margin: 0 0 .8em;
}
.question {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
  font-size: clamp(26px, 4vw, 49px);
  line-height: 1.32;
  margin: 0 0 .35em;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding-top: 8px; }
.pricing-subhead {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(19px, 2vw, 24px);
  color: var(--grey);
  margin: 0 0 clamp(40px, 5vw, 56px);
  max-width: 760px;
}

/* shared text bits */
.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
  font-size: clamp(21px, 2.3vw, 26px);
  line-height: 1.25;
  margin: 0;
}
.desc {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--grey);
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.4;
  margin: 8px 0 0;
}

.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

/* "starts at" prefix on prices */
.from {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.46em;
  color: var(--grey);
  white-space: nowrap;
}

/* ---- Gut Check front-door panel ---- */
.gutcheck {
  background: var(--panel);
  border-radius: 10px;
  padding: clamp(26px, 3.5vw, 40px);
  margin-bottom: clamp(40px, 5vw, 56px);
}
.gutcheck-tldr {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--dark);
  font-size: clamp(18px, 1.9vw, 22px);
  margin: 14px 0 0;
}
.gutcheck-tldr .tldr {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--blue);
  margin-right: 4px;
}

/* more info toggle */
.more { margin-top: 16px; }
.more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(15px, 1.6vw, 18px);
  width: max-content;
}
.more-toggle::-webkit-details-marker { display: none; }
.more-caret {
  display: inline-block;
  font-size: 1.25em;
  line-height: 1;
  transition: transform .15s ease;
}
.more[open] .more-caret { transform: rotate(90deg); }
.more[open] .more-label::after { content: " (less)"; font-weight: 300; opacity: .7; }
.more-body { margin-top: 18px; }
.more-body .tagline { margin-top: 0; }
.gutcheck-name {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--dark);
  font-size: clamp(28px, 3.4vw, 37px);
}
.gutcheck-price {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(28px, 3.4vw, 37px);
  white-space: nowrap;
}
.gutcheck .tagline { margin-top: 18px; }
.bullets {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--grey);
  font-size: clamp(18px, 1.9vw, 22px);
}
.bullets li { padding-left: 28px; position: relative; }
.bullets li::before { content: "\2022"; position: absolute; left: 4px; color: inherit; }
.bullet-accent { color: var(--blue); }
.gutcheck-closer {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--grey);
  font-size: clamp(17px, 1.8vw, 21px);
  margin: 22px 0 0;
}

/* ---- Stacked blocks ---- */
.blocks { display: flex; flex-direction: column; }
.block {
  border-top: 0.5px solid var(--hairline);
  padding-block: clamp(22px, 3vw, 28px);
}
.blocks .block:last-child { border-bottom: 0.5px solid var(--hairline); }
.block-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.block-name {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--dark);
  font-size: clamp(24px, 2.8vw, 30px);
}
.block-name--featured {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(27px, 3.2vw, 36px);
}
.block-pricecol { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 3px; }
.block-priceline {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(20px, 2.3vw, 25px);
  white-space: nowrap;
}
.block-rate {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--grey);
  font-size: clamp(15px, 1.5vw, 19px);
  white-space: nowrap;
}
.block .tagline { margin-top: 10px; }

/* ---- Ongoing / On Call ---- */
.ongoing { margin-top: clamp(48px, 6vw, 64px); }
.ongoing-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--grey);
  font-size: clamp(19px, 2vw, 22px);
  margin: 0 0 16px;
}
.oncall {
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: clamp(26px, 3.5vw, 40px) clamp(28px, 4vw, 44px);
}
.oncall .tagline { margin-top: 12px; }

/* ---- Fine print + prompt note ---- */
.fineprint {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--grey);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.45;
  margin: clamp(40px, 5vw, 56px) 0 0;
  max-width: 880px;
}
.prompt-note {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--grey);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.45;
  margin: 24px 0 0;
  max-width: 880px;
}
.prompt-note strong { color: var(--dark); font-weight: 600; }

/* ============================================================
   DELIVERY (two ways to get the fixes)
   ============================================================ */
.delivery { padding-top: clamp(60px, 9vw, 120px); }
.delivery-subhead {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(19px, 2vw, 24px);
  color: var(--grey);
  margin: 0 0 clamp(32px, 4vw, 44px);
}
.options { display: flex; gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.option {
  flex: 1;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: clamp(28px, 4vw, 40px);
}
.option-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
}
.option-title {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--dark);
  font-size: clamp(22px, 2.6vw, 29px);
  margin: 0 0 12px;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  text-align: center;
  padding-top: clamp(72px, 10vw, 130px);
  padding-bottom: clamp(60px, 8vw, 100px);
}
.cta-head {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--dark);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.15;
  margin: 0 auto clamp(28px, 4vw, 40px);
  max-width: 700px;
}
.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 24px);
  text-decoration: none;
  padding: 18px 34px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow: 0 8px 24px var(--accent-soft);
}
.text-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px var(--accent-soft); filter: brightness(0.94); }
.text-btn:active { transform: translateY(0); }
.text-btn-icon { width: 1.05em; height: 1.05em; flex: none; }
.cta-sub {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  color: var(--grey);
  font-size: clamp(17px, 1.9vw, 22px);
  margin: clamp(22px, 3vw, 30px) auto 0;
  max-width: 520px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 36px;
  padding-bottom: 48px;
  border-top: 0.5px solid var(--hairline);
}
.wordmark--footer { font-size: 15px; }
.footer-meta {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--grey);
  font-size: 16px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
  body { font-size: 18px; }

  .headline-line--1,
  .headline-line--2 { padding-left: 0; }

  .pitch { max-width: 100%; }

  .block-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .block-pricecol { align-items: flex-start; text-align: left; flex-direction: row; gap: 12px; align-items: baseline; }

  .row { flex-wrap: wrap; }

  /* deliverable options stack */
  .options { flex-direction: column; }
}
