:root {
  --bg: #f4f2ed;
  --panel: #fbfaf7;
  --ink: #111315;
  --muted: #686a6b;
  --line: #d9d6cf;
  --accent: #d7e6ef;
  --accent-strong: #244d65;
  --radius: 24px;
  --sidebar: 272px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

::selection { background: var(--accent); color: var(--ink); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.site-shell { min-height: 100vh; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  background: rgba(244, 242, 237, .96);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 17px; }
.brand-copy span { font-size: 14px; color: var(--muted); margin-top: 4px; }
.side-nav { margin-top: 72px; display: grid; }
.side-nav a {
  text-decoration: none;
  padding: 12px 0;
  color: var(--muted);
  font-size: 15px;
  transition: color .2s ease, transform .2s ease;
}
.side-nav a:hover, .side-nav a.active { color: var(--ink); transform: translateX(4px); }
.sidebar-footer { margin-top: auto; border-top: 1px solid var(--line); padding-top: 20px; }
.sidebar-footer p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }

main { margin-left: var(--sidebar); }
.section {
  min-height: 72vh;
  padding: 110px clamp(44px, 7vw, 112px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  margin-bottom: 28px;
  max-width: 950px;
  font-size: clamp(58px, 8.2vw, 126px);
  line-height: .88;
  letter-spacing: -.065em;
  font-weight: 720;
}
.hero h1 span { color: var(--accent-strong); }
.hero-copy {
  max-width: 720px;
  font-size: clamp(20px, 2.15vw, 30px);
  line-height: 1.35;
  color: #343638;
}
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--ink);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.button-dark { color: white; background: var(--ink); }
.button-outline { background: transparent; color: var(--ink); }
.button-small { min-height: 42px; padding: 0 16px; font-size: 13px; }
.text-link { font-weight: 750; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.hero-note { margin-top: 72px; color: var(--muted); font-size: 13px; }

.section-heading { max-width: 800px; margin-bottom: 58px; }
.section-heading h2, .contact-section h2 {
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
  margin-bottom: 24px;
}
.section-heading > p:last-child { color: var(--muted); font-size: 18px; max-width: 700px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  display: flex;
  flex-direction: column;
}
.service-number { color: var(--muted); font-size: 12px; }
.service-card h3 { margin: auto 0 10px; font-size: 26px; letter-spacing: -.03em; }
.service-card p { margin-bottom: 0; color: var(--muted); max-width: 520px; }

.work-section { background: #111315; color: #f4f2ed; }
.work-section .eyebrow { color: #a8c8db; }
.case-study { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; align-items: center; }
.case-visual {
  min-height: 520px;
  border-radius: 30px;
  background: linear-gradient(145deg, #ead8dc, #e7d9ce 60%, #cdb7b8);
  padding: 42px;
  display: grid;
  place-items: center;
}
.browser-card { width: min(100%, 560px); background: #fffaf8; border-radius: 18px; box-shadow: 0 35px 80px rgba(0,0,0,.25); overflow: hidden; }
.browser-top { height: 36px; border-bottom: 1px solid #eadfe0; padding: 12px; display: flex; gap: 6px; }
.browser-top span { width: 7px; height: 7px; border-radius: 50%; background: #c8b7ba; }
.browser-body { padding: 56px 44px 70px; color: #8b5d65; }
.script-word { font-family: Georgia, serif; font-style: italic; font-size: 58px; letter-spacing: -.06em; margin-bottom: 30px; }
.mock-line { height: 9px; width: 62%; background: #dac3c7; border-radius: 999px; margin: 10px 0; opacity: .9; }
.mock-line.long { width: 86%; }
.mock-pills { display: flex; gap: 8px; margin-top: 38px; }
.mock-pills span { height: 38px; flex: 1; border: 1px solid #d6bfc3; border-radius: 999px; }
.case-copy h3 { font-size: clamp(34px,4vw,58px); letter-spacing: -.04em; line-height: 1.02; margin-bottom: 22px; }
.case-copy > p:not(.eyebrow) { color: #c9c9c5; font-size: 18px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.tag-row span { border: 1px solid #45484a; border-radius: 999px; padding: 8px 12px; color: #d9dad7; font-size: 12px; }

.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; align-items: stretch; }
.plan-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--panel); display: flex; flex-direction: column; }
.plan-card.featured { border-color: var(--accent-strong); box-shadow: inset 0 0 0 1px var(--accent-strong); }
.plan-topline { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 30px; font-size: 15px; font-weight: 800; }
.badge { font-size: 10px; letter-spacing: .05em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-strong); white-space: nowrap; }
.price { font-size: clamp(42px,5vw,68px); font-weight: 780; letter-spacing: -.055em; margin: 34px 0 8px; }
.price span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan-description { color: var(--muted); min-height: 72px; }
.plan-card ul { padding: 0; margin: 22px 0 28px; list-style: none; }
.plan-card li { padding: 10px 0 10px 22px; border-top: 1px solid var(--line); position: relative; font-size: 14px; }
.plan-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-strong); font-weight: 800; }
.plan-card .button { margin-top: auto; text-align: center; }
.care-plan { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--accent); padding: 32px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; }
.care-plan h3 { font-size: 30px; letter-spacing: -.03em; margin-bottom: 0; }
.care-plan > div:last-child > p:first-child { color: #3d4b54; }
.inline-list { margin: 16px 0; padding-left: 20px; }
.fine-print { font-size: 12px; color: var(--muted); }
.concept-guarantee { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 32px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; }
.concept-guarantee h3 { font-size: 34px; line-height: 1.05; letter-spacing: -.035em; margin-bottom: 0; }
.concept-guarantee > div:last-child > p:first-child { color: #3d4144; }
.guarantee-steps { margin: 20px 0; display: grid; gap: 10px; }
.guarantee-steps p { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: #3d4144; }
.revision-note { margin: 18px 2px 0; max-width: 920px; color: var(--muted); font-size: 13px; }

.process-list { border-top: 1px solid var(--line); }
.process-list article { display: grid; grid-template-columns: 80px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process-list article > span { color: var(--accent-strong); font-size: 12px; font-weight: 800; }
.process-list h3 { font-size: 28px; letter-spacing: -.03em; margin-bottom: 8px; }
.process-list p { color: var(--muted); max-width: 700px; margin-bottom: 0; }

.start-section { background: #eeece7; }
.project-form { max-width: 980px; }
fieldset { margin: 0 0 56px; padding: 0; border: 0; }
legend { width: 100%; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 26px; font-weight: 800; font-size: 15px; }
.form-grid { display: grid; gap: 18px; }
.two-col { grid-template-columns: repeat(2, minmax(0,1fr)); }
label { display: grid; gap: 8px; font-weight: 700; font-size: 13px; }
label > span { font-weight: 500; color: var(--muted); }
input, select, textarea {
  width: 100%;
  border: 1px solid #c9c7c1;
  border-radius: 14px;
  background: #faf9f6;
  color: var(--ink);
  padding: 14px 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent-strong); box-shadow: 0 0 0 3px rgba(36,77,101,.09); }
fieldset > label, fieldset > .form-grid + label, fieldset > label + .form-grid { margin-top: 18px; }
.field-help { color: var(--muted); font-size: 13px; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }
.check { display: flex; align-items: center; gap: 10px; background: #faf9f6; border: 1px solid #c9c7c1; border-radius: 14px; padding: 13px 14px; font-weight: 650; }
.check input { width: 17px; height: 17px; accent-color: var(--accent-strong); }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.form-submit-row { border-top: 1px solid var(--line); padding-top: 26px; display: flex; gap: 30px; align-items: center; justify-content: space-between; }
.submit-note { max-width: 650px; margin-bottom: 6px; font-weight: 650; }
.form-submit-row .button { flex: 0 0 auto; }

.contact-section { min-height: 65vh; display: flex; flex-direction: column; justify-content: center; }
.contact-section > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.contact-email { font-size: clamp(28px, 4vw, 56px); font-weight: 760; letter-spacing: -.04em; text-underline-offset: 8px; }
footer { margin-left: 0; padding: 28px clamp(44px, 7vw, 112px); display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; }
footer a { color: inherit; }

.mobile-header, .mobile-menu { display: none; }

@media (max-width: 1080px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plan-description { min-height: auto; }
  .case-study { grid-template-columns: 1fr; }
  .case-visual { min-height: 440px; }
}

@media (max-width: 820px) {
  :root { --sidebar: 0px; }
  .sidebar { display: none; }
  main { margin-left: 0; }
  .mobile-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: 78px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(244,242,237,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    z-index: 50;
  }
  .brand-mobile .brand-mark { width: 38px; height: 38px; }
  .brand-mobile .brand-copy strong { font-size: 14px; }
  .brand-mobile .brand-copy span { font-size: 12px; }
  .menu-button { width: 46px; height: 46px; border: 0; background: transparent; padding: 13px 9px; display: grid; align-content: center; gap: 7px; cursor: pointer; }
  .menu-button span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
  .mobile-menu {
    position: fixed;
    inset: 78px 0 0 0;
    z-index: 45;
    background: var(--bg);
    padding: 30px 22px;
    overflow: auto;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu:not([hidden]) { display: block; }
  .mobile-menu nav { display: grid; }
  .mobile-menu a { padding: 17px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 26px; font-weight: 730; letter-spacing: -.03em; }
  .section { min-height: auto; padding: 92px 22px; scroll-margin-top: 76px; }
  .hero { min-height: 100svh; padding-top: 126px; }
  .hero h1 { font-size: clamp(55px, 16vw, 88px); }
  .hero-copy { font-size: 19px; }
  .hero-note { margin-top: 55px; }
  .section-heading { margin-bottom: 38px; }
  .service-grid, .two-col, .check-grid, .care-plan, .concept-guarantee { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; }
  .case-visual { min-height: 360px; padding: 22px; }
  .browser-body { padding: 44px 30px 54px; }
  .script-word { font-size: 48px; }
  .process-list article { grid-template-columns: 42px 1fr; }
  .form-submit-row { align-items: stretch; flex-direction: column; }
  .form-submit-row .button { width: 100%; }
  footer { padding: 24px 22px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
