:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #172d26;
  background: #f8f9f5;
  --ink: #172d26;
  --muted: #52635c;
  --line: #d7dfd7;
  --forest: #15392e;
  --lime: #d8ee97;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-size: 16px; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
a { color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #328561; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1232px, calc(100% - 76px)); margin-inline: auto; }
.masthead { background: #fff; border-bottom: 1px solid var(--line); }
.nav, .foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.nav { min-height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 113px; height: auto; display: block; }
.login { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: .91rem; font-weight: 620; }
.login:hover, .summary a:hover { text-decoration: underline; }
.skip, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { top: 10px; left: 10px; width: auto; height: auto; clip-path: none; background: white; padding: 12px; z-index: 10; }
.hero { margin-block: 34px 58px; display: grid; grid-template-columns: 1.1fr .9fr; min-height: 366px; overflow: hidden; border-radius: 22px; background: var(--forest); color: white; }
.hero-copy { padding: clamp(32px, 4vw, 62px); display: flex; align-items: flex-start; flex-direction: column; justify-content: center; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero .eyebrow { color: #def2d8; }
.beam { display: inline-block; background: var(--lime); height: 8px; width: 22px; border-radius: 1px; transform: skewX(-20deg); }
.hero h1 { margin-block: 18px 15px; font-size: clamp(3rem, 5.3vw, 5.35rem); line-height: .99; letter-spacing: -.065em; font-weight: 610; }
.hero h1 em { font-style: normal; color: var(--lime); }
.lead { max-width: 440px; color: #dce6df; font-size: clamp(1rem, 1.35vw, 1.17rem); line-height: 1.5; }
.primary, .secondary, .pick { min-height: 45px; border-radius: 9px; padding: 10px 18px; font-weight: 640; font-size: .94rem; display: inline-flex; gap: 12px; align-items: center; justify-content: center; text-decoration: none; }
.primary, .pick { background: var(--forest); border: 1px solid var(--forest); color: white; }
.primary:hover, .pick:hover { background: #255041; }
.primary:disabled, .secondary:disabled { opacity: .62; cursor: progress; }
.secondary { border: 1px solid #bbc9be; color: var(--ink); background: white; }
.secondary:hover { background: #edf3ed; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.hero-cta { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.hero-cta:hover { background: #e8f6bc; }
.specimen { position: relative; overflow: hidden; display: grid; place-items: center; padding: 32px; background: #264b3e; }
.diagonal { position: absolute; inset: -55% -30%; transform: rotate(-32deg); background: repeating-linear-gradient(90deg,transparent 0 50px,#426452 50px 51px); }
.agenda { width: min(100%, 340px); position: relative; transform: rotate(-3deg); background: #f8f9f1; color: var(--ink); border-radius: 14px; padding: clamp(16px, 2.2vw, 28px); box-shadow: 10px 14px 0 #142d26; }
.agenda-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 700; }
.sample { font-size: .67rem; color: var(--muted); font-weight: 500; }
.appointment { min-height: 56px; display: grid; grid-template-columns: auto 1fr auto; gap: 17px; align-items: center; border-top: 1px solid var(--line); }
.appointment time { color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.appointment span { font-weight: 630; font-size: .86rem; }
.appointment small { display: block; margin-top: 1px; font-size: .7rem; font-weight: 450; color: var(--muted); }
.slot { width: 9px; height: 9px; border-radius: 50%; }
.mint { background: #8daf83; } .lilac { background: #b3a4c2; } .amber { background: #c19d60; }
.section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.section-top h2, .checkout h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -.045em; }
.section-top p, .signup > p { margin-top: 8px; color: var(--muted); line-height: 1.5; }
.segmented { display: flex; flex-shrink: 0; padding: 4px; margin: 0; border: 1px solid var(--line); background: #eaf0e9; border-radius: 11px; }
.segmented label { position: relative; cursor: pointer; }
.segmented label span { display: block; border-radius: 7px; padding: 8px 17px; font-size: .92rem; font-weight: 600; color: var(--muted); }
.segmented input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.segmented input:checked + span { color: var(--ink); background: #fff; box-shadow: 0 1px 5px #152c1f1a; }
.segmented input:focus-visible + span { outline: 2px solid #328561; }
.offers, .checkout { scroll-margin-top: 20px; }
.notice { padding-block: 18px; }
.plan-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; align-items: start; }
.plan { padding: clamp(16px, 1.65vw, 26px); background: white; border: 1px solid var(--line); border-top: 4px solid #8da799; border-radius: 13px; }
.plan[data-plan-id="salon"] { border-top-color: #4f7d64; }
.plan[data-plan-id="growth"] { border-top-color: #8e82a0; }
.plan[data-plan-id="chain"] { border-top-color: #997c4c; }
.plan[data-selected="true"] { outline: 2px solid var(--forest); outline-offset: -2px; background: #f4f8ea; }
.plan h3 { font-size: clamp(1.12rem,1.8vw,1.5rem); letter-spacing: -.025em; margin-bottom: 5px; }
.plan-intro { min-height: 2.8em; font-size: .88rem; line-height: 1.4; color: var(--muted); }
.price { margin: 19px 0 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.amount { font-size: clamp(1.65rem, 2.3vw, 2.2rem); line-height: 1.1; font-weight: 650; letter-spacing: -.05em; }
.unit { color: var(--muted); font-size: .85rem; }
.pick { width: 100%; }
.plan-actions { display: grid; gap: 8px; }
.plan details { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.plan summary { cursor: pointer; font-size: .84rem; font-weight: 620; min-height: 25px; }
.modules { padding-left: 18px; font-size: .84rem; margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.modules li+li { margin-top: 3px; }
.checkout { margin-top: 46px; padding-top: 35px; border-top: 1px solid var(--line); display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: clamp(24px, 5vw, 70px); }
.summary { padding: clamp(22px, 3vw, 35px); border-radius: 14px; background: #e9efdc; }
.summary h2 { margin-top: 14px; }
#demo .summary h2 { margin: 0 0 10px; }
#demo .summary p { line-height: 1.55; }
#demo .fields { margin-top: 0; }
#demo-send { margin-top: 16px; }
.summary p:not(.eyebrow), .summary a { color: #3d5446; font-size: .93rem; }
.summary #summary-period { margin-top: 5px; }
.summary-total { border-block: 1px solid #c3cfb6; padding-block: 17px; margin-top: 23px; display: grid; gap: 5px; }
.summary-total span { font-size: .85rem; }
.summary-total strong { font-size: 2rem; letter-spacing: -.04em; }
.summary .term-note { line-height: 1.45; margin-block: 13px 17px; }
.signup { padding: 0 0 8px; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-block: 22px; }
.fields label { font-size: .88rem; font-weight: 620; }
.fields input, .fields select { display: block; width: 100%; min-height: 46px; margin-top: 5px; padding: 10px 12px; border-radius: 8px; border: 1px solid #b7c4b8; background: white; color: var(--ink); font: inherit; }
.fields small { display: block; margin-top: 4px; color: var(--muted); font-size: .78rem; font-weight: 450; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: .91rem; line-height: 1.45; cursor: pointer; }
.consent input { accent-color: var(--forest); width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; }
.renewal-choice { padding: 16px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 18px; }
.renewal-choice:has(input:checked) { border-color: #527c62; background: #f0f6ed; }
.renewal-choice strong { display: block; margin-bottom: 2px; }
.renewal-choice p { margin: 8px 0 0 28px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
#renewal-method { margin: 12px 0 0 28px; }
#renewal-method label { display: block; font-size: .86rem; font-weight: 620; }
#renewal-method select { width: 100%; padding: 10px; margin: 5px 0 0; border: 1px solid #b7c4b8; border-radius: 8px; min-height: 44px; background: white; color: var(--ink); font: inherit; }
#renewal-method p { margin-left: 0; }
.result-card .renewal-result { margin-top: 12px; }
.signup .safe-note { margin: 14px 0; font-size: .82rem; }
.form-message:not(:empty) { color: #812d25; background: #fbeae4; padding: 12px; border-radius: 6px; margin: 10px 0; }
.form-message[data-success="true"] { color: #214f3c; background: #edf4e9; }
.status-link { display: block; margin-bottom: 13px; }
.foot { border-top: 1px solid var(--line); padding: 21px 0; color: var(--muted); margin-top: 64px; font-size: .8rem; }
.result-main { min-height: 64vh; display: grid; place-items: center; padding-block: 54px; }
.result-card { width: min(100%, 535px); background: white; border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 5vw, 44px); }
.status-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 24px; background: #e8efdc; font-size: 1.8rem; font-weight: 650; }
.result-card[data-status="failed"] .status-mark { background: #f7e7dd; color: #894a2c; }
.result-card h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-block: 12px; letter-spacing: -.045em; line-height: 1.09; }
.result-card p:not(.eyebrow) { color: var(--muted); line-height: 1.55; }
.result-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.receipt { padding: 12px 0; border-block: 1px solid var(--line); margin: 20px 0 0; }
.receipt div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: .93rem; }
.receipt dt { color: var(--muted); } .receipt dd { font-weight: 650; margin: 0; text-align: right; }
@media(max-width: 960px) {
  .plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .plan-intro { min-height: 0; }
  .hero { grid-template-columns: 1.1fr 1fr; }
}
@media(max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .nav { min-height: 61px; }
  .brand img { width: 94px; }
  .hero { grid-template-columns: 1fr; margin-block: 16px 36px; border-radius: 16px; }
  .hero-copy { padding: 28px 24px; }
  .hero h1 { font-size: clamp(2.9rem, 11vw, 4rem); }
  .specimen { padding: 23px 30px; }
  .agenda { max-width: 320px; transform: rotate(-2deg); padding: 12px 16px; }
  .appointment { min-height: 40px; }
  .agenda-head { margin-bottom: 5px; }
  .section-top { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 15px; }
  .checkout { grid-template-columns: 1fr; margin-top: 24px; padding-top: 22px; }
  .foot { margin-top: 38px; }
}
@media(max-width: 480px) {
  .plan-grid, .fields { grid-template-columns: 1fr; }
  .plan { padding: 18px; }
  .plan .price { margin-block: 12px; }
  .specimen { display: none; }
  .signup .primary { width: 100%; }
}
