:root {
  color-scheme: light;
  --page: #f7f7f5;
  --surface: #ffffff;
  --surface-soft: #f0efeb;
  --ink: #0a1225;
  --ink-soft: #334155;
  --muted: #64748b;
  --subtle: #94a3b8;
  --line: #e8e8e4;
  --line-strong: #d8d8d2;
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --accent: #c8553d;
  --accent-soft: #fbeae5;
  --green: #15803d;
  --font: 'Inter Variable', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--font);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; transform: translateY(-160%); padding: 9px 13px; border-radius: 7px; background: var(--primary); color: white; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

.site-header { width: min(1180px, calc(100% - 40px)); height: 76px; margin: 0 auto; display: flex; align-items: center; gap: 42px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 30px; height: 30px; position: relative; display: inline-grid; place-items: center; border-radius: 8px; background: var(--primary); color: white; box-shadow: 0 1px 2px rgba(15, 23, 42, .16); }
.brand-grid { width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 3px; background: linear-gradient(currentColor, currentColor) 0 4px / 100% 1px no-repeat, linear-gradient(90deg, transparent 47%, currentColor 47%, currentColor 53%, transparent 53%) 0 0 / 100% 100% no-repeat; opacity: .96; }
.brand-dot { position: absolute; width: 9px; height: 9px; top: -2px; right: -2px; border-radius: 50%; border: 2px solid var(--page); background: var(--accent); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.03; }
.brand-copy strong { font-size: 15px; letter-spacing: -.25px; }
.brand-copy span { color: var(--subtle); font-size: 10.5px; font-weight: 500; letter-spacing: .3px; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.site-nav a { color: var(--ink-soft); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: color .16s ease; }
.site-nav a:hover { color: var(--accent); }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; font-size: 13.5px; font-weight: 700; text-decoration: none; transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .text-link:focus-visible, .site-nav a:focus-visible, .contact-mail:focus-visible { outline: 3px solid rgba(200, 85, 61, .23); outline-offset: 3px; }
.button-small { min-height: 36px; padding: 0 14px; font-size: 12.5px; }
.button-quiet { border-color: var(--line-strong); background: var(--surface); }
.button-quiet:hover { border-color: var(--primary); }
.button-primary { color: white; background: var(--primary); box-shadow: 0 8px 24px rgba(15, 23, 42, .14); }
.button-primary:hover { background: var(--primary-hover); }

.hero { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 88px 0 76px; display: grid; grid-template-columns: minmax(0, .86fr) minmax(580px, 1.14fr); align-items: center; gap: 54px; }
.eyebrow, .section-label { margin: 0 0 18px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 640px; margin-bottom: 24px; font-size: clamp(42px, 5.25vw, 72px); line-height: .99; letter-spacing: -.057em; font-weight: 760; }
.hero-lead { max-width: 580px; margin-bottom: 30px; color: var(--ink-soft); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 22px; }
.text-link { color: var(--ink-soft); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.text-link span { color: var(--accent); margin-left: 5px; }
.hero-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }

.product-frame { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); box-shadow: 0 26px 80px rgba(15, 23, 42, .12), 0 3px 10px rgba(15, 23, 42, .05); transform: rotate(.45deg); }
.product-frame-bar { height: 43px; padding: 0 14px; display: flex; align-items: center; border-bottom: 1px solid var(--line); background: #fbfbfa; }
.mini-brand { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.mini-mark { width: 18px; height: 18px; border-radius: 5px; background: var(--primary); position: relative; }
.mini-mark::after { content: ''; position: absolute; top: -2px; right: -2px; width: 6px; height: 6px; border: 1.5px solid #fbfbfa; border-radius: 50%; background: var(--accent); }
.window-dots { display: flex; gap: 5px; margin-left: auto; }
.window-dots span { width: 6px; height: 6px; border-radius: 50%; background: #d8d8d2; }
.planner-toolbar { min-height: 68px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.planner-toolbar > div:first-child { display: flex; flex-direction: column; }
.planner-kicker { color: var(--subtle); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.planner-toolbar strong { font-size: 13px; }
.location-pills { display: flex; gap: 4px; padding: 3px; border-radius: 7px; background: var(--surface-soft); }
.location-pill { padding: 4px 8px; border-radius: 5px; color: var(--muted); font-size: 8.5px; font-weight: 650; }
.location-pill.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(15, 23, 42, .09); }
.planner-button { padding: 6px 9px; border-radius: 6px; background: var(--primary); color: white; font-size: 8.5px; font-weight: 700; }
.schedule { height: 330px; display: grid; grid-template-columns: 40px repeat(5, minmax(88px, 1fr)); }
.time-column { display: grid; grid-template-rows: 43px repeat(5, 1fr); border-right: 1px solid var(--line); color: var(--subtle); font-size: 8px; text-align: right; }
.time-column span { padding: 0 7px; border-bottom: 1px solid #f0efeb; transform: translateY(-5px); }
.time-column span:first-child { transform: none; }
.day-column { min-width: 0; border-right: 1px solid var(--line); }
.day-column:last-child { border-right: none; }
.day-column.today { background: #fbfdff; box-shadow: inset 0 2px 0 #2563eb; }
.day-head { height: 43px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); line-height: 1.1; }
.day-head span { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.day-head strong { font-size: 11px; }
.day-body { height: calc(100% - 43px); position: relative; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(20% - 1px), #f0efeb calc(20% - 1px), #f0efeb 20%); }
.shift { position: absolute; top: var(--top); left: 6px; right: 6px; height: var(--height); display: flex; flex-direction: column; gap: 3px; padding: 7px; border: 1px solid; border-radius: 6px; overflow: hidden; line-height: 1.2; }
.shift strong { font-size: 8.5px; white-space: nowrap; }
.shift span { font-size: 7px; opacity: .72; white-space: nowrap; }
.shift-blue { color: #1e40af; border-color: #bfdbfe; background: #eff6ff; }
.shift-green { color: #166534; border-color: #bbf7d0; background: #f0fdf4; }
.shift-amber { color: #92400e; border-color: #fde68a; background: #fffbeb; }
.shift-violet { color: #5b21b6; border-color: #ddd6fe; background: #f5f3ff; }
.planner-status { min-height: 39px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 8.5px; }
.planner-status span:first-child { color: var(--green); font-weight: 700; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #16a34a; }

.trust-strip { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.trust-strip span { padding: 17px 12px; border-right: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 700; text-align: center; }
.trust-strip span:last-child { border-right: 0; }

.section { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 118px 0; }
.section-intro { max-width: 730px; margin-bottom: 50px; }
.section-intro.compact { margin-bottom: 42px; }
.section-label { margin-bottom: 13px; }
.section h2, .contact-section h2 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.section-intro > p:last-child { color: var(--muted); font-size: 17px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature-card { min-height: 390px; position: relative; overflow: hidden; padding: 32px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); }
.feature-card-wide { grid-column: 1 / -1; min-height: 360px; padding-right: 48%; }
.feature-number { display: block; margin-bottom: 66px; color: var(--accent); font: 700 11px/1 var(--font); letter-spacing: .12em; }
.feature-card h3 { max-width: 540px; margin-bottom: 13px; font-size: 23px; line-height: 1.25; letter-spacing: -.025em; }
.feature-card p { max-width: 560px; color: var(--muted); font-size: 14px; }
.rule-list { position: absolute; top: 38px; right: 32px; width: min(39%, 390px); display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fbfbfa; }
.rule-list span { display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 7px; background: var(--surface); color: var(--ink-soft); font-size: 11px; font-weight: 650; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.rule-check { width: 20px; height: 20px; display: inline-grid; place-items: center; border-radius: 50%; background: #dcfce7; color: #15803d; font-style: normal; }
.location-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.location-stack span { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 8px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-soft); font-size: 11px; }
.location-stack b { color: var(--muted); font-size: 10px; font-weight: 600; }
.location-swatch { width: 8px; height: 8px; border-radius: 3px; }
.swatch-dark { background: var(--primary); }
.swatch-terra { background: var(--accent); }
.feature-portal { background: #fbfbfa; }
.phone-card { width: 84%; margin: 25px auto -55px; padding: 15px; border: 1px solid var(--line-strong); border-radius: 18px 18px 0 0; background: var(--surface); box-shadow: 0 14px 40px rgba(15, 23, 42, .08); }
.phone-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 11px; }
.phone-head span { font-weight: 750; }
.phone-head b { color: var(--muted); font-size: 9px; }
.phone-shift { display: flex; flex-direction: column; padding: 10px; border-top: 1px solid var(--line); }
.phone-shift strong { font-size: 10px; }
.phone-shift span { color: var(--muted); font-size: 9px; }

.workflow { border-top: 1px solid var(--line-strong); }
.workflow-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.workflow-steps li { min-height: 230px; padding: 22px 20px 16px 0; border-right: 1px solid var(--line); }
.workflow-steps li + li { padding-left: 20px; }
.workflow-steps li:last-child { border-right: 0; }
.workflow-steps > li > span { width: 28px; height: 28px; margin-bottom: 42px; display: inline-grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent); font-size: 11px; font-weight: 800; }
.workflow-steps strong { font-size: 15px; }
.workflow-steps p { margin-top: 8px; color: var(--muted); font-size: 12.5px; }

.test-section { padding-top: 40px; }
.test-card { display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; border-radius: 14px; background: var(--primary); color: white; box-shadow: 0 22px 64px rgba(15, 23, 42, .15); }
.test-card > div { padding: 54px; }
.test-card > div:first-child { align-self: center; }
.section-label.light { color: #f3b4a6; }
.test-card h2 { max-width: 600px; margin-bottom: 20px; font-size: clamp(34px, 4vw, 50px); }
.test-card > div:first-child > p:last-child { max-width: 620px; color: #cbd5e1; }
.test-offer { background: rgba(255, 255, 255, .055); border-left: 1px solid rgba(255, 255, 255, .12); }
.price { display: block; margin-bottom: 0; font-size: 54px; line-height: 1; font-weight: 760; letter-spacing: -.05em; }
.test-offer > p { color: #cbd5e1; font-size: 12px; }
.test-offer ul { margin: 28px 0; padding: 0; list-style: none; }
.test-offer li { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #e2e8f0; font-size: 12.5px; }
.test-offer li::before { content: '✓'; margin-right: 9px; color: #86efac; }
.button-light { width: 100%; background: white; color: var(--primary); }

.contact-section { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0 130px; text-align: center; }
.contact-section > p:not(.section-label) { color: var(--muted); }
.contact-mail { display: inline-block; margin-top: 20px; padding-bottom: 3px; border-bottom: 1px solid var(--accent); color: var(--ink); font-size: clamp(20px, 3vw, 30px); font-weight: 740; letter-spacing: -.025em; text-decoration: none; }
.contact-mail span { color: var(--accent); }
.site-footer { width: min(1180px, calc(100% - 40px)); min-height: 140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 30px; border-top: 1px solid var(--line-strong); color: var(--muted); font-size: 11px; }
.site-footer > p { margin: 0; text-align: center; }
.site-footer > span { text-align: right; }
.footer-brand .brand-dot { border-color: var(--page); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-copy { max-width: 740px; }
  .product-frame { transform: none; }
  .feature-card-wide { padding-right: 42%; }
  .rule-list { width: 35%; }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps li:nth-child(2) { border-right: 0; }
  .workflow-steps li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .test-card > div { padding: 42px; }
}

@media (max-width: 720px) {
  .site-header { width: min(100% - 28px, 1180px); height: 66px; gap: 16px; }
  .site-nav { display: none; }
  .site-header .button { margin-left: auto; }
  .hero, .trust-strip, .section, .site-footer { width: min(100% - 28px, 1180px); }
  .hero { padding: 56px 0 52px; gap: 42px; }
  h1 { font-size: clamp(40px, 13vw, 58px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .product-frame { border-radius: 10px; }
  .planner-toolbar { grid-template-columns: 1fr auto; }
  .location-pills { display: none; }
  .schedule { height: 270px; grid-template-columns: 34px repeat(5, minmax(70px, 1fr)); overflow-x: auto; }
  .shift { left: 4px; right: 4px; padding: 5px; }
  .shift span { display: none; }
  .planner-status { font-size: 7.5px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip span { border-bottom: 1px solid var(--line); }
  .trust-strip span:nth-child(2n) { border-right: 0; }
  .trust-strip span:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .section { padding: 84px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card-wide { grid-column: auto; min-height: auto; padding: 26px; }
  .feature-card-wide { padding-bottom: 28px; }
  .feature-number { margin-bottom: 44px; }
  .rule-list { position: static; width: 100%; margin-top: 28px; }
  .phone-card { margin-bottom: -28px; }
  .workflow-steps { grid-template-columns: 1fr; }
  .workflow-steps li, .workflow-steps li + li { min-height: 170px; padding: 20px 0; border-right: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 42px 1fr; gap: 8px; }
  .workflow-steps > li > span { margin: 0; }
  .test-card { grid-template-columns: 1fr; }
  .test-card > div { padding: 32px 26px; }
  .test-offer { border-top: 1px solid rgba(255, 255, 255, .12); border-left: 0; }
  .site-footer { padding: 34px 0; grid-template-columns: 1fr; text-align: left; }
  .site-footer > p { text-align: left; }
  .site-footer > span { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

