/*
 * Tegirmonchi landing page (resources/views/landing.blade.php).
 *
 * Hand-written, dependency-free, system fonts only: nginx serves this file directly, the page makes no
 * external requests. Palette comes from public/images/logo.svg (#F2A25C -> #C05A0A wheat gradient).
 * #C05A0A is 4.47:1 on white - fine for large headings, so body-size text and button fills use the
 * darker --brand-ink / --brand-strong. Mock screens reuse the Mini App's own tokens (mini-app/src/styles.css).
 */

/* --------------------------------------------------------------- tokens -- */

:root {
  --brand: #c05a0a;
  --brand-light: #f2a25c;
  --brand-strong: #a84e08;
  --brand-strong-hover: #8f4207;
  --brand-ink: #9a4507;
  --brand-soft: #fdf1e6;
  --brand-line: #f3dcc6;

  --ink: #1c1917;
  --ink-2: #57534e;
  --ink-3: #6f6862;

  --bg: #ffffff;
  --bg-warm: #fbf7f2;
  --surface: #ffffff;
  --line: #ebe4dc;
  --line-2: #d9cfc4;

  --ok: #137638;
  --ok-soft: #e7f5ec;
  --bad: #b42318;
  --bad-soft: #fdeceb;

  --shadow-s: 0 1px 2px rgb(28 25 23 / 0.05), 0 2px 8px rgb(28 25 23 / 0.04);
  --shadow-m: 0 2px 6px rgb(28 25 23 / 0.05), 0 14px 34px rgb(28 25 23 / 0.08);
  --shadow-l: 0 10px 30px rgb(28 25 23 / 0.12), 0 40px 80px rgb(28 25 23 / 0.14);
  --shadow-brand: 0 6px 16px rgb(168 78 8 / 0.22), 0 16px 34px rgb(168 78 8 / 0.16);

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 22px;
  --pill: 999px;

  --gutter: clamp(16px, 4vw, 32px);
  --sec: clamp(3.5rem, 8vw, 6.5rem);
  --max: 1160px;

  /* Mini App surface (mini-app/src/styles.css, light theme) */
  --m-bg: #f6f4f1;
  --m-surface: #ffffff;
  --m-text: #1c1917;
  --m-muted: #6b6560;
  --m-accent: #b45309;
  --m-line: rgb(28 25 23 / 0.08);

  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, 'Noto Sans', sans-serif;

  color-scheme: light;
}

/* ----------------------------------------------------------------- base -- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.i {
  flex-shrink: 0;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-s);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

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

.wrap--narrow {
  max-width: 860px;
}

/* ----------------------------------------------------------- typography -- */

.h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.h1 > span {
  display: block;
}

.h1__accent {
  color: var(--brand);
  background: linear-gradient(100deg, var(--brand) 10%, #c86517 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em;
}

.h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--brand-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.9375rem;
  border-radius: 10px;
  gap: 8px;
}

.btn--lg {
  min-height: 54px;
  padding: 0 26px;
  font-size: 1.0625rem;
  border-radius: 14px;
}

.btn--primary {
  background: var(--brand-strong);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
  background: var(--brand-strong-hover);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
}

.btn--ghost:hover {
  border-color: var(--ink-3);
  background: var(--bg-warm);
}

.btn--light {
  background: #fff;
  color: var(--brand-ink);
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.18);
}

.btn--light:hover {
  background: #fff7ef;
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 0.6);
}

.btn--outline-light:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: #fff;
}

.band :focus-visible {
  outline-color: #fff;
}

/* ------------------------------------------------------------------ nav -- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.88);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}

.nav__in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav__links {
  display: none;
  gap: 4px;
  margin-left: 12px;
}

.nav__links a {
  padding: 8px 12px;
  white-space: nowrap;
  border-radius: 8px;
  color: var(--ink-2);
  font-weight: 550;
  font-size: 0.9375rem;
}

.nav__links a:hover {
  color: var(--ink);
  background: var(--bg-warm);
}

.nav__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav__cta {
  display: none;
}

@media (min-width: 640px) {
  .nav__cta {
    display: inline-flex;
  }
}

@media (min-width: 1120px) {
  .nav__links {
    display: flex;
  }
}

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(60rem 36rem at 92% -10%, rgb(242 162 92 / 0.22), transparent 62%),
    radial-gradient(40rem 30rem at -10% 110%, rgb(242 162 92 / 0.12), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-warm) 100%);
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

.hero__copy {
  max-width: 620px;
}

.hero__lead {
  margin-top: 22px;
  max-width: 34em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__note {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 0.9375rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--brand-line);
  border-radius: var(--pill);
  background: rgb(255 255 255 / 0.7);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 600;
}

.chips .i {
  color: var(--brand-ink);
}

.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 8px;
}

.hero__caption {
  margin-top: 18px;
  max-width: 300px;
  color: var(--ink-3);
  font-size: 0.8125rem;
  text-align: center;
}

.float {
  position: absolute;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-m);
  font-size: 0.875rem;
  line-height: 1.25;
}

.float b {
  display: block;
}

.float small {
  display: block;
  color: var(--ink-3);
  font-size: 0.78rem;
}

.float__ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.float__ic--ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  width: min(300px, 100%);
}

/* Hang over the phone's top-left and bottom-right corners (status bar, tab bar) - never over the figures. */
.float--stock {
  top: -18px;
  left: -128px;
}

.float--saved {
  right: -118px;
  bottom: -34px;
}

@media (min-width: 640px) {
  .float {
    display: flex;
  }

  .hero__caption {
    margin-top: 52px;
  }
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  /* Two columns but a narrow visual one: hang further over the phone so nothing leaves the viewport. */
  .float--stock {
    left: -70px;
  }

  .float--saved {
    right: -60px;
  }
}

@media (min-width: 1160px) {
  .float--stock {
    left: -128px;
  }

  .float--saved {
    right: -118px;
  }
}

/* ---------------------------------------------------------- phone mock -- */

.phone {
  position: relative;
  width: 100%;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(160deg, #3a3330, #1c1917 60%);
  box-shadow: var(--shadow-l), inset 0 0 0 1.5px rgb(255 255 255 / 0.08);
}

.phone__screen {
  overflow: hidden;
  padding: 10px 12px 0;
  border-radius: 36px;
  background: var(--m-bg);
  color: var(--m-text);
  font-size: 12px;
  line-height: 1.35;
}

.m-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 8px 8px;
  font-size: 11px;
  font-weight: 700;
}

.m-status__tg {
  font-weight: 600;
  color: var(--m-muted);
}

.m-status__dots {
  width: 26px;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--m-text) 0 60%, transparent 60% 70%, var(--m-text) 70%);
  opacity: 0.75;
}

.m-h1 {
  margin: 4px 2px 10px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.m-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.m-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 2px 7px;
  border: 1.5px solid var(--m-line);
  border-radius: 12px;
  background: var(--m-surface);
  font-size: 11px;
  font-weight: 650;
}

.m-type .i {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 8px;
  background: rgb(180 83 9 / 0.1);
  color: var(--m-accent);
}

.m-type.is-on {
  border-color: var(--m-accent);
  background: #fdf8f3;
}

.m-type.is-on .i {
  background: var(--m-accent);
  color: #fff;
}

.m-card {
  margin-top: 8px;
  padding: 10px 11px;
  border-radius: 14px;
  background: var(--m-surface);
  box-shadow: 0 1px 2px rgb(28 25 23 / 0.06);
}

.m-hint {
  margin-bottom: 7px;
  color: var(--m-muted);
  font-size: 11px;
}

.m-label {
  display: block;
  margin: 6px 0 3px;
  font-size: 10.5px;
  font-weight: 650;
}

.m-input {
  display: block;
  padding: 6px 9px;
  border: 1px solid rgb(28 25 23 / 0.12);
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.m-input--select {
  position: relative;
  padding-right: 18px;
}

.m-input--select::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid var(--m-muted);
  border-bottom: 1.5px solid var(--m-muted);
  transform: translateY(-70%) rotate(45deg);
}

.m-two {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 7px;
}

.m-title {
  font-size: 14px;
  font-weight: 800;
}

.m-sec {
  margin-top: 7px;
  color: var(--m-muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.m-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid var(--m-line);
  font-size: 12.5px;
}

.m-row b {
  font-variant-numeric: tabular-nums;
}

.m-row--earn {
  border-bottom: 0;
}

.m-row--earn b {
  color: var(--ok);
  font-size: 13.5px;
}

.m-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  padding: 9px;
  border-radius: 11px;
  background: var(--m-accent);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
}

.m-tabbar {
  display: flex;
  justify-content: space-around;
  margin: 10px -12px 0;
  padding: 9px 0 14px;
  border-top: 1px solid var(--m-line);
  background: var(--m-surface);
  color: var(--m-muted);
}

.m-tabbar .is-on {
  color: var(--m-accent);
}

/* ------------------------------------------------------------- sections -- */

.section {
  padding-block: var(--sec);
}

.section--warm {
  background: var(--bg-warm);
  border-block: 1px solid #f3ece4;
}

.sec-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.sec-head .lead {
  margin-top: 14px;
}

.tile {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  box-shadow: inset 0 0 0 1px var(--brand-line);
}

.tile--sm {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

/* -------------------------------------------------------------- compare -- */

.compare {
  display: grid;
  gap: 16px;
}

.panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
}

.panel--after {
  border-color: var(--brand-line);
  background: linear-gradient(160deg, #fff 0%, var(--brand-soft) 100%);
  box-shadow: var(--shadow-m);
}

.panel__label {
  margin-bottom: 16px;
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.panel--after .panel__label {
  color: var(--brand-ink);
}

.panel li {
  display: flex;
  gap: 12px;
  padding-block: 10px;
  border-top: 1px dashed var(--line);
}

.panel li:first-child {
  border-top: 0;
  padding-top: 0;
}

.panel li .i {
  margin-top: 2px;
  padding: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.panel--before li .i {
  color: var(--bad);
  background: var(--bad-soft);
}

.panel--before li span {
  color: var(--ink-2);
}

.panel--after li .i {
  color: var(--ok);
  background: var(--ok-soft);
}

.panel--after li span {
  color: var(--ink);
}

@media (min-width: 820px) {
  .compare {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* -------------------------------------------------------------- methods -- */

.methods {
  display: grid;
  gap: 16px;
}

.method {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.method .tile {
  margin-bottom: 6px;
}

.method .h3 {
  font-size: 1.375rem;
}

.method > p {
  color: var(--ink-2);
}

.method__gets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

.method__gets span {
  color: var(--ink-3);
  margin-right: 2px;
}

.method__gets b {
  padding: 3px 10px;
  border-radius: var(--pill);
  background: var(--bg-warm);
  border: 1px solid var(--line);
  font-weight: 650;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-l);
  background: var(--brand-soft);
}

.callout p {
  color: var(--ink-2);
}

.callout b {
  color: var(--ink);
}

@media (min-width: 600px) {
  .methods {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .methods {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------------------------------------------------------------- steps -- */

.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
}

.step__n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--brand-strong);
  color: #fff;
  font-weight: 800;
  font-size: 1.0625rem;
  box-shadow: 0 0 0 6px var(--brand-soft);
}

.step p {
  margin-top: 8px;
  color: var(--ink-2);
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 44px;
    left: calc(24px + 40px + 14px);
    right: -17px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--brand-line) 0 6px, transparent 6px 12px);
  }
}

/* ------------------------------------------------------------- features -- */

.features {
  display: grid;
  gap: 16px;
}

.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.feature:hover {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-m);
}

.feature .tile {
  margin-bottom: 18px;
}

.feature p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.96875rem;
}

@media (min-width: 600px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------------------------------------------------------------- roles -- */

.roles {
  display: grid;
  gap: 20px;
}

.role {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.role__mock {
  display: grid;
  place-items: center;
  padding: 28px 20px;
  background:
    radial-gradient(26rem 14rem at 50% 0%, rgb(242 162 92 / 0.18), transparent 70%),
    var(--bg-warm);
  border-bottom: 1px solid var(--line);
}

.role__body {
  padding: 24px;
}

.role__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.role__top .h3 {
  font-size: 1.3125rem;
}

.role__where {
  color: var(--brand-ink);
  font-size: 0.875rem;
  font-weight: 650;
}

.role__body > p {
  color: var(--ink-2);
}

.ticks {
  margin-top: 16px;
}

.ticks li {
  display: flex;
  gap: 10px;
  padding-block: 6px;
}

.ticks .i {
  margin-top: 3px;
  color: var(--ok);
}

@media (min-width: 900px) {
  .roles {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .role__mock {
    height: 380px;
  }
}

/* panel mock */

.mock-panel {
  width: min(420px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-m);
  font-size: 12px;
}

.mp-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: #faf8f6;
}

.mp-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}

.mp-bar span {
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 11px;
}

.mp-body {
  padding: 12px;
}

.mp-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 9px;
  background: #f4efe9;
  font-weight: 600;
}

.mp-tabs span {
  padding: 4px 10px;
  border-radius: 7px;
  color: var(--ink-3);
}

.mp-tabs .is-on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgb(28 25 23 / 0.1);
}

.mp-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.mp-tiles div {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.mp-tiles small,
.mp-chart small {
  display: block;
  color: var(--ink-3);
  font-size: 10.5px;
  font-weight: 600;
}

.mp-tiles i {
  display: block;
  width: 64%;
  height: 10px;
  margin-top: 7px;
  border-radius: 5px;
  background: linear-gradient(90deg, #eadfd3, #f4ece4);
}

.mp-tiles div:nth-child(3) i {
  width: 52%;
  background: linear-gradient(90deg, #cfe9d7, #e7f5ec);
}

.mp-chart {
  margin-top: 10px;
  padding: 9px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.mp-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 64px;
  margin-top: 8px;
}

.mp-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--brand-light), var(--brand));
  opacity: 0.85;
}

/* order mock */

.mock-order {
  width: min(360px, 100%);
  padding: 14px;
  border-radius: 16px;
  background: var(--m-surface);
  box-shadow: var(--shadow-m);
  color: var(--m-text);
  font-size: 13px;
}

.mo-customer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -2px 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--m-line);
}

.mo-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1ece6;
  color: var(--m-muted);
}

.mo-customer b {
  display: block;
  font-size: 14px;
}

.mo-customer small {
  display: block;
  color: var(--m-muted);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

.mo-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mo-next {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--m-line);
}

.mo-ic {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgb(180 83 9 / 0.1);
  color: var(--m-accent);
}

.mo-what {
  flex: 1;
  min-width: 0;
}

.mo-what b {
  display: block;
}

.mo-what small {
  display: block;
  color: var(--m-muted);
  font-size: 11.5px;
}

/* Stage badges as in CustomerDetailView.vue: milled ("Tayyor") = warning, received = accent. */
.mo-badge {
  padding: 3px 9px;
  border-radius: var(--pill);
  background: #fdf0d8;
  color: var(--m-accent);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.mo-badge.mo-badge--in {
  background: rgb(180 83 9 / 0.1);
}

.mo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 16px 0 14px;
  counter-reset: mo;
}

.mo-steps li {
  position: relative;
  padding-top: 22px;
  color: var(--m-muted);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.mo-steps li::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 50%;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border: 2px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
}

.mo-steps li::after {
  content: '';
  position: absolute;
  top: 8px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--line-2);
}

.mo-steps li:first-child::after {
  display: none;
}

.mo-steps .is-done {
  color: var(--m-text);
}

.mo-steps .is-done::before {
  border-color: var(--ok);
  background: var(--ok);
  box-shadow: inset 0 0 0 2px #fff;
}

.mo-steps .is-done::after {
  background: var(--ok);
}

.mo-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border: 1.5px solid var(--m-line);
  border-radius: 10px;
  font-weight: 650;
  font-size: 12px;
}

.mo-btn.is-done {
  color: var(--ok);
  background: var(--ok-soft);
  border-color: transparent;
}

.mo-btn--go {
  background: var(--m-accent);
  border-color: var(--m-accent);
  color: #fff;
}

/* ------------------------------------------------------------------ faq -- */

.faq {
  display: grid;
  gap: 10px;
}

.qa {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
  transition: border-color 0.2s ease;
}

.qa[open] {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-s);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.0625rem;
  list-style: none;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary .i {
  color: var(--ink-3);
  transition: transform 0.2s ease;
}

.qa[open] summary .i {
  transform: rotate(180deg);
  color: var(--brand-ink);
}

.qa p {
  padding: 0 20px 20px;
  color: var(--ink-2);
}

/* ----------------------------------------------------------------- band -- */

.band {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(40rem 24rem at 100% 0%, rgb(242 162 92 / 0.35), transparent 60%),
    linear-gradient(135deg, #b4540a 0%, #98470a 55%, #7a3604 100%);
  color: #fff;
}

.band__in {
  max-width: 820px;
  text-align: center;
}

.band .lead {
  margin-top: 16px;
  color: #fff;
}

.band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

/* ---------------------------------------------------------------- footer -- */

.foot {
  padding-top: 40px;
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.foot__in {
  display: grid;
  gap: 24px;
}

.foot__about .brand {
  color: var(--ink);
}

.foot__about .brand__mark {
  width: 32px;
  height: 32px;
}

.foot__about p {
  margin-top: 10px;
  max-width: 34em;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.foot__links a {
  padding-block: 4px;
  font-weight: 550;
}

.foot__links a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot__bar {
  margin-top: 32px;
  padding-block: 18px 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.875rem;
}

@media (min-width: 820px) {
  .foot__in {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .foot__links {
    justify-content: flex-end;
    max-width: 620px;
    margin-top: 4px;
  }
}

/* ----------------------------------------------------------- small phones -- */

@media (max-width: 479px) {
  .hero__actions .btn,
  .band__actions .btn {
    width: 100%;
  }
}

/* -------------------------------------------------------- reduced motion -- */

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
