/* ==========================================================================
   Servi: Tasker waitlist
   Layout: left-aligned editorial sections with alternating grounds
   (neutral, white, deep teal, teal wash) instead of stacked centered blocks.
   ========================================================================== */

:root {
  /* Brand */
  --teal: #0E6E76;
  --teal-dark: #0A4E54;
  --teal-deep: #083F44;
  --teal-light: #4B9BA1;
  --teal-wash: #E3F1F2;
  --amber: #C68A3D;
  --amber-ink: #85571C;
  --brick: #C1503F;

  /* Neutrals */
  --bg: #F7F7F7;
  --surface: #FFFFFF;
  --ink: #17191C;
  --muted: #6B7280;
  --line: #E4E6E5;

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-logo: "Lobster", "Brush Script MT", cursive;

  /* Shape */
  --r-pill: 28px;
  --r-card: 20px;
  --r-input: 14px;
  --shadow: 0 1px 2px rgba(23, 25, 28, .05), 0 12px 32px rgba(23, 25, 28, .08);

  --gutter: 20px;
  --maxw: 1160px;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--teal); }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--teal); color: #fff; padding: 10px 16px; border-radius: var(--r-pill);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; }

/* ---------- Shared type ---------- */
.wordmark {
  font-family: var(--font-logo);
  font-size: 30px;
  line-height: 1;
  color: var(--teal);
  text-decoration: none;
}
.h2 {
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.label {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0;
}
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover, .btn--primary:active { background: var(--teal-dark); }
.btn--outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn--outline:hover { background: var(--teal-wash); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

.textlink {
  font-weight: 700; text-decoration: none; color: var(--teal);
  padding: 12px 4px;
}
.textlink .arrow { display: inline-block; transition: transform .15s ease; }
.textlink:hover .arrow { transform: translateX(3px); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 12px; height: 64px; }
.nav__links { display: none; margin-left: auto; gap: 28px; margin-right: 12px; }
.nav__links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav__links a:hover { color: var(--teal); }
.nav__cta { white-space: nowrap; margin-left: auto; }
.lang + .nav__cta { margin-left: 0; }

.lang { margin-left: auto; }
.lang__select {
  height: 40px; padding: 0 30px 0 12px;
  font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: var(--ink);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.lang__select:hover { border-color: var(--teal-light); }
.lang__select:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 2px; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .lang { margin-left: 0; }
  .nav__cta { margin-left: 0; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 48px 64px; overflow: hidden; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__copy { min-width: 0; }
.hero h1 {
  font-size: clamp(40px, 10vw, 70px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 13ch;
}
.hero__sub {
  margin-top: 20px; max-width: 46ch;
  font-size: clamp(17px, 2.2vw, 19px); line-height: 1.55;
  color: var(--muted);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.hero__meta { margin-top: 20px; font-size: 14px; color: var(--muted); }

@media (max-width: 479px) {
  .hero__actions .btn { width: 100%; }
}
@media (min-width: 960px) {
  .hero { padding-block: 72px 96px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
}

/* App screenshot */
.hero__visual {
  position: relative;
  display: flex; justify-content: center;
}
/* Phone frame built in CSS around the raw app screenshot */
.device {
  position: relative;
  margin: 0;
  width: 300px; max-width: calc(100% - 16px);
  padding: 11px;
  border-radius: 52px;
  background: #0D0E10;
  /* titanium rim + depth */
  box-shadow:
    0 0 0 1.5px #5C6066,
    0 0 0 3px #2A2C30,
    inset 0 0 0 1px #2E3034,
    0 40px 70px -10px rgba(10, 78, 84, .30),
    0 12px 24px rgba(23, 25, 28, .14);
}
.device__btn {
  position: absolute;
  width: 4px;
  background: linear-gradient(90deg, #2A2C30, #5C6066);
  border-radius: 2px;
}
.device__btn--action   { left: -6px; top: 92px;  height: 26px; }
.device__btn--vol-up   { left: -6px; top: 136px; height: 48px; }
.device__btn--vol-down { left: -6px; top: 194px; height: 48px; }
.device__btn--power    { right: -6px; top: 150px; height: 72px; background: linear-gradient(90deg, #5C6066, #2A2C30); }

.device__screen {
  position: relative;
  overflow: hidden;
  border-radius: 41px;
  background: #FFFFFF;
  padding-bottom: 18px; /* room for the home indicator */
}
.device__status {
  display: flex; align-items: center; justify-content: space-between;
  height: 46px; padding: 0 22px 0 30px;
  color: #000;
}
.device__time { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.device__island {
  position: absolute; left: 50%; top: 10px; transform: translateX(-50%);
  width: 86px; height: 25px; border-radius: 20px; background: #000;
}
.device__icons { display: inline-flex; align-items: center; gap: 5px; }
.device__icons svg { fill: currentColor; }
.device__screen img { display: block; width: 100%; height: auto; }
.device__home {
  position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%);
  width: 104px; height: 4px; border-radius: 4px; background: #000;
}

.float-card {
  position: absolute; left: 0; bottom: 64px;
  background: var(--surface); border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow);
  font-size: 12px; line-height: 1.5;
  display: none;
}
.float-card { min-width: 168px; }
.float-card__title { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.float-card__badge { margin-top: 4px; color: var(--teal-dark); font-weight: 600; }
@media (min-width: 420px) { .float-card { display: block; } }
@media (min-width: 420px) and (max-width: 959px) { .float-card { left: calc(50% - 210px); } }

/* ---------- Intro ---------- */
.intro { background: var(--surface); border-block: 1px solid var(--line); padding-block: 56px; }
.intro__grid { display: grid; gap: 14px; }
.intro__text {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.4; font-weight: 600; letter-spacing: -0.015em;
  max-width: 34em;
}
.intro__text span { color: var(--muted); font-weight: 500; }
@media (min-width: 960px) {
  .intro { padding-block: 88px; }
  .intro__grid { grid-template-columns: 1fr 3fr; gap: 64px; }
  .intro .label { padding-top: 8px; }
}

/* ---------- Why ---------- */
.why { padding-block: 72px; }
.why__grid { display: grid; gap: 40px; }
.why__head p { margin-top: 16px; max-width: 36ch; font-size: 17px; }
.why__list { display: grid; gap: 0 48px; }
.why__item { border-top: 1px solid var(--line); padding-block: 24px 28px; }
.why__item h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.why__item p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
@media (min-width: 720px) { .why__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .why { padding-block: 112px; }
  .why__grid { grid-template-columns: 1fr 2fr; gap: 64px; }
  .why__head { position: sticky; top: 112px; align-self: start; }
}

/* ---------- How it works ---------- */
.how { background: var(--teal-dark); color: #fff; padding-block: 72px; }
.how__head { display: grid; gap: 12px; margin-bottom: 40px; }
.how__head p { color: rgba(255,255,255,.72); font-size: 17px; }
.steps { display: grid; gap: 0 40px; counter-reset: none; }
.step { border-top: 1px solid rgba(255,255,255,.18); padding-block: 22px 30px; min-width: 0; }
.step__n {
  display: block;
  font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}
.step h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.step p { margin-top: 8px; color: rgba(255,255,255,.76); font-size: 15.5px; }
/* Tip box under a step */
.step__tip {
  margin-top: 14px !important;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 14.5px !important;
}
.step__tip strong { color: #fff; font-weight: 700; }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .how { padding-block: 112px; }
  .how__head { margin-bottom: 56px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Fees ---------- */
.fees { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 72px; }
.fees__grid { display: grid; gap: 40px; align-items: start; }
.fees__copy { min-width: 0; }
.fees__copy > p { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 48ch; }

.scale { margin-top: 32px; max-width: 480px; }
.scale__bar {
  height: 10px; border-radius: 10px;
  background: linear-gradient(90deg, var(--teal-wash) 0%, var(--teal-light) 55%, var(--teal) 100%);
}
.scale__ends { display: flex; justify-content: space-between; gap: 24px; margin-top: 12px; }
.scale__ends div { display: grid; gap: 2px; max-width: 18ch; font-size: 13px; color: var(--muted); line-height: 1.4; }
.scale__ends div:last-child { text-align: right; }
.scale__ends strong { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.receipt {
  margin: 0;
  background: var(--bg);
  border-radius: var(--r-card);
  padding: 24px;
  min-width: 0;
}
.receipt figcaption { font-size: 14px; font-weight: 700; color: var(--teal); }
.receipt__job { margin-top: 6px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.receipt dl { margin: 20px 0 0; display: grid; }
.receipt dl div {
  display: flex; justify-content: space-between; gap: 16px;
  padding-block: 12px; border-top: 1px dashed var(--line);
  font-variant-numeric: tabular-nums;
}
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }
.receipt__total { border-top: 1px solid var(--ink) !important; }
.receipt__total dt { color: var(--ink); font-weight: 700; }
.receipt__total dd { color: var(--teal); font-size: 20px; font-weight: 800; }
.receipt__note { margin-top: 8px; font-size: 13px; color: var(--muted); }

.covers__head { margin-top: 64px; display: grid; gap: 12px; }
.covers__title { font-size: clamp(22px, 4vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
.covers__head p { color: var(--muted); font-size: 17px; max-width: 60ch; }
.covers { display: grid; gap: 0 40px; margin-top: 28px; }
.covers li { border-top: 1px solid var(--line); padding-block: 22px 26px; }
.covers h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.covers p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

@media (min-width: 640px) { .receipt { padding: 32px; } .covers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .fees { padding-block: 112px; }
  .fees__grid { grid-template-columns: 1.2fr 1fr; gap: 80px; }
  .covers__head { margin-top: 88px; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: baseline; }
  .covers { grid-template-columns: repeat(4, 1fr); margin-top: 36px; }
}

/* ---------- Trust / FAQ ---------- */
.trust { padding-block: 72px; }
.trust__grid { display: grid; gap: 48px; }
.trust__copy p { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 44ch; }
.checks { margin-top: 24px; display: grid; gap: 12px; }
.checks li {
  display: flex; align-items: center; gap: 12px; font-weight: 600;
}
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E6E76' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.faq .label { margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 20px;
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:hover { color: var(--teal); }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 52ch; }

@media (min-width: 960px) {
  .trust { padding-block: 112px; }
  .trust__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* ---------- Signup ---------- */
.signup { background: var(--teal-wash); padding-block: 72px; }
.signup__grid { display: grid; gap: 32px; align-items: start; }
.signup__copy p { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 40ch; }
.signup__panel {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  min-width: 0;
}
@media (min-width: 640px) { .signup__panel { padding: 36px; } }
@media (min-width: 960px) {
  .signup { padding-block: 112px; }
  .signup__grid { grid-template-columns: 1fr 1.2fr; gap: 80px; }
  .signup__copy { padding-top: 24px; }
}

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label { font-size: 14px; font-weight: 600; }
.field input,
.field select {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: inherit; font-size: 16px; /* 16px stops iOS zoom-on-focus */
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: #9CA3AF; }
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.field select:invalid { color: #9CA3AF; }
.field select option { color: var(--ink); }
/* 2px teal border on focus (inset shadow avoids layout shift) */
.field input:focus,
.field select:focus { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.field.is-invalid input,
.field.is-invalid select { border-color: var(--brick); box-shadow: inset 0 0 0 1px var(--brick); }
.field__error { font-size: 13px; font-weight: 500; color: var(--brick); }

/* Multi-select area chips */
.field--group { border: 0; margin: 0; padding: 0; }
.field--group legend { padding: 0; font-size: 14px; font-weight: 600; }
.field__hint { font-size: 13px; color: var(--muted); margin-top: -2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 14px; font-weight: 500;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover span { border-color: var(--teal-light); }
.chip input:checked + span {
  background: var(--teal); border-color: var(--teal); color: #fff; font-weight: 600;
}
.chip input:checked + span::before { content: "✓"; font-size: 12px; }
.chip input:focus-visible + span { outline: 3px solid var(--teal-light); outline-offset: 2px; }
.field--group.is-invalid .chip span { border-color: var(--brick); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form .btn { margin-top: 6px; }
.form__status { font-size: 14px; color: var(--brick); text-align: center; }
.form__fine { font-size: 13px; color: var(--muted); text-align: center; }

.success { padding: 24px 0 8px; outline: none; }
.success__icon {
  width: 56px; height: 56px; padding: 14px; border-radius: 50%;
  background: var(--teal); fill: none; stroke: #fff;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.success h3 { margin-top: 20px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.success p { margin-top: 8px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 40px; }
.footer__grid { display: grid; gap: 24px; }
.footer__tag { margin-top: 10px; color: var(--muted); font-size: 15px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.footer__links a:hover { color: var(--teal); }
.footer__copy { color: var(--muted); font-size: 13px; }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1fr auto; align-items: end; }
  .footer__copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; }
}
