/* ============ base ============ */
:root {
  /* Njord-inspired: storm-dark slate with electric ice blue */
  --ink: #101823;
  --ink-soft: #5a6878;
  --bg: #f2f5f8;
  --card: #ffffff;
  --line: #e1e7ee;
  --indigo: #04070d;
  --indigo-2: #0e2133;
  --panel: #101c2c;
  --blue: #14aae8;
  --blue-dark: #0c84b8;
  --sky: #7ee3ff;
  --accent: #14aae8;
  --accent-dark: #0c84b8;
  --orange: #e8822c;
  --green: #1fa06b;
  --red: #d64545;
  --radius: 4px;
  --font-head: "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.01em; }
small { display: block; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.tiny { font-size: .8rem; color: var(--ink-soft); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.eyebrow {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em;
  font-size: .76rem; color: var(--blue); font-weight: 700; margin: 0 0 12px;
}
.eyebrow.light { color: var(--sky); }

/* ============ buttons & chips ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; cursor: pointer; text-align: center;
  justify-content: center;
}
.btn .arr { font-weight: 700; transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-blue, .btn-accent { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-blue:hover, .btn-accent:hover { background: var(--blue-dark); }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; }
.btn-glow { box-shadow: 0 0 24px rgba(20, 170, 232, .55), 0 4px 14px rgba(4, 7, 13, .4); }
.btn-sm { padding: 6px 14px; font-size: .85rem; }
.btn-row { display: flex; gap: 10px; margin: 14px 0; flex-wrap: wrap; }
.btn-plain { color: #fff; font-family: var(--font-head); font-weight: 700; padding: 14px 10px; }
.btn-plain .arr { display: inline-block; transition: transform .15s; }
.btn-plain:hover .arr { transform: translateX(3px); }
.link-btn { background: none; border: none; color: var(--blue); font: inherit; cursor: pointer; padding: 0; }
.link-btn.danger { color: var(--red); }

.chip {
  display: inline-block; padding: 3px 10px; border-radius: 10px;
  font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.chip-paid { background: #d9f1e6; color: #0d7a4f; }
.chip-unpaid { background: #fdeaea; color: #b03030; }
.chip-booked, .chip-q-sent { background: #e2ecfc; color: #1d5fc0; }
.chip-on_the_way, .chip-otw { background: #fdf2dc; color: #a0690a; }
.chip-in_progress { background: #ece3fb; color: #6239aa; }
.chip-done, .chip-q-accepted { background: #d9f1e6; color: #0d7a4f; }
.chip-q-draft { background: #eef1f7; color: var(--ink-soft); }
.chip-q-declined { background: #fdeaea; color: #b03030; }
.chip-agent { background: #e2ecfc; color: #1d5fc0; margin-left: 6px; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 10px; margin-right: 6px; flex: none; }
.dot-green { background: var(--green); }
.dot-blue { background: var(--blue); }
.dot-sky { background: var(--sky); }

/* ============ brand ============ */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; color: #fff;
  background: linear-gradient(135deg, #7ee3ff, #0c84b8);
  box-shadow: 0 0 14px rgba(126, 227, 255, .45);
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}
.brand-word { font-family: var(--font-head); font-weight: 800; letter-spacing: .06em; color: #fff; font-size: 1.05rem; }
.brand-word span { color: var(--sky); }
.brand-word.dark { color: var(--ink); }
.brand-word.dark span { color: var(--blue); }

/* ============ landing: hero ============ */
.landing { background: #fff; }
.hero-wrap {
  background:
    radial-gradient(1000px 560px at 85% -10%, rgba(20, 170, 232, .55), transparent 62%),
    radial-gradient(420px 800px at 68% 18%, rgba(126, 227, 255, .16), transparent 70%),
    linear-gradient(112deg, transparent 40%, rgba(126, 227, 255, .09) 45%, transparent 51%),
    linear-gradient(68deg, transparent 60%, rgba(126, 227, 255, .06) 66%, transparent 74%),
    radial-gradient(700px 520px at -10% 115%, rgba(12, 110, 160, .5), transparent 62%),
    linear-gradient(150deg, var(--indigo) 15%, var(--indigo-2) 100%);
  color: #fff;
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: #fff; font-weight: 600; font-size: .95rem; }
.site-nav .btn-light { color: var(--ink); }

.hero { padding: 48px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.85rem); font-weight: 700; margin: 0 0 20px; }
.hero h1 em {
  font-style: normal; color: var(--sky);
  text-shadow: 0 0 26px rgba(126, 227, 255, .55), 0 0 64px rgba(20, 170, 232, .35);
}
.lede { font-size: 1.08rem; color: #bccbd8; max-width: 50ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; align-items: center; }

.hero-visual { position: relative; min-height: 560px; }
/* iPhone-style device frame: titanium rim, Dynamic Island, home indicator */
.phone {
  position: absolute; right: 0; top: 0;
  width: 300px; background: #fff; border-radius: 48px; padding: 12px 12px 20px;
  border: 9px solid #0b0e13;
  box-shadow: 0 0 0 2.5px #767c85, 0 1px 0 3px rgba(255, 255, 255, .25), 0 30px 70px rgba(2, 6, 18, .6);
  color: var(--ink);
}
.phone::after {
  content: ""; position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%);
  width: 110px; height: 4px; border-radius: 999px; background: #0b0e13;
}
.phone-notch { width: 88px; height: 25px; background: #0b0e13; border-radius: 999px; margin: 2px auto 10px; }
.phone-title { font-family: var(--font-head); font-weight: 700; text-align: center; padding-bottom: 10px; }
.phone-seg {
  display: flex; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--ink-soft);
  padding-bottom: 12px;
}
.phone-seg span { padding: 4px 10px; border-radius: 10px; background: #eef1f7; }
.phone-seg span.on { background: var(--indigo); color: #fff; }
.phone-seg b { font-weight: 800; }

.icon-tile {
  width: 38px; height: 38px; border-radius: 10px; background: #e2ecfc; color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; flex: none;
}
.it-blue { background: var(--blue); color: #fff; }

.p-job {
  display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 10px; margin-bottom: 8px; font-size: .8rem;
}
.p-job-main { flex: 1; min-width: 0; }
.p-job-main strong { font-size: .85rem; }
.p-job small { font-size: .74rem; }
.p-time { font-weight: 800; font-size: .78rem; color: var(--ink-soft); }
.status { display: flex; align-items: center; font-size: .72rem; color: var(--ink-soft); margin-top: 4px; font-weight: 600; }
.phone-tabs {
  display: flex; justify-content: space-around; font-size: .68rem; font-weight: 700;
  color: var(--ink-soft); padding: 8px 0 4px; border-top: 1px solid var(--line); margin-top: 4px;
}
.phone-tabs .on { color: var(--blue); }

.float-card {
  position: absolute; display: flex; gap: 12px; align-items: flex-start; width: 310px;
  background: #fff; border-radius: 10px; padding: 13px 14px; color: var(--ink);
  box-shadow: 0 18px 44px rgba(4, 10, 35, .45); font-size: .82rem;
}
.float-card strong { font-size: .9rem; display: block; }
.float-card small { font-size: .76rem; }
.float-card .chev { margin-left: auto; color: var(--ink-soft); font-size: 1.1rem; }
.fc-1 { left: -42px; top: 118px; }
.fc-2 { left: -66px; top: 260px; }
.fc-3 { left: -42px; top: 402px; }

/* ============ landing: what changes ============ */
.what { padding: 84px 0 72px; background: #fff; }
.what h2, .how h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 22ch; }
.section-lede { color: var(--ink-soft); max-width: 60ch; margin-bottom: 44px; }
.wc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.wc-col h3 { font-size: 1.15rem; margin-bottom: 14px; }
.before-card {
  background: #eef1f7; border-radius: 10px; padding: 12px 14px; font-size: .88rem; color: var(--ink-soft);
}
.before-card p { margin: 6px 0 0; }
.before-head {
  display: flex; justify-content: space-between; font-family: var(--font-head);
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
}
.before-head .when { color: var(--orange); }
.with-label {
  font-family: var(--font-head); font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--blue); margin: 14px 0 8px; padding-left: 10px;
  border-left: 3px solid var(--blue);
}
.notif-card {
  display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 10px;
  padding: 13px 14px; font-size: .82rem; box-shadow: 0 10px 30px rgba(16, 26, 63, .12);
  border: 1px solid var(--line);
}
.notif-card strong { font-size: .92rem; display: block; }
.notif-card .chev { margin-left: auto; color: var(--ink-soft); font-size: 1.1rem; }
.wc-text { font-size: .92rem; color: var(--ink-soft); margin-top: 16px; }

/* ============ landing: how it works ============ */
.how { padding: 72px 0 84px; background: var(--bg); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; }
.mini-frame {
  background: #e8edf6; border-radius: 10px; padding: 26px 26px 0; margin-bottom: 20px;
  display: flex; justify-content: center; overflow: hidden;
  height: 320px; align-items: flex-end;
}
.mini-phone { max-height: 294px; }
/* Galaxy-style device frame: flat rim, centred punch-hole camera */
.mini-phone {
  position: relative;
  width: 230px; background: #fff; border-radius: 20px 20px 0 0; border: 5px solid #11151b;
  border-bottom: none; padding: 22px 12px 18px;
  box-shadow: 0 0 0 1.5px #767c85, 0 16px 40px rgba(16, 26, 63, .18);
  font-size: .76rem;
}
.mini-phone::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: #0b0e13;
}
.mp-head { font-family: var(--font-head); font-weight: 700; text-align: center; font-size: .85rem; padding-bottom: 10px; }
.mp-price { background: var(--indigo); color: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.mp-price strong { font-size: 1.15rem; font-family: var(--font-head); }
.mp-price small { color: #9fc2d6; font-size: .7rem; }
.mp-row {
  display: flex; align-items: center; gap: 8px; padding: 7px 4px; border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.mp-row.dim { color: var(--ink-soft); font-weight: 400; }
.mp-row:last-child { border-bottom: none; }
.tick { width: 18px; text-align: center; color: var(--green); font-weight: 800; flex: none; }
.mp-right { margin-left: auto; color: var(--ink-soft); font-weight: 700; }
.mp-job { display: flex; gap: 8px; align-items: baseline; padding-top: 8px; font-weight: 600; flex-wrap: wrap; }
.mp-job small { font-size: .68rem; width: 100%; }
.mp-time { margin-left: auto; font-weight: 800; color: var(--ink-soft); }
.mp-status { display: flex; align-items: center; font-size: .68rem; color: var(--ink-soft); font-weight: 600; padding: 4px 0 8px; border-bottom: 1px solid var(--line); }
.mp-paidband {
  background: var(--indigo); color: #9fc2d6; font-size: .62rem; font-weight: 700; letter-spacing: .08em;
  border-radius: 10px; padding: 6px 12px; display: flex; justify-content: space-between; align-items: center;
}
.mp-paidband + .mp-price { border-radius: 10px; margin-top: 0; }
.mp-pill { background: #fff; color: var(--indigo); border-radius: 10px; padding: 1px 8px; font-size: .62rem; }
.step-num { font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: 1rem; display: block; margin-bottom: 6px; }
.how-col h3 { font-size: 1.15rem; }
.how-col p { color: var(--ink-soft); font-size: .95rem; }

/* ============ landing: pricing ============ */
.pricing { padding: 84px 0; background: #fff; text-align: center; }
.pricing h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 auto 28px; }
.pricing .eyebrow { text-align: center; }
.term-toggle { display: inline-flex; gap: 0; margin: 0 auto 30px; border: 1px solid var(--line); }
.term-btn {
  font: inherit; font-weight: 700; font-size: .88rem; padding: 10px 18px; cursor: pointer;
  background: #fff; border: none; border-right: 1px solid var(--line); color: var(--ink-soft);
}
.term-btn:last-child { border-right: none; }
.term-btn.active { background: var(--indigo); color: #fff; }
.term-save { display: block; font-size: .68rem; font-weight: 600; color: var(--blue); }
.term-btn.active .term-save { color: var(--sky); }

.price-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); gap: 20px;
  justify-content: center; align-items: stretch; text-align: left;
}
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.plan-name { font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; color: #bccbd8; }
.price-card.pro { box-shadow: 0 0 0 2px var(--blue), 0 0 34px rgba(20, 170, 232, .35), 0 24px 60px rgba(4, 7, 13, .35); position: relative; }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .72rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; white-space: nowrap;
}
.price-note { color: #bccbd8; font-size: .85rem; margin: 4px 0 0; }

.price-card {
  margin: 0 auto; width: 100%; border-radius: 10px; padding: 38px 34px; color: #fff;
  background:
    radial-gradient(420px 260px at 85% -20%, rgba(20, 170, 232, .5), transparent 65%),
    linear-gradient(112deg, transparent 40%, rgba(126, 227, 255, .08) 45%, transparent 51%),
    linear-gradient(150deg, var(--indigo) 15%, var(--indigo-2) 100%);
  box-shadow: 0 24px 60px rgba(4, 7, 13, .35);
}
.price-top { display: flex; align-items: baseline; justify-content: flex-start; gap: 10px; }
.price-big { font-size: 3.4rem; font-weight: 800; line-height: 1; }
.price-per { color: #bccbd8; font-weight: 600; }
.price-trial { color: var(--sky); font-weight: 600; margin: 10px 0 20px; }
.price-list-features {
  list-style: none; padding: 18px 0; margin: 0 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .16); border-bottom: 1px solid rgba(255, 255, 255, .16);
  color: #d7e3ed; text-align: left;
}
.price-list-features li { padding: 6px 0 6px 28px; position: relative; }
.price-list-features li::before { content: "✓"; position: absolute; left: 4px; color: var(--sky); font-weight: 800; }

/* ============ landing: split signup ============ */
.split { padding: 84px 0; background: #fff; }
.split-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.dark-panel {
  background:
    radial-gradient(500px 300px at 90% 110%, rgba(45, 160, 220, .35), transparent 60%),
    linear-gradient(150deg, var(--indigo) 10%, var(--indigo-2) 100%);
  color: #fff; border-radius: 10px; padding: 38px 34px;
}
.dark-panel h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.dark-panel p { color: #bccbd8; }
.panel-list { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.panel-list li { display: flex; gap: 12px; padding: 14px 0; color: #d7e3ed; font-size: .95rem; align-items: flex-start; }
.pl-icon { flex: none; }
.signup-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 34px; box-shadow: 0 18px 50px rgba(16,26,63,.08); }
.signup-card h2 { font-size: 1.6rem; }

.site-footer { padding: 30px 0 46px; background: #fff; border-top: 1px solid var(--line); }
.footer-brand { margin-bottom: 6px; }

/* ============ auth ============ */
.auth-body {
  display: flex; align-items: flex-start; justify-content: center; min-height: 100vh; padding: 48px 16px;
  background:
    radial-gradient(800px 500px at 80% -10%, rgba(45, 160, 220, .35), transparent 60%),
    linear-gradient(150deg, var(--indigo) 20%, var(--indigo-2) 100%);
}
.auth-card { background: #fff; border-radius: 10px; padding: 32px 28px; width: 100%; max-width: 430px; }
.auth-card .brand-word, .auth-card .wordmark { color: var(--ink); font-family: var(--font-head); font-weight: 800; letter-spacing: .05em; display: inline-block; margin-bottom: 14px; font-size: 1.1rem; }
.auth-card .wordmark span { color: var(--blue); }
.error { background: #fdeaea; color: #b03030; padding: 10px 14px; border-radius: 10px; font-size: .9rem; }
.success { color: #0d7a4f; font-weight: 700; }

/* ============ forms ============ */
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-sm p, .stack-sm .line { margin: 0; }
label { font-weight: 600; font-size: .9rem; display: flex; flex-direction: column; gap: 5px; }
label .muted { font-weight: 400; }
input, select, textarea {
  font: inherit; padding: 11px 13px; border: 1px solid #ccd4e4; border-radius: 10px;
  background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.check { flex-direction: row; align-items: center; gap: 8px; }
.check input { width: auto; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ============ app shell ============ */
.app-body { padding-bottom: 76px; }
.app-header { background: var(--indigo); color: #fff; position: sticky; top: 0; z-index: 10; }
.app-header-inner {
  max-width: 720px; margin: 0 auto; padding: 0 16px; height: 52px;
  display: flex; align-items: center; justify-content: space-between;
}
.app-biz { font-family: var(--font-head); font-weight: 700; }
.app-header .link-btn { color: #8fa9bd; font-size: .85rem; }
.app-main { max-width: 720px; margin: 0 auto; padding: 16px 16px 30px; }

.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; background: #fff;
  border-top: 1px solid var(--line); display: flex; z-index: 20;
  padding-bottom: env(safe-area-inset-bottom);
}
.tab {
  flex: 1; text-align: center; padding: 8px 0 7px; font-size: .68rem; font-weight: 700;
  color: var(--ink-soft); display: flex; flex-direction: column; gap: 1px;
}
.tab-icon { font-size: 1.15rem; }
.tab.active { color: var(--blue); }

.page-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 14px; }
.page-head h1 { font-size: 1.45rem; margin: 0; }
.section-head {
  font-family: var(--font-head); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-soft); margin: 22px 0 8px;
}
.date-head { font-size: .9rem; color: var(--ink-soft); margin: 18px 0 8px; }
.pad-x { margin: 0 2px 10px; font-size: .9rem; }

.segmented { display: flex; background: #e7ebf4; border-radius: 10px; padding: 3px; margin-bottom: 14px; }
.segmented a {
  flex: 1; text-align: center; padding: 7px 0; border-radius: 10px;
  font-size: .85rem; font-weight: 700; color: var(--ink-soft);
}
.segmented a.active { background: var(--indigo); color: #fff; }
.segmented b { font-weight: 800; }

.card {
  display: block; background: var(--card); border-radius: 10px;
  box-shadow: 0 1px 3px rgba(16, 26, 63, .1); margin-bottom: 10px; color: var(--ink);
}
.card.pad { padding: 16px; }
.job-card { display: flex; align-items: center; gap: 12px; padding: 13px 14px; }
.job-time { font-weight: 800; min-width: 52px; font-family: var(--font-head); }
.job-time small { font-weight: 400; font-size: .72rem; font-family: var(--font-body); }
.job-main { flex: 1; min-width: 0; }
.job-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quote-right { text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }

.empty { text-align: center; padding: 46px 0; color: var(--ink-soft); }
.fab {
  position: fixed; right: 18px; bottom: 86px; width: 54px; height: 54px; border-radius: 10px;
  background: var(--blue); color: #fff; font-size: 1.7rem; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 6px 18px rgba(30, 86, 188, .45); z-index: 15;
}
.searchbar { margin-bottom: 12px; }

.status-row, .pay-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; color: var(--ink-soft);
}
.pill.active { background: var(--indigo); border-color: var(--indigo); color: #fff; }

.line { display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; }
.line.total { font-weight: 800; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.line.total small { display: inline; font-weight: 400; }

.price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom: none; }
.price-row.selected { background: #ecf3fe; }
.price-name { font-weight: 600; font-size: .92rem; }
.stepper { display: flex; align-items: center; gap: 6px; }
.step-btn {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; font-size: 1.1rem; cursor: pointer; line-height: 1;
}
.stepper .qty { width: 46px; text-align: center; padding: 6px 2px; }
.quote-summary { position: sticky; bottom: 82px; border: 2px solid var(--blue); }

.danger-zone { margin: 26px 0 10px; text-align: center; }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 6px; }
.stat b { font-size: 1.55rem; font-weight: 800; display: block; line-height: 1.2; }
@media (min-width: 720px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

.price-edit {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 14px; border-bottom: 1px solid var(--line);
}
.price-edit:last-child { border-bottom: none; }
.pe-form { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pe-top { display: flex; gap: 8px; align-items: center; }
.pe-name { font-weight: 600; flex: 1; min-width: 0; }
.pe-bottom { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pe-inline { flex-direction: row; align-items: center; font-weight: 400; white-space: nowrap; }
.pe-inline input { width: 86px; }
.price-edit > form:last-child { padding-top: 14px; }

/* ============ calendar ============ */
.cal-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.cal-range { flex: 1; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: .92rem; }
.day-strip { display: flex; gap: 4px; margin-bottom: 10px; }
.day-cell {
  flex: 1; text-align: center; padding: 6px 0 10px; border-radius: 10px; background: #fff;
  border: 1px solid var(--line); color: var(--ink-soft); display: flex; flex-direction: column;
  position: relative; gap: 1px;
}
.day-cell small { font-size: .66rem; font-weight: 700; color: inherit; }
.day-cell b { font-family: var(--font-head); font-size: 1rem; color: var(--ink); }
.day-cell.is-today { border-color: var(--blue); }
.day-cell.sel { background: var(--indigo); border-color: var(--indigo); color: #9fc2d6; }
.day-cell.sel b { color: #fff; }
.day-dot {
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 10px; background: var(--blue);
}
.day-cell.sel .day-dot { background: #fff; }
.cal-hint { font-size: .8rem; }
.cal-grid {
  display: grid; grid-template-columns: 48px 1fr; background: #fff;
  border-radius: 10px; box-shadow: 0 1px 3px rgba(16, 26, 63, .1); overflow: hidden;
  margin-bottom: 16px;
}
.cal-hour-label {
  height: 56px; font-size: .68rem; color: var(--ink-soft); text-align: right;
  padding: 3px 6px 0 0; border-top: 1px solid var(--line);
}
.cal-day { position: relative; display: none; border-left: 1px solid var(--line); }
.cal-day.sel { display: block; }
.cal-slot { display: block; height: 56px; border-top: 1px solid var(--line); }
.cal-slot:hover { background: #ecf3fe; }
.cal-job {
  position: absolute; left: 4px; right: 4px; border-radius: 10px; padding: 3px 7px;
  font-size: .72rem; font-weight: 600; color: #fff; overflow: hidden;
  box-shadow: 0 2px 6px rgba(16, 26, 63, .3); line-height: 1.3;
}
.cal-job b { font-weight: 800; margin-right: 5px; }
.cj-booked { background: var(--blue); }
.cj-on_the_way { background: var(--orange); }
.cj-in_progress { background: #7a4fd0; }
.cj-done { background: var(--green); }
@media (min-width: 860px) {
  .cal-grid { grid-template-columns: 48px repeat(7, 1fr); }
  .cal-day { display: block; }
  .day-strip { padding-left: 48px; }
}

/* ============ receipt ============ */
.receipt-head { display: flex; justify-content: space-between; gap: 10px; }
.receipt-no { text-align: right; }
.receipt-biz { font-size: 1.05rem; }
.paid-stamp { color: #0d7a4f; font-weight: 800; letter-spacing: .06em; border: 2px solid #0d7a4f; border-radius: 10px; padding: 6px 10px; display: inline-block; }

@media print {
  .app-header, .tabbar, .btn-row, .pay-row, .fab { display: none !important; }
  .app-body { padding: 0; background: #fff; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}

/* ============ responsive ============ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-bottom: 56px; }
  .hero-visual { min-height: 0; margin-top: 16px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
  .phone { position: static; }
  .float-card { position: static; width: 100%; max-width: 340px; }
  .wc-grid, .how-grid, .split-grid { grid-template-columns: 1fr; }
  .site-nav a:not(.btn) { display: none; }
}

/* ============ RinseHQ logo ============ */
.logo-img { display: block; height: 40px; width: auto; }
.logo-plate {
  background: #fff; padding: 5px 12px; display: inline-flex; align-items: center;
  box-shadow: 0 0 16px rgba(126, 227, 255, .3);
}
.logo-plate .logo-img, .logo-plate img { display: block; height: 30px; width: auto; }
.logo-footer { height: 36px; margin-bottom: 8px; }
.logo-link { display: inline-block; margin-bottom: 14px; }
.logo-auth { height: 44px; }
.app-brand-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.app-logo { padding: 3px 8px; box-shadow: none; }
.app-logo img { height: 20px; display: block; width: auto; }
.app-biz { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ premium polish: backgrounds & depth ============ */

/* Light pages get a soft cool wash with faint cyan ambience, never flat white */
.landing {
  background:
    radial-gradient(1100px 520px at 85% 0%, rgba(20, 170, 232, .07), transparent 60%),
    radial-gradient(900px 600px at 0% 55%, rgba(20, 170, 232, .05), transparent 60%),
    linear-gradient(180deg, #f7fafd 0%, #edf2f8 100%);
}
.what, .pricing { background: transparent; }
.how {
  background: linear-gradient(180deg, #e9eff6 0%, #e3eaf3 100%);
  border-top: 1px solid #dce4ee; border-bottom: 1px solid #dce4ee;
}
.mini-frame { background: linear-gradient(165deg, #eef3f9 0%, #dde6f0 100%); }

/* Cards: layered, soft depth */
.notif-card, .feature, .steps li {
  border: 1px solid #e6ecf4;
  box-shadow: 0 1px 2px rgba(13, 24, 38, .05), 0 14px 34px rgba(13, 24, 38, .09);
}
.before-card { border: 1px solid #e2e9f1; }

/* Signup section sits on the storm, card floats on top */
.split {
  padding: 100px 0;
  background:
    radial-gradient(900px 480px at 85% -5%, rgba(20, 170, 232, .45), transparent 62%),
    linear-gradient(112deg, transparent 40%, rgba(126, 227, 255, .07) 45%, transparent 51%),
    radial-gradient(700px 500px at -10% 115%, rgba(12, 110, 160, .45), transparent 62%),
    linear-gradient(150deg, var(--indigo) 15%, var(--indigo-2) 100%);
}
.split .dark-panel {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: none;
}
.signup-card {
  border: none;
  box-shadow: 0 2px 6px rgba(2, 8, 20, .35), 0 36px 90px rgba(2, 8, 20, .55);
}

/* Dark footer */
.site-footer {
  background: linear-gradient(180deg, var(--indigo) 0%, #060a12 100%);
  border-top: none; padding: 44px 0 56px; color: #bccbd8;
}
.site-footer .tiny { color: #7f8ea0; }

/* Pricing cards float */
.price-card { box-shadow: 0 2px 6px rgba(2, 8, 20, .3), 0 30px 70px rgba(2, 8, 20, .35); }
.price-card.pro { box-shadow: 0 0 0 2px var(--blue), 0 0 34px rgba(20, 170, 232, .35), 0 30px 70px rgba(2, 8, 20, .4); }
.term-toggle { background: #fff; box-shadow: 0 1px 2px rgba(13, 24, 38, .05), 0 10px 24px rgba(13, 24, 38, .07); }

/* The app: same cool wash, cards with gentle depth */
.app-body {
  background:
    radial-gradient(900px 400px at 90% -5%, rgba(20, 170, 232, .06), transparent 60%),
    linear-gradient(180deg, #f4f7fb 0%, #eaf0f6 100%);
  min-height: 100vh;
}
.card { border: 1px solid #e8edf4; box-shadow: 0 1px 2px rgba(13, 24, 38, .04), 0 10px 26px rgba(13, 24, 38, .06); }
.cal-grid { border: 1px solid #e8edf4; }

/* Generous section rhythm */
.what { padding: 100px 0 84px; }
.how { padding: 88px 0 100px; }
.pricing { padding: 100px 0; }

/* Light logo variant sits directly on dark surfaces — no plate */
.logo-header { height: 44px; }
.app-logo { background: none; padding: 0; box-shadow: none; }
.app-logo img { height: 24px; }

/* ============ soft-corner + icon refinements ============ */
.chip { border-radius: 6px; }
.dot, .day-dot { border-radius: 50%; }
.term-toggle { border-radius: 10px; overflow: hidden; }
.term-btn { border-radius: 10px; }
.stepper .qty { border-radius: 8px; }
.step-btn { border-radius: 10px; }
.segmented { border-radius: 12px; }
.segmented a { border-radius: 9px; }
.pill { border-radius: 9px; }
.btn { border-radius: 10px; }
.fab { border-radius: 14px; }

.ic { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.2em; }
.icon-tile .ic { width: 19px; height: 19px; vertical-align: middle; }
.tab-icon { display: flex; justify-content: center; }
.tab-icon .ic { width: 22px; height: 22px; }
.pl-icon .ic { width: 19px; height: 19px; color: var(--sky); }
.tick-ic { color: var(--ink-soft); }
.tick-ic .ic { width: 14px; height: 14px; }
.ic-paw { color: var(--ink-soft); width: 1em; height: 1em; }
.job-main strong .ic, .page-head .ic { color: var(--blue); }
.more .ic { color: var(--blue); }

/* ============ job photos ============ */
.photo-group { margin-bottom: 8px; }
.photo-group-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.photo-btn { cursor: pointer; }
.photo-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.photo-thumb { text-align: center; margin: 0; }
.photo-thumb img {
  width: 108px; height: 108px; object-fit: cover; display: block;
  border-radius: 10px; border: 1px solid var(--line);
}
.receipt-photos { margin: 6px 0; }
@media print { .photo-thumb form { display: none; } }

/* ============ public documents (shared invoices/quotes) ============ */
.doc-body { background: linear-gradient(180deg, #eef2f7, #e5ebf2); min-height: 100vh; padding: 20px 14px 40px; }
.doc {
  max-width: 620px; margin: 0 auto; background: #fff; border-radius: 14px;
  padding: 30px 28px; box-shadow: 0 2px 6px rgba(13, 24, 38, .06), 0 18px 44px rgba(13, 24, 38, .1);
}
.doc-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.doc-brand { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.doc-logo { max-height: 54px; max-width: 170px; width: auto; display: block; margin-bottom: 6px; }
.doc-biz { font-size: 1.05rem; }
.doc-no { text-align: right; flex: none; }
.doc-type {
  display: block; font-size: .7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; color: var(--blue);
}
.doc-to { margin: 14px 0; }
.doc .line { padding: 3px 0; }
.howtopay { background: #eef4fb; border-radius: 10px; padding: 12px 14px; margin: 14px 0 4px; }
.howtopay .pre { white-space: pre-line; margin: 4px 0 0; }
.doc-foot { text-align: center; margin-top: 18px; }
.settings-logo { max-height: 60px; width: auto; display: block; }
.share-row { display: flex; gap: 8px; }
.share-row input { flex: 1; font-size: .82rem; color: var(--ink-soft); }
.no-print {}
@media print {
  .doc-body { background: #fff; padding: 0; }
  .doc { box-shadow: none; max-width: none; border-radius: 0; }
  .no-print { display: none !important; }
}

/* ============ follow-ups panel ============ */
.fu-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: .88rem;
}
.fu-row:last-child { border-bottom: none; }
