/* LiveKar — signboard yellow, navy ink, green for "live". */
:root {
  --yellow: #ffc531;
  --yellow-soft: #ffe9a8;
  --ink: #0e1b2c;
  --ink-soft: #3d4b5e;
  --paper: #ffffff;
  --live: #2fd27a;
  --whatsapp: #138a4a;
  --line: #d9dee5;

  --font-display: "Baloo 2", "Mukta", system-ui, sans-serif;
  --font-body: "Mukta", system-ui, sans-serif;
  --font-logo: "Poppins", var(--font-body);

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 128px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
  color: inherit;
}

h1 {
  font-size: clamp(46px, 7.2vw, 88px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus {
  left: 8px;
}

/* Wordmark: same lockup as the logo files. */
.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}
.wordmark-dot {
  width: 0.36em;
  height: 0.36em;
  border-radius: 50%;
  background: var(--live);
  margin-right: 0.28em;
  box-shadow: 0 0 0 3px var(--ink);
}
/* On yellow, "Kar" sits on a navy plate so it stays yellow, as in the logo. */
.wordmark-kar {
  color: var(--yellow);
  background: var(--ink);
  padding: 0.02em 0.16em 0.06em;
  margin-left: 0.04em;
  border-radius: 0.14em;
}
.wordmark-small {
  font-size: 22px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 120ms ease, background-color 120ms ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-ink {
  background: var(--ink);
  color: var(--paper);
}
.btn-ink:hover {
  background: #1d3350;
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--paper);
}
.btn-whatsapp:hover {
  background: #0f7a40;
}
/* Until a WhatsApp number is set, buttons fall back to Instagram in navy. */
.no-wa .btn-whatsapp {
  background: var(--ink);
}
.no-wa .btn-whatsapp:hover {
  background: #1d3350;
}
.no-wa [data-wa-only] {
  display: none;
}
.alt-contact {
  margin-top: 14px;
  font-size: 17px;
}
.alt-contact a {
  font-weight: 700;
}
.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 18px;
  border-radius: 12px;
}
.btn-large {
  min-height: 64px;
  padding: 0 36px;
  font-size: 23px;
}

/* Top bar + hero share the signboard yellow. */
.topbar {
  background: var(--yellow);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.hero {
  background: var(--yellow);
  padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 104px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero-copy h1 {
  max-width: 11ch;
}
.lede {
  margin-top: 24px;
  max-width: 34em;
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink);
}

/* The try-it form */
.try {
  margin-top: 36px;
  max-width: 480px;
}
.try-label {
  display: block;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}
.try input[type="text"] {
  width: 100%;
  height: 60px;
  padding: 0 18px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 500;
}
.try input[type="text"]::placeholder {
  color: #8a94a3;
}
.try input[type="text"]:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 0;
}
.try-types {
  border: 0;
  padding: 0;
  margin: 22px 0 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip span {
  display: inline-block;
  padding: 8px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  user-select: none;
}
.chip input:checked + span {
  background: var(--ink);
  color: var(--yellow);
}
.chip input:focus-visible + span {
  outline: 3px solid var(--paper);
  outline-offset: 2px;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.hero-price {
  font-size: 19px;
}
.hero-price s {
  color: var(--ink-soft);
}
.hero-price strong {
  font-family: var(--font-display);
  font-size: 24px;
}

/* The live preview */
.hero-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.url {
  max-width: 100%;
  padding: 10px 20px;
  margin-bottom: 20px;
  background: var(--paper);
  border-radius: 12px;
  font-weight: 700;
  font-size: 19px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 0 var(--ink);
}
.url::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--live);
  margin-right: 10px;
  vertical-align: 1px;
}
#url-slug {
  color: var(--whatsapp);
}

.phone {
  --shop: #8c2f1b;
  --shop-hero-a: #f6a623;
  --shop-hero-b: #e8590c;
  --shop-hero-ink: #2a1a0c;
  --shop-bg: #fff8ee;
  --shop-rule: #f0e2cc;
  width: min(330px, 100%);
  padding: 12px;
  border-radius: 44px;
  background: var(--ink);
  transform: rotate(2deg);
}
.screen {
  position: relative;
  min-height: 560px;
  border-radius: 34px;
  background: var(--shop-bg);
  overflow: hidden;
  color: var(--shop-hero-ink);
  padding-bottom: 96px;
}
.site-top {
  padding: 22px 22px 16px;
  background: var(--shop);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  word-break: break-word;
}
.site-hero {
  padding: 22px;
  min-height: 112px;
  background: linear-gradient(135deg, var(--shop-hero-a), var(--shop-hero-b));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
}
.site-items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 2px solid var(--shop-rule);
  font-size: 17px;
  font-weight: 500;
}
.site-items .thumb {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--shop-hero-a), var(--shop-hero-b));
  opacity: 0.85;
}
.site-items li:nth-child(2) .thumb {
  opacity: 0.6;
}
.site-items li:nth-child(3) .thumb {
  opacity: 0.4;
}
.site-items .name {
  flex: 1;
  line-height: 1.25;
}
.site-items .price {
  font-weight: 700;
  color: var(--shop);
}
.site-order {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  height: 56px;
  border-radius: 28px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 56px;
  text-align: center;
}
.preview-note {
  margin-top: 22px;
  max-width: 300px;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
  color: var(--ink);
}

.phone[data-type="kirana"] {
  --shop: #1d6b3a;
  --shop-hero-a: #c9e97a;
  --shop-hero-b: #7cc55a;
  --shop-hero-ink: #12301c;
  --shop-bg: #f6fbf1;
  --shop-rule: #dcebd0;
}
.phone[data-type="salon"] {
  --shop: #5b2a86;
  --shop-hero-a: #f6c6dd;
  --shop-hero-b: #d98fc0;
  --shop-hero-ink: #34164f;
  --shop-bg: #fdf6fa;
  --shop-rule: #f0dcea;
}
.phone[data-type="clinic"] {
  --shop: #0b5ea8;
  --shop-hero-a: #cfe9fb;
  --shop-hero-b: #8ccaf2;
  --shop-hero-ink: #0a2f52;
  --shop-bg: #f5fafe;
  --shop-rule: #dcebf6;
}

/* Sections */
.section {
  padding: var(--section) 0;
}

.get .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.get h2 {
  max-width: 9ch;
}
.get-item + .get-item {
  margin-top: 48px;
}
.get-item h3 {
  padding-left: 22px;
  border-left: 6px solid var(--yellow);
}
.get-item p {
  margin-top: 10px;
  padding-left: 28px;
  max-width: 36em;
  color: var(--ink-soft);
}

.steps {
  background: var(--ink);
  color: var(--paper);
}
.step-list {
  list-style: none;
  counter-reset: step;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
}
.step-list li {
  counter-increment: step;
}
.step-list li::before {
  content: counter(step);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 76px;
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 12px;
}
.step-list h3 {
  font-size: 23px;
}
.step-list p {
  margin-top: 8px;
  color: #c6cfdb;
  font-size: 18px;
}

.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.price-figure {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
}
.price-figure s {
  font-size: clamp(30px, 3.4vw, 40px);
  color: #8a94a3;
  text-decoration-thickness: 4px;
  text-decoration-color: #d64541;
}
.price-figure span {
  font-size: clamp(76px, 11vw, 132px);
  letter-spacing: -0.02em;
}
.price-sub {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 500;
}
.price-incl {
  margin: 28px 0 36px;
  padding: 0;
  list-style: none;
}
.price-incl li {
  position: relative;
  padding: 8px 0 8px 34px;
}
.price-incl li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--live);
}
.price-aside {
  padding: 36px;
  background: var(--yellow-soft);
  border-radius: 24px;
}
.price-aside h3 {
  font-size: 22px;
}
.price-aside h3 + p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 18px;
}
.price-aside p + h3 {
  margin-top: 28px;
}

.faq {
  padding-top: 0;
}
.faq-wrap {
  max-width: 820px;
}
.faq h2 {
  margin-bottom: 28px;
}
.faq details {
  border-top: 2px solid var(--ink);
}
.faq details:last-of-type {
  border-bottom: 2px solid var(--ink);
}
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  padding: 0 0 24px;
  max-width: 40em;
  color: var(--ink-soft);
}

.closing {
  background: var(--yellow);
  padding: clamp(64px, 9vw, 112px) 0;
}
.closing-inner {
  text-align: center;
}
.closing h2 {
  max-width: 14ch;
  margin: 0 auto 32px;
}
.closing p {
  margin-top: 18px;
  font-size: 18px;
}
.closing p a {
  font-weight: 700;
}

.footer {
  background: var(--ink);
  color: #c6cfdb;
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
}
.footer .wordmark {
  color: var(--paper);
}
.footer .wordmark-kar {
  background: none;
  padding: 0;
  margin-left: 0;
  color: var(--yellow);
}
.footer .wordmark-dot {
  box-shadow: none;
}

/* Tablet and phone */
@media (max-width: 960px) {
  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 18px;
  }
  .hero-grid,
  .get .wrap,
  .price-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy h1 {
    max-width: 12ch;
  }
  .lede {
    font-size: 19px;
  }
  .phone {
    transform: none;
  }
  .get h2 {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .topbar-inner {
    min-height: 68px;
  }
  .wordmark {
    font-size: 26px;
  }
  .step-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .step-list li::before {
    font-size: 60px;
  }
  .hero-actions .btn,
  .price-main .btn,
  .closing .btn {
    width: 100%;
  }
  .price-aside {
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
