:root {
  color-scheme: light;
  --bg: #f5f6f2;
  --ink: #182322;
  --muted: #53605b;
  --line: #d7ddd5;
  --accent: #bafa46;
  --deep: #14201f;
  --surface: #fff;
  font: 16px/1.55 "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #356cd0; outline-offset: 4px; }
.wrap { width: min(1260px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -5rem; background: white; padding: 12px; z-index: 12; }
.skip:focus { top: 1rem; }
.mast { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.mast nav { display: flex; gap: 26px; }
.mast a, .button { text-decoration: none; }
.mast nav a { font-size: 14px; color: var(--muted); }
.mast nav a:hover { color: var(--ink); text-decoration: underline; }
.brandmark { display: flex; align-items: center; gap: 9px; font-size: 32px; font-weight: 850; letter-spacing: -2px; }
.brandmark img { border-radius: 12px; }
.brand-period { color: #497834; }
.head-cta { border: 1px solid var(--line); padding: 10px 14px; border-radius: 8px; font-weight: 700; font-size: 14px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 82px); align-items: center; min-height: 620px; padding-block: 64px; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 16px; color: #3f5048; font: 750 11px/1.4 "Segoe UI", sans-serif; letter-spacing: .16em; }
.eyebrow i { display: inline-block; width: 8px; height: 8px; background: #58853e; border-radius: 50%; margin-right: 7px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; margin: 0; }
h1 { font-size: clamp(58px, 7.1vw, 113px); }
h1 em { font-family: Georgia, serif; font-weight: 400; color: #3f6742; }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(27px, 3.4vw, 49px); }
.lede { color: var(--muted); font-size: clamp(16px, 1.8vw, 21px); max-width: 490px; margin: 25px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 18px; padding: 13px 17px; min-height: 48px; background: var(--deep); color: #fff; border: 1px solid var(--deep); border-radius: 8px; font-weight: 700; font-size: 14px; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #2b403a; }
.button.secondary { background: transparent; border-color: #aab8ad; color: var(--ink); }
.button.secondary:hover { background: #ffffffa3; }
.hero-art { min-width: 0; min-height: 420px; border-radius: 24px; position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; }
.brand-art { background: #182623; color: var(--accent); }
.art-grid { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 49px, #e5fbd816 49px 50px), repeating-linear-gradient(90deg, transparent 0 49px, #e5fbd816 49px 50px); mask-image: linear-gradient(130deg, #000, transparent 90%); }
.art-word { justify-self: center; font: 850 clamp(150px, 25vw, 390px)/.9 "Segoe UI", sans-serif; letter-spacing: -.15em; padding: 0 .14em .12em 0; transform: rotate(-9deg); animation: enter .75s ease both; }
.art-word span { color: #78a45e; }
.art-label, .art-bottom, .art-chip { position: absolute; font: 700 10px/1.5 "Segoe UI", sans-serif; letter-spacing: .12em; }
.art-label { top: 22px; left: 22px; display: flex; gap: 9px; align-items: center; color: white; }
.art-label img { border-radius: 10px; }
.art-label small { color: #b2c4bb; font-size: 9px; }
.art-bottom { bottom: 22px; left: 22px; right: 22px; color: #dfebd8; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.section { padding-block: clamp(54px, 8vw, 112px); border-top: 1px solid var(--line); }
.section-title { margin-bottom: 34px; }
.muted { color: var(--muted); }
.product-grid, .feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.product-card, .plan { padding: clamp(19px, 3vw, 36px); border: 1px solid var(--line); border-radius: 19px; }
.service-card { background: #e2edda; }
.barber-card { background: #f5e5d8; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.pill { display: inline-block; padding: 5px 10px; background: #ffffffa8; border: 1px solid #18232222; color: var(--ink); border-radius: 100px; font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.card-art { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 0; padding-inline: 22px; border-block: 1px solid #18232227; }
.card-art span { font-size: 88px; line-height: 1.22; }
.card-art b { font: 14px monospace; color: var(--muted); }
.product-card p { max-width: 36ch; color: var(--muted); }
.metrics, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-block: 23px 44px; }
.metrics div { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 3px; }
.metrics strong { font-size: 37px; letter-spacing: -.08em; }
.metrics span, .steps span { color: var(--muted); font-size: 12px; }
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.product { --bg: #f0f4fb; --accent: #a9c8ff; --line: #d2dbe9; --deep: #17356d; }
.product h1 em { color: #3156a5; }
.product-art { background: #dbe7ff; padding: 32px; }
.app-panel { background: #152647; color: white; border: 1px solid #7a9bc4; border-radius: 16px; box-shadow: 0 24px 40px #254d952d; transform: rotate(-3deg); }
.window, .calendar-head { font: 700 9px/1.4 "Segoe UI", sans-serif; letter-spacing: .12em; display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 14px; border-bottom: 1px solid #ffffff2e; }
.dots { color: #a5c5ff; white-space: nowrap; }
.app-body { padding: 22px; }
.app-body .eyebrow { color: #b4cbf3; }
.app-body h2, .calendar h2 { font-size: clamp(24px, 3.4vw, 40px); }
.app-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-block: 22px; }
.app-metrics div { background: #263d65; padding: 8px; border-radius: 7px; }
.app-metrics small, .app-metrics strong { display: block; }
.app-metrics strong { font-size: 27px; }
.app-row { display: grid; grid-template-columns: .7fr 1.1fr .8fr; align-items: center; gap: 8px; font-size: 11px; padding: 12px 0; border-top: 1px solid #ffffff33; }
.art-chip { bottom: 14px; right: 14px; color: #fff; background: #17356d; border-radius: 100px; padding: 8px 12px; }
.demo { border: 1px solid var(--line); background: white; border-radius: 19px; padding: clamp(16px, 4vw, 36px); }
.demo-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.demo-toolbar > div { width: min(100%, 420px); }
.demo-row { display: grid; grid-template-columns: 1fr minmax(140px, 220px); align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-block: 12px; }
.demo-row small { display: block; color: var(--muted); }
#demo-status { color: var(--muted); font-size: 13px; }
.plain, .period button { background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; padding: 10px 13px; }
.period { display: flex; gap: 8px; margin-bottom: 18px; }
.period button[aria-pressed="true"] { color: white; background: var(--deep); }
.plan { background: white; }
.plan.featured { background: #dbe7ff; }
.plan ul { padding-left: 19px; color: var(--muted); margin-block: 17px 23px; }
.price strong { font-size: clamp(31px, 5vw, 48px); letter-spacing: -.05em; }
.banner { margin-block: 18px 65px; }
.banner img { width: 100%; height: auto; border-radius: 16px; }
.barber { --bg: #fcf3ec; --accent: #ffad7a; --line: #e3d6cd; --deep: #602d24; }
.barber h1 { margin-top: 13px; }
.barber h1 em { color: #8c432d; }
.barber-art { background: #ecc7ad; padding: clamp(18px, 4vw, 50px); }
.calendar { background: #fffaf6; border-radius: 14px; padding: 24px; box-shadow: 0 22px 45px #6b3a2a25; transform: rotate(3deg); }
.calendar-head { padding: 0 0 16px; margin-bottom: 17px; border-color: var(--line); color: var(--muted); }
.calendar-days { display: flex; justify-content: space-between; gap: 5px; margin: 19px 0; color: var(--muted); font-size: 10px; }
.appointment { background: #f8e4d6; padding: 10px; margin-top: 8px; border-radius: 6px; display: flex; flex-wrap: wrap; gap: 10px; }
.appointment span { font: 12px monospace; align-self: center; }
.appointment.available { background: #eaf0df; }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid article { border-top: 1px solid var(--line); padding-block: 18px; }
.feature-grid article > span { color: var(--muted); font: 12px monospace; }
.feature-grid h3 { font-size: 26px; margin-top: 10px; }
.feature-grid p { color: var(--muted); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 80px); }
.direct { display: grid; gap: 7px; }
form { background: white; border: 1px solid var(--line); border-radius: 17px; padding: clamp(17px, 3vw, 32px); }
label { display: block; font-size: 14px; font-weight: 700; margin: 10px 0 5px; }
label span { color: var(--muted); font-weight: 400; }
input, textarea, select { width: 100%; border: 1px solid #aab5b0; border-radius: 7px; padding: 10px; background: #fff; color: var(--ink); }
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: #ad2c35; }
.field-error { color: #a12630; font-size: 13px; margin: 3px 0 0; }
.form-note { color: var(--muted); font-size: 13px; }
#contact-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; }
#contact-status:not(:empty) { margin-block: 12px; }
.spinner { display: inline-block; width: 1em; height: 1em; border-radius: 100%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .65s linear infinite; vertical-align: -.12em; margin-right: 6px; }
.foot { border-top: 1px solid var(--line); padding-block: 31px; display: grid; gap: 15px; grid-template-columns: repeat(3, minmax(0, 1fr)); font-size: 13px; }
.foot a { display: block; width: fit-content; margin-bottom: 4px; }
.foot p { color: var(--muted); margin-block: 4px; }
.cookie { display: flex; align-items: center; justify-content: space-between; gap: 13px; position: fixed; z-index: 6; left: 16px; bottom: 16px; max-width: min(460px, calc(100% - 32px)); padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 5px 24px #0002; }
.cookie p { margin: 0; font-size: 13px; }
.cookie button { border: 1px solid var(--line); background: var(--bg); padding: 6px 10px; border-radius: 6px; }
.mobile-cta { display: none; }
.document { max-width: 790px; padding-block: 78px; min-height: 61vh; }
.document h1 { font-size: clamp(38px, 7vw, 71px); margin-bottom: 24px; }
.document h2 { font-size: 27px; margin-top: 27px; }
.document p { color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes enter { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 960px) {
  .wrap { width: min(100% - 48px, 1260px); }
  .hero { min-height: auto; gap: 25px; }
  .hero-art { min-height: 360px; }
  .product-art { padding: 19px; }
}
@media (max-width: 700px) {
  body { padding-bottom: 64px; }
  .wrap { width: calc(100% - 34px); }
  .mast { min-height: 66px; }
  .brandmark { font-size: 26px; }
  .brandmark img { width: 32px; height: 32px; }
  .mast nav { gap: 13px; }
  .mast nav a { font-size: 12px; }
  .head-cta { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 36px 26px; }
  h1 { font-size: clamp(42px, 11vw, 68px); }
  .lede { margin-block: 15px; }
  .hero-art { min-height: 295px; }
  .art-word { font-size: clamp(180px, 44vw, 270px); }
  .product-grid, .feature-grid, .contact { grid-template-columns: 1fr; }
  .metrics { gap: 8px; }
  .metrics strong { font-size: 29px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot div:last-child { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 12px; }
  .mobile-cta { display: block; position: fixed; z-index: 5; inset: auto 0 0; padding: 8px 14px max(8px, env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
  .mobile-cta a { display: flex; justify-content: space-between; min-height: 44px; align-items: center; border-radius: 8px; color: white; background: var(--deep); padding-inline: 14px; text-decoration: none; font-weight: 700; }
  .cookie { bottom: 68px; }
  .document { padding-block: 45px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 28px); }
  .demo-row { grid-template-columns: 1fr; }
  .app-body { padding: 13px; }
  .app-row { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

