:root {
  --lavender-bg: #f4effe;
  --lavender-soft: #e6dcff;
  --lavender-deep: #d4c4ff;
  --ink: #17132a;
  --ink-muted: #453c64;
  --yellow: #ffd83d;
  --yellow-hover: #ffcf14;
  --white: #ffffff;
  --plum: #3b286b;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--lavender-bg);
  color: var(--ink);
  font: 500 15px/1.65 var(--sans);
  overflow-x: visible;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, select, input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

h1, h2, h3, h4, p, ol, ul, fieldset {
  margin: 0;
  padding: 0;
}

fieldset {
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 200;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  padding: 10px 20px;
}

.skip-link:focus {
  left: 14px;
}

/* Review bar */
.review-bar {
  background: var(--ink);
  color: #f4effe;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 8px 4%;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.review-bar a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* Floating Pill Header */
.header-shell {
  padding: 18px 4% 8px;
  position: relative;
  z-index: 30;
}

.header-pill {
  max-width: 1360px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--ink);
  padding: 10px 18px 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-bubble {
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-caption {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  transition: background 0.2s;
}

.site-nav a:hover {
  background: var(--lavender-soft);
}

.cta-pill {
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}

.cta-pill:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--lavender-soft);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 700;
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Hero — Playful Offset Floating Phone Visual */
.hero {
  padding: 36px 4% 72px;
}

.hero-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.shaped-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lavender-soft);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.badge-star {
  color: var(--plum);
  font-size: 14px;
}

.hero h1 {
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 22px 0 22px;
}

.highlight-word {
  display: inline-block;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 22px;
  padding: 2px 16px 6px;
  box-shadow: 4px 4px 0 var(--ink);
  margin-top: 6px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 15px 26px;
  min-height: 52px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s, background 0.2s;
}

.btn-yellow:hover {
  background: var(--yellow-hover);
  transform: translate(-2px, -2px);
}

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 15px 24px;
  min-height: 52px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.btn-outline:hover {
  background: var(--lavender-soft);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-chip {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-chip strong {
  font-size: 16px;
  font-weight: 700;
}

.trust-chip span {
  font-size: 12px;
  color: var(--ink-muted);
}

/* Floating Phone Stage */
.hero-stage {
  position: relative;
}

.visual-card {
  position: relative;
  background: linear-gradient(145deg, #ebe2ff 0%, #d8c7ff 100%);
  border: 3px solid var(--ink);
  border-radius: 36px;
  box-shadow: 10px 10px 0 var(--ink);
  padding: 28px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phone-img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  border-radius: 22px;
}

.shaped-sticker {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: rotate(4deg);
  z-index: 2;
}

.callout-pill {
  position: absolute;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.callout-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
}

.callout-top {
  top: 22px;
  left: 20px;
}

.callout-bottom {
  bottom: 20px;
  right: 20px;
}

/* Common Section Framing */
.tiles-section,
.estimator-section,
.steps-section,
.faq-section {
  padding: 76px 4%;
}

.section-head {
  max-width: 1360px;
  margin: 0 auto 44px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.section-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--lavender-soft);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 12px;
}

.section-head h2,
.estimator-controls h2,
.faq-header h2 {
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-head h2 em,
.estimator-controls h2 em,
.faq-header h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--plum);
}

.section-sub {
  max-width: 420px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* Asymmetric Repair-Choice Bento Tiles */
.bento-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.bento-tile {
  grid-column: span 4;
  text-align: left;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 28px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.2s, background 0.2s;
}

.bento-tile.tile-wide {
  grid-column: span 7;
  background: var(--lavender-soft);
}

.bento-tile.tile-yellow {
  grid-column: span 5;
  background: var(--yellow);
}

.bento-tile:hover {
  transform: translate(-3px, -3px);
}

.bento-tile.is-selected {
  outline: 4px solid var(--plum);
  outline-offset: 2px;
}

.tile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.tile-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 4px 10px;
}

.tile-time {
  font-size: 12px;
  font-weight: 700;
}

.tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--white);
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--ink);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bento-tile h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.bento-tile p {
  font-size: 14px;
  color: var(--ink-muted);
}

.bento-tile.tile-yellow p {
  color: var(--ink);
}

.tile-footer {
  width: 100%;
  padding-top: 14px;
  border-top: 1.5px dashed var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tile-price {
  font-size: 15px;
  font-weight: 700;
}

.tile-cta {
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Estimator Section */
.estimator-box {
  max-width: 1360px;
  margin: 0 auto;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 36px;
  box-shadow: 10px 10px 0 var(--ink);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: start;
}

.estimator-intro {
  color: var(--ink-muted);
  margin: 14px 0 28px;
}

.estimator-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.control-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.control-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.rounded-select {
  width: 100%;
  background: var(--lavender-bg);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 14px 16px;
  min-height: 52px;
  font-size: 14px;
  font-weight: 700;
}

.part-pills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.part-pill {
  position: relative;
  cursor: pointer;
}

.part-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.part-pill span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px;
  background: var(--lavender-bg);
  border: 2px solid var(--ink);
  border-radius: 18px;
  transition: background 0.2s;
}

.part-pill strong {
  font-size: 14px;
}

.part-pill small {
  font-size: 12px;
  color: var(--ink-muted);
}

.part-pill input:checked + span {
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
}

.part-pill input:checked + span small {
  color: var(--ink);
}

.part-pill input:focus-visible + span {
  outline: 3px solid var(--plum);
  outline-offset: 2px;
}

/* Estimator Result Card */
.estimator-result {
  background: var(--lavender-soft);
  border: 2.5px solid var(--ink);
  border-radius: 28px;
  padding: 32px;
}

.result-sticker {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.result-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.result-device {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 6px 0 22px;
}

.price-bubble {
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 24px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-caption {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-amount {
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.price-time {
  font-size: 13px;
  font-weight: 700;
}

.result-details h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.result-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.result-details li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
}

.result-details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--plum);
}

.result-disclaimer {
  font-size: 12px;
  color: var(--ink-muted);
  border-top: 1.5px dashed var(--ink);
  padding-top: 14px;
}

/* Client-Friendly Step Flow */
.steps-grid {
  max-width: 1360px;
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 26px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-card:nth-child(even) {
  background: var(--lavender-soft);
}

.step-badge {
  align-self: flex-start;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
}

.step-card h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.step-card p {
  font-size: 14px;
  color: var(--ink-muted);
}

/* FAQ */
.faq-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.faq-header {
  margin-bottom: 32px;
}

.faq-accordions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
}

.faq-card summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.faq-card[open] summary::after {
  content: "−";
}

.faq-card p {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  padding: 24px 4% 40px;
}

.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--white);
  border-radius: 32px;
  padding: 40px 36px 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 24px;
  font-weight: 700;
}

.footer-sub {
  font-size: 13px;
  color: #dcd4f5;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #dcd4f5;
}

.footer-bottom a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid,
  .estimator-box {
    grid-template-columns: 1fr;
  }
  .bento-tile,
  .bento-tile.tile-wide,
  .bento-tile.tile-yellow {
    grid-column: span 6;
  }
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .review-bar {
    font-size: 10px;
    padding: 8px 14px;
  }
  .header-shell {
    padding: 12px 14px 4px;
  }
  .header-pill {
    border-radius: 24px;
    padding: 10px 14px;
  }
  .brand-caption,
  .cta-pill {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 2.5px solid var(--ink);
    border-radius: 24px;
    box-shadow: 6px 6px 0 var(--ink);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    padding: 12px 14px;
  }
  .hero {
    padding: 24px 14px 52px;
  }
  .hero-trust {
    grid-template-columns: 1fr;
  }
  .btn-yellow,
  .btn-outline {
    width: 100%;
    justify-content: space-between;
  }
  .visual-card {
    min-height: 320px;
    padding: 48px 16px 56px;
  }
  .callout-top {
    top: 12px;
    left: 12px;
    font-size: 11px;
  }
  .callout-bottom {
    bottom: 12px;
    right: 12px;
    font-size: 11px;
  }
  .shaped-sticker {
    display: none;
  }
  .tiles-section,
  .estimator-section,
  .steps-section,
  .faq-section {
    padding: 52px 14px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .bento-tile,
  .bento-tile.tile-wide,
  .bento-tile.tile-yellow {
    grid-column: span 12;
    padding: 22px;
  }
  .estimator-box {
    padding: 24px 18px;
    border-radius: 26px;
  }
  .estimator-result {
    padding: 22px 18px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    padding: 28px 20px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Art direction review: bring the 3D artwork into the mobile opening. */
@media(max-width:768px){.hero-grid{display:flex;flex-direction:column;gap:24px}.hero-copy{display:contents}.shaped-badge{order:0;margin:0}.hero h1{order:1;margin:0}.hero-stage{order:2;width:100%;margin:0}.hero-lead{order:3;margin:0}.hero-buttons{order:4;margin:0;width:100%}.hero-trust{order:5;width:100%}.visual-card{padding:25px 15px}.hero-phone-img{aspect-ratio:3/2;object-fit:contain}.callout-pill{display:none}.shaped-sticker{font-size:9px}}
