/* Smart Salon website. Palette: cool white, the app's forest green, mint, and marigold (the flower on every Tamil
   shop counter) as the one warm accent. Display type: Bricolage Grotesque. Body: Figtree. */
:root {
  --paper: #F6F8F7;
  --surface: #FFFFFF;
  --ink: #173229;
  --ink-soft: #4E6A60;
  --forest: #1F4D3D;
  --forest-deep: #143A2D;
  --mint: #D7EEE3;
  --mint-line: #BFDCCD;
  --marigold: #F2A93B;
  --marigold-soft: #FDEBCB;
  --line: #E1E8E4;
  --on-forest: #F3FAF6;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F1F19;
    --surface: #16291F;
    --ink: #E7F2EC;
    --ink-soft: #A2BBB0;
    --forest: #7CC8A5;
    --forest-deep: #1B3B2E;
    --mint: #1E3A2E;
    --mint-line: #2C4D3F;
    --marigold: #F5B652;
    --marigold-soft: #3A2E17;
    --line: #24392F;
    --on-forest: #0F1F19;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--forest); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 10px; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--ink-soft); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta { color: var(--on-forest); background: var(--forest); padding: 9px 16px; border-radius: 999px; }
.site-nav .nav-cta:hover { color: var(--on-forest); background: var(--forest-deep); }
@media (max-width: 720px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ---- type ---- */
h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.02; font-weight: 750; margin: 0 0 20px; }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; font-weight: 700; margin: 0 0 14px; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 650; margin: 0 0 6px; letter-spacing: -0.01em; }
p { margin: 0 0 14px; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--ink-soft); max-width: 34em; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-family: var(--body); font-weight: 650; font-size: 16px; text-decoration: none; background: var(--forest); color: var(--on-forest); border: 2px solid var(--forest); transition: background .15s, transform .15s; }
.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: var(--mint); border-color: var(--forest); }
.btn-marigold { background: var(--marigold); border-color: var(--marigold); color: #2A1C05; }
.btn-marigold:hover { background: #E89A26; border-color: #E89A26; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---- hero ---- */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero .wrap > *, .features li > div, .band > * { min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--ink-soft); padding: 0; margin: 0; list-style: none; }
.hero-note li { display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; color: var(--forest); flex: none; }
@media (max-width: 900px) {
  .hero { padding-top: 20px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* the counter tablet */
.tablet { position: relative; background: #0E1A15; border-radius: 34px; padding: 14px; box-shadow: 0 40px 80px -30px rgba(20, 58, 45, .45), 0 0 0 1px rgba(255,255,255,.04) inset; }
.screen { background: #FFFFFF; color: #173229; border-radius: 22px; overflow: hidden; font-size: 13px; line-height: 1.35; position: relative; }
.screen-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #E6EEEA; }
.screen-top strong { font-family: var(--display); font-size: 16px; letter-spacing: -0.01em; }
.offline-pill { display: inline-flex; align-items: center; gap: 6px; background: #FDEBCB; color: #6B4508; border-radius: 999px; padding: 4px 10px; font-weight: 600; font-size: 12px; white-space: nowrap; }
.offline-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #E0901A; }
.schedule { display: grid; grid-template-columns: 44px repeat(3, minmax(0, 1fr)); padding: 10px 14px 150px; gap: 0 8px; }
.schedule .who { font-weight: 650; padding: 4px 0 8px; font-size: 13px; }
.schedule .time { color: #7E948B; font-size: 11px; padding-top: 2px; height: 46px; }
.col { position: relative; display: grid; grid-template-rows: repeat(5, 46px); border-left: 1px dashed #E1E8E4; }
.appt { margin: 2px 0; border-radius: 9px; padding: 6px 8px; font-size: 12px; overflow: hidden; }
.appt b { display: block; font-weight: 650; font-size: 12.5px; }
.appt.hair { background: #D7EEE3; color: #143A2D; }
.appt.colour { background: #F5DCEB; color: #5B1F44; }
.appt.beard { background: #FDEBCB; color: #5E3D07; }
.appt.span2 { grid-row: span 2; }
.bill { position: absolute; left: 12px; right: 12px; bottom: 12px; background: #1F4D3D; color: #F3FAF6; border-radius: 16px; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; animation: bill-up .7s cubic-bezier(.2,.8,.2,1) .35s both; }
.bill .no { grid-column: 1 / -1; font-size: 12px; opacity: .75; }
.bill .items { font-size: 13px; }
.bill .total { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; align-self: end; line-height: 1; }
.bill .paid { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 6px; }
.bill .paid span { background: rgba(255,255,255,.12); border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.bill .paid span.on { background: #F2A93B; color: #2A1C05; font-weight: 650; }
@keyframes bill-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bill { animation: none; } }
@media (max-width: 480px) {
  .tablet { border-radius: 26px; padding: 10px; }
  .screen { border-radius: 18px; font-size: 12px; }
  .schedule { grid-template-columns: 34px repeat(3, minmax(0, 1fr)); padding: 8px 8px 160px; gap: 0 5px; }
  .screen-top { padding: 12px; }
  .offline-pill { font-size: 11px; padding: 3px 8px; }
  .appt b, .appt { white-space: nowrap; text-overflow: ellipsis; }
  .appt { padding: 5px 6px; font-size: 11px; }
  .appt b { font-size: 11.5px; }
}

/* ---- sections ---- */
.section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }

/* features: two quiet columns, icon beside text */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 56px; margin: 0; padding: 0; list-style: none; }
.features li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.features .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--forest); display: grid; place-items: center; }
.features .icon svg { width: 24px; height: 24px; }
.features p { color: var(--ink-soft); margin: 0; }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; gap: 28px; } }

/* offline band */
.band { background: var(--forest-deep); color: #E3F1EA; border-radius: var(--radius-lg); padding: clamp(28px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.band h2 { color: #FFFFFF; }
.band p { color: #BFD6CB; }
.band-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.band-points li { display: flex; gap: 12px; align-items: flex-start; color: #E3F1EA; }
.band-points svg { width: 22px; height: 22px; color: #F2A93B; flex: none; margin-top: 2px; }
@media (max-width: 860px) { .band { grid-template-columns: minmax(0, 1fr); } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 820px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; }
.plan h3 { font-size: 22px; }
.plan .amount { font-family: var(--display); font-size: 52px; font-weight: 750; letter-spacing: -0.03em; line-height: 1; margin: 14px 0 6px; }
.plan .per { font-size: 16px; color: var(--ink-soft); font-family: var(--body); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 20px; height: 20px; color: var(--forest); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan-best { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.plan-best h3, .plan-best .amount { color: var(--on-forest); }
.plan-best .per, .plan-best .muted { color: color-mix(in srgb, var(--on-forest) 75%, transparent); }
.plan-best li svg { color: var(--marigold); }
.save { display: inline-block; align-self: flex-start; background: var(--marigold); color: #2A1C05; font-weight: 700; font-size: 13px; border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
.trial-note { display: flex; gap: 14px; align-items: center; background: var(--marigold-soft); border-radius: var(--radius-md); padding: 18px 22px; margin-top: 20px; max-width: 820px; }
.trial-note strong { font-family: var(--display); font-size: 20px; white-space: nowrap; }
@media (max-width: 720px) {
  .plans { grid-template-columns: 1fr; }
  .trial-note { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* download */
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 820px; }
.download { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.download .platform { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--forest); margin-bottom: 8px; }
.download .platform svg { width: 28px; height: 28px; }
.download .btn { margin-top: 14px; align-self: flex-start; }
.download .soon { margin-top: 14px; color: var(--ink-soft); font-weight: 600; }
@media (max-width: 720px) { .downloads { grid-template-columns: 1fr; } }

/* ---- inner pages (policies, contact, install) ---- */
main.legal { max-width: 760px; margin: 0 auto; padding: 40px 20px 24px; }
main.legal h1 { font-size: clamp(34px, 5vw, 48px); }
main.legal h2 { font-size: 24px; margin-top: 40px; }
main.legal li { margin-bottom: 8px; }
main.legal ol, main.legal ul { padding-left: 22px; }
main.legal code { background: var(--mint); border-radius: 6px; padding: 1px 6px; font-size: 0.92em; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--display); font-weight: 650; }

/* ---- footer ---- */
.site-footer { margin-top: 40px; padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer address { font-style: normal; }

/* Small, quiet link to the platform admin page (the admin token is the real protection). */
.site-footer nav { align-items: center; }
.admin-gear { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; opacity: .45; }
.admin-gear:hover, .admin-gear:focus-visible { opacity: 1; background: var(--mint); }
