/* gangur.is: the category-standard product page, light, navy type, orange only for action and "ready". */
:root {
  color-scheme: light;
  --navy: #120B52;
  --navy-2: #1d1570;
  --orange: #F7931E;
  --orange-hi: #ffa53d;
  --bg: #ffffff;
  --tint: #f6f5fb;
  --tint-2: #eeedf6;
  --line: #e2e0ee;
  --line-2: #cfcce2;
  --fg: #120B52;
  --body: #2c2760;
  --muted: #5b5784;
  --on-navy: #ffffff;
  --on-navy-muted: #c9c5ec;

  --st-booked: #8b939c;
  --st-arrived: #00a3b4;
  --st-working: #2a6ff0;
  --st-parts: #f08c00;
  --st-ready: #22a55b;
  --st-delivered: #9aa1aa;

  --font: "Barlow", system-ui, sans-serif;
  --display: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;

  --r: 12px;
  --shadow-1: 0 1px 2px rgba(18, 11, 82, .06), 0 4px 12px rgba(18, 11, 82, .06);
  --shadow-2: 0 2px 6px rgba(18, 11, 82, .08), 0 24px 60px -12px rgba(18, 11, 82, .22);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--font); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--fg); font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--fg); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: color-mix(in srgb, var(--orange) 40%, white); color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
input { caret-color: var(--orange); }
html { scrollbar-color: var(--line-2) transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.hero .wrap { width: min(1320px, 100% - 2 * var(--gutter)); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 17px/1 var(--font); border-radius: 10px; padding: 15px 22px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .15s, box-shadow .15s, transform .15s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 1px 2px rgba(18, 11, 82, .18); }
.btn-primary:hover { background: var(--orange-hi); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--tint-2); color: var(--fg); }
.btn-sm { font-size: 15px; padding: 10px 14px; border-radius: 8px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav-logo img { width: 128px; height: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a, .nav-login { font-weight: 600; font-size: 16px; color: var(--body); text-decoration: none; }
.nav-links a:hover, .nav-login:hover { color: var(--fg); text-decoration: underline; }
.nav-act { margin-left: auto; display: flex; align-items: center; gap: 20px; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); background:
  radial-gradient(60% 60% at 85% 20%, rgba(247, 147, 30, .10), transparent 70%),
  linear-gradient(180deg, #fff, var(--tint)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(46px, 5.8vw, 80px); line-height: .98; letter-spacing: -.02em; }
.lead { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); color: var(--body); max-width: 34ch; }
.signup { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 480px; }
.signup input { flex: 1 1 220px; min-width: 0; font: 500 17px var(--font); color: var(--fg); padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.signup input::placeholder { color: #67638c; }
.signup input:hover { border-color: #b3afd0; }
.signup input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(18, 11, 82, .12); }
.signup input[aria-invalid="true"] { border-color: #c4302b; }
.signup-err { flex-basis: 100%; color: #b3261e; font-size: 15px; font-weight: 500; }
.micro { margin-top: 12px; font-size: 15px; color: var(--muted); font-weight: 500; }
.soon { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 14px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); color: var(--fg); font-size: 16px; font-weight: 600; }
.soon-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 22%, transparent); flex: none; }

/* Demo */
.demo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 168px; align-items: end; padding-bottom: 40px; }
.app { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.app-bar > b { font-family: var(--display); font-size: 17px; color: var(--fg); }
.app-sum { display: flex; gap: 14px; color: var(--muted); margin-left: 8px; }
.app-sum b { color: var(--fg); font-variant-numeric: tabular-nums; }
.tag-demo { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--tint-2); padding: 4px 9px; border-radius: 999px; }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px; background: var(--tint); min-height: 340px; }
.col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.col h3 { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--fg); display: flex; align-items: center; gap: 7px; padding: 2px 2px 4px; letter-spacing: 0; }
.col h3 small { margin-left: auto; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; display: inline-block; }
.job { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; display: grid; gap: 3px; font-size: 13.5px; line-height: 1.35; box-shadow: inset 3px 0 0 var(--c), var(--shadow-1); }
.job-top { display: flex; align-items: center; gap: 7px; min-width: 0; }
.job .car { font-weight: 600; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job .meta { color: var(--muted); font-size: 12.5px; }
.job .st-parts { color: #9a5a00; font-weight: 600; }
.plate { display: inline-flex; align-items: stretch; border: 1px solid #1b1f24; border-radius: 3px; background: #fff; color: #111418; font: 700 12px/1 var(--display); letter-spacing: .07em; overflow: hidden; white-space: nowrap; flex: none; }
.plate i { width: 5px; background: #1f4fd1; }
.plate b { padding: 3px 5px; }
.btn-ready { margin-top: 6px; font-size: 14px; padding: 9px 12px; border-radius: 8px; background: var(--navy); color: #fff; position: relative; }
.btn-ready:hover { background: var(--navy-2); }
.btn-ready::after { content: ""; position: absolute; inset: -4px; border-radius: 11px; border: 2px solid var(--orange); opacity: 0; animation: nudge 2.4s var(--ease) 1.2s infinite; pointer-events: none; }
@keyframes nudge { 0% { opacity: .9; transform: scale(.96); } 70%, 100% { opacity: 0; transform: scale(1.06); } }
.sent, .sent-static { display: inline-flex; align-items: center; gap: 5px; color: #17803f; font-weight: 600; font-size: 12.5px; }
.sent svg, .sent-static svg { width: 14px; height: 14px; }
.job-hero.is-ready { box-shadow: inset 3px 0 0 var(--st-ready), 0 0 0 2px rgba(247, 147, 30, .55), var(--shadow-1); }

.draft { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(400px, calc(100% - 28px)); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow-2); z-index: 3; }
.draft h4 { font-family: var(--font); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.draft h4 span { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.draft-text { margin-top: 8px; font-size: 14px; line-height: 1.45; background: var(--tint); border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; padding: 9px 11px; color: var(--fg); }
.draft-act { margin-top: 10px; display: flex; justify-content: flex-end; gap: 6px; }

.phone { position: relative; margin: 0 0 -40px -12px; width: 180px; aspect-ratio: 9 / 16.5; background: #0f0c22; border-radius: 30px; padding: 7px; box-shadow: 0 30px 60px -18px rgba(18, 11, 82, .45), 0 2px 6px rgba(18, 11, 82, .2); z-index: 2; }
.phone-in { height: 100%; background: #f3f2f8; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.phone-head { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 10px 10px; background: #fbfbfd; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.phone-head b { color: var(--fg); font-weight: 600; }
.phone-head small { color: var(--muted); font-size: 11px; }
.ph-av { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.phone-body { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.ph-empty { margin: auto; color: var(--muted); font-size: 12.5px; }
.bubble { background: #e6e5ee; color: #17132f; border-radius: 16px 16px 16px 5px; padding: 9px 11px; font-size: 13px; line-height: 1.4; }
.phone .bubble { transform-origin: 0 100%; }
.phone .bubble.in { animation: land .5s var(--ease) both; }
@keyframes land { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
.ph-typing { align-self: flex-start; display: flex; gap: 4px; background: #e6e5ee; border-radius: 16px; padding: 10px 12px; }
.ph-typing span { width: 6px; height: 6px; border-radius: 50%; background: #8c88a8; animation: blink 1s infinite; }
.ph-typing span:nth-child(2) { animation-delay: .15s; } .ph-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.phone.buzz { animation: buzz .4s linear; }
@keyframes buzz { 20% { transform: translateX(-2px) rotate(-1deg); } 40% { transform: translateX(2px) rotate(1deg); } 60% { transform: translateX(-1px); } 80% { transform: translateX(1px); } }
.replay { position: absolute; left: 0; bottom: 8px; background: none; border: 0; font: 600 15px var(--font); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.replay:hover { color: var(--fg); }

/* Sections */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-tint { background: var(--tint); }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head h2, .feat-copy h2, .faq-grid > h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; }
.sec-head p { margin-top: 16px; font-size: 19px; max-width: 60ch; }

/* Before / after */
.ba { border-top: 1.5px solid var(--fg); }
.ba-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ba-row p:first-child { color: var(--muted); }
.ba-row p:last-child { color: var(--fg); font-weight: 600; padding-left: 28px; position: relative; }
.ba-row p:last-child::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--st-ready); border-bottom: 2.5px solid var(--st-ready); transform: rotate(-45deg); }
.ba-headrow { padding: 12px 0; font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ba-headrow span:last-child { padding-left: 28px; color: var(--fg); }

/* Features */
.feats { display: grid; gap: clamp(64px, 8vw, 112px); }
.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feat-flip .feat-copy { order: 2; }
.feat-copy p { margin-top: 16px; font-size: 19px; max-width: 46ch; }
.feat-ui { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-1); padding: 20px; font-size: 14px; }

.lifts { display: grid; grid-template-columns: 34px repeat(3, minmax(0, 1fr)); grid-template-rows: auto 260px; column-gap: 8px; }
.lh { font: 600 14px var(--font); color: var(--fg); padding: 0 0 10px 4px; }
.hrs { display: flex; flex-direction: column; justify-content: space-between; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.lane { position: relative; border-left: 1px solid var(--line); background: repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 65px); }
.blk { position: absolute; left: 6px; right: 0; top: calc(var(--t) * 65px + 2px); height: calc(var(--h) * 65px - 4px); background: color-mix(in srgb, var(--c) 13%, #fff); box-shadow: inset 3px 0 0 var(--c); border-radius: 7px; padding: 6px 8px; font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; overflow: hidden; }
.blk b { color: var(--fg); font: 700 13px var(--display); letter-spacing: .05em; }

.sms-job { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--fg); }
.sms-job > span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.sms-log { display: grid; gap: 16px; max-width: 380px; }
.sms-item { display: grid; gap: 6px; }
.ui-sms .bubble { font-size: 15px; padding: 12px 14px; }
.sms-st { display: flex; align-items: center; gap: 7px; color: #17803f; font-weight: 600; font-size: 13.5px; padding-left: 4px; }

.rem { list-style: none; margin: 0; padding: 0; }
.rem li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--fg); }
.rem-due { color: var(--muted); font-size: 13px; }
.rem-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; color: var(--muted); font-weight: 600; }

.inv { width: 100%; border-collapse: collapse; }
.inv th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 4px 8px 10px; }
.inv td { padding: 12px 8px; border-top: 1px solid var(--line); color: var(--fg); }
.num { font-variant-numeric: tabular-nums; }
.inv th.num { text-align: left; }
.pill { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: color-mix(in srgb, var(--c) 15%, #fff); color: color-mix(in srgb, var(--c) 55%, var(--navy)); }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1.5px solid var(--fg); }
.roles > div { padding: 24px 32px 8px 0; }
.roles > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.roles dt { font: 700 24px var(--display); color: var(--fg); }
.roles dd { margin: 8px 0 0; max-width: 34ch; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 18px; right: 18px; top: 18px; height: 2px; background: var(--line-2); }
.steps li { counter-increment: s; position: relative; padding-right: 24px; display: grid; gap: 6px; }
.steps li::before { content: counter(s); width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 17px var(--display); margin-bottom: 14px; position: relative; box-shadow: 0 0 0 6px var(--tint); }
.steps li:last-child::before { background: var(--orange); color: var(--navy); }
.steps b { font: 700 21px var(--display); color: var(--fg); }
.steps span { color: var(--body); }
.steps-cta { margin-top: 48px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 600 19px var(--font); color: var(--fg); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--navy-2); text-decoration: underline; text-underline-offset: 4px; }
.faq details p { padding: 0 40px 24px 0; max-width: 62ch; }

/* Close */
.close { background: var(--navy); color: var(--on-navy); padding: clamp(72px, 9vw, 120px) 0; }
.close-in { max-width: 720px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.close h2 { color: #fff; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; }
.close-in > p:not(.micro) { margin-top: 16px; color: var(--on-navy-muted); font-size: 19px; max-width: 46ch; }
.signup-dark { justify-content: center; width: 100%; }
.signup-dark input { border-color: transparent; }
.signup-dark input:focus { box-shadow: 0 0 0 4px rgba(247, 147, 30, .45); border-color: var(--orange); }
.signup-dark .signup-err { color: #ffb4ab; }
.close .micro { color: var(--on-navy-muted); }
.close ::selection { background: var(--orange); color: var(--navy); }

/* Footer */
.foot { padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; color: var(--muted); font-size: 15px; }
.foot-in small { margin-left: auto; font-size: 14px; }
.foot a { color: var(--body); font-weight: 600; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .lead { max-width: 52ch; }
  .demo { max-width: 720px; }
  .feat, .faq-grid { grid-template-columns: 1fr; }
  .feat-flip .feat-copy { order: 0; }
  .feat-ui { max-width: 640px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .nav-in { gap: 16px; height: 64px; }
  .nav-logo img { width: 108px; }
  .nav-act { gap: 14px; }
  .demo { grid-template-columns: 1fr; padding-bottom: 48px; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 300px; padding: 10px; gap: 8px; }
  .col-arr { display: none; }
  .app-sum { display: none; }
  .phone { width: 200px; aspect-ratio: 9 / 12; justify-self: center; margin: -10px 0 0; z-index: 2; }
  .replay { left: 50%; transform: translateX(-50%); bottom: 4px; }
  .ba-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
  .ba-headrow { display: none; }
  .ba-row p:first-child { text-decoration: line-through; text-decoration-color: rgba(91, 87, 132, .4); }
  .roles { grid-template-columns: 1fr; }
  .roles > div, .roles > div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps::before { left: 18px; right: auto; top: 18px; bottom: 18px; width: 2px; height: auto; }
  .steps li { grid-template-columns: 38px 1fr; column-gap: 16px; padding: 0; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .lifts { grid-template-rows: auto 220px; }
  .lane { background-size: 100% 55px; }
  .blk { top: calc(var(--t) * 55px + 2px); height: calc(var(--h) * 55px - 4px); }
  .foot-in small { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 420px) {
  .nav-login { display: none; }
  .signup button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .btn-ready::after { display: none; }
}
