/* ==========================================================================
   Sapporo Web — 2026 redesign
   Tokens follow design/BRIEF.md. No inline styles anywhere (strict CSP).
   ========================================================================== */

:root {
  --bg: #F2F1EB;
  --surface: #FFFFFF;
  --ink: #14231B;
  --muted: #5F6F65;
  --line: #DCDDD3;
  --green-900: #163D2A;
  --green-700: #2A6B45;
  --green-500: #5E8D6E;   /* AA-safe step between 700 and 400 for large light-bg text */
  --green-400: #7FA88C;
  --green-100: #E3EDE3;
  --accent: #D7F06A;

  --r-card: 28px;
  --r-md: 18px;
  --r-pill: 999px;
  --shadow-s: 0 1px 2px rgba(20, 35, 27, .04), 0 8px 24px -12px rgba(20, 35, 27, .12);
  --shadow-m: 0 2px 4px rgba(20, 35, 27, .04), 0 24px 60px -24px rgba(20, 35, 27, .22);

  --font: "Space Grotesk", "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1240px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-break: strict;
  word-break: auto-phrase;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 700; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Focus: dark inner ring for contrast on light, accent outer ring for brand */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--green-900);
  border-radius: 6px;
}
.btn:focus-visible, .pill:focus-visible, .nav-cta:focus-visible, .hc-toggle button:focus-visible, .tabs [role="tab"]:focus-visible { border-radius: var(--r-pill); }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--green-900); color: #fff; padding: 12px 20px;
  border-radius: var(--r-pill); text-decoration: none; font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 132px); position: relative; }

.accent-text { color: var(--green-700); }
.soft { color: var(--green-500); }
.on-dark .soft { color: var(--green-400); }
.mark { background: linear-gradient(transparent 62%, var(--accent) 62%); padding-inline: .06em; }

#main { overflow-x: clip; }

/* ---------- Eyebrow ---------- */
/* The hairline runs from the viewport's left edge, through the pill, to the right edge
   (clipped by main's overflow-x or by the rounded dark cards), while the pill stays aligned
   with the centred content. */
.eyebrow {
  position: relative; display: flex; align-items: center; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px);
  color: var(--muted);
}
.eyebrow::before { content: ""; position: absolute; top: 50%; right: calc(100% + 16px); width: 100vw; height: 1px; background: var(--line); }
.eyebrow::after { content: ""; height: 1px; background: var(--line); flex: 1; margin-right: -100vw; }
.eyebrow .pill-label {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4;
  background: rgba(255, 255, 255, .5); white-space: nowrap;
}
.eyebrow .pill-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-700); }
.on-dark .eyebrow { color: rgba(255, 255, 255, .7); }
.on-dark .eyebrow::before, .on-dark .eyebrow::after { background: rgba(255, 255, 255, .18); }
.on-dark .eyebrow .pill-label { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); }
.on-dark .eyebrow .pill-label::before { background: var(--accent); }

.h2 { font-size: clamp(32px, 5.6vw, 76px); line-height: 1.08; letter-spacing: -.035em; }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 40em; margin-top: 20px; }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .lead { margin-top: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; letter-spacing: -.01em;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
  min-height: 52px;
}
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--green-900); color: #fff; }
.btn-primary:hover { background: var(--green-700); box-shadow: 0 12px 28px -12px rgba(22, 61, 42, .6); }
.btn-ghost { background: rgba(255, 255, 255, .6); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: #fff; border-color: var(--green-400); }
.btn-accent { background: var(--accent); color: var(--green-900); }
.btn-accent:hover { box-shadow: 0 12px 28px -12px rgba(215, 240, 106, .9); transform: translateY(-1px); }
.btn-block { width: 100%; }

/* ---------- Floating pill nav ---------- */
.nav {
  position: fixed; z-index: 100; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 8px 8px 8px 22px; border-radius: var(--r-pill);
  background: rgba(242, 241, 235, .78);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(220, 221, 211, .9);
  transition: box-shadow .3s var(--ease), background-color .3s;
}
.nav.scrolled { box-shadow: var(--shadow-s); background: rgba(242, 241, 235, .92); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; white-space: nowrap; }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-700); box-shadow: 0 0 0 4px var(--green-100); flex-shrink: 0; }
.brand-text { font-size: 21px; letter-spacing: -.035em; }
.brand-text .light { font-weight: 300; color: var(--ink); }
.brand-text .bold { font-weight: 600; color: var(--green-700); }
.on-dark .brand-text .light { color: #fff; }
.on-dark .brand-text .bold { color: var(--accent); }
.on-dark .brand-dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(215, 240, 106, .18); }
.nav-links { display: flex; gap: 4px; justify-content: center; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500;
  text-decoration: none; color: var(--ink); transition: background-color .2s, color .2s;
}
.nav-links a:hover { background: var(--green-100); color: var(--green-900); }
.nav-end { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; background: var(--green-900); color: #fff;
  padding: 12px 22px; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; text-decoration: none;
  transition: background-color .2s;
}
.nav-cta:hover { background: var(--green-700); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }
.nav-menu {
  position: fixed; z-index: 99; top: 76px; left: 14px; right: 14px; padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-m);
  display: none; flex-direction: column; gap: 2px;
}
.nav-menu.open { display: flex; }
.nav-menu a { padding: 14px 16px; border-radius: 14px; text-decoration: none; font-weight: 500; }
.nav-menu a:hover { background: var(--green-100); }
.nav-menu .nav-cta { margin-top: 6px; justify-content: center; padding: 16px; }

/* ---------- Hero ---------- */
.hero { padding-bottom: clamp(40px, 6vw, 80px); position: relative; }
.hero-top { position: relative; isolation: isolate; padding-top: calc(var(--nav-h) + clamp(32px, 5vw, 72px)); min-height: min(100svh, 1000px); display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; filter: saturate(1.12) contrast(1.04); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(242, 241, 235, .8) 0%, rgba(242, 241, 235, .62) 40%, rgba(242, 241, 235, .3) 60%, rgba(242, 241, 235, 0) 74%, rgba(242, 241, 235, 0) 86%, var(--bg) 100%);
}
.hero-head { text-align: center; max-width: 1100px; margin-inline: auto; padding-bottom: clamp(200px, 17vw, 280px); }
@media (max-width: 600px) {
  .hero-top { min-height: 0; padding-top: calc(var(--nav-h) + 84px); }
  .hero-top > .container { order: 1; }
  .hero-bg { position: relative; order: 2; height: 230px; margin-top: 8px; }
  .hero-bg::after { background: linear-gradient(to bottom, var(--bg) 0%, rgba(242, 241, 235, 0) 45%, rgba(242, 241, 235, 0) 80%, var(--bg) 100%); }
  .hero-head { padding-bottom: 0; }
}
.hero-title { position: relative; display: inline-block; --h1fs: clamp(38px, 7vw, 100px); }
.hero h1 { font-size: var(--h1fs); line-height: 1.04; letter-spacing: -.04em; }
.hero h1 span { display: block; }
@media (max-width: 600px) { .hero-title { --h1fs: min(calc((100vw - 40px) / 10.6), 56px); } }
.hero h1 .l1 { color: var(--green-700); }
.hero h1 .l2 { color: var(--green-900); }

/* 0円 sticker */
.hero-sticker {
  position: absolute; top: calc(var(--h1fs) * -.12); left: calc(50% + var(--h1fs) * 2.1); width: calc(var(--h1fs) * 1.3); min-width: 76px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; justify-items: center; gap: 0; line-height: 1;
  background: var(--accent); color: var(--green-900); transform: rotate(-12deg);
  box-shadow: 0 10px 28px rgba(22, 61, 42, .22), inset 0 0 0 clamp(3px, .4vw, 5px) rgba(255, 255, 255, .55);
  font-family: "Space Grotesk", "Zen Kaku Gothic New", sans-serif;
}
.hero-sticker::before {
  content: ""; position: absolute; inset: clamp(6px, .8vw, 10px); border-radius: 50%; border: 1.5px dashed rgba(22, 61, 42, .35);
}
.hs-label { font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 700; font-size: max(11px, calc(var(--h1fs) * .15)); letter-spacing: .08em; }
.hs-num { font-weight: 700; font-size: max(30px, calc(var(--h1fs) * .62)); letter-spacing: -.05em; }
.hs-num small { font-family: "Zen Kaku Gothic New", sans-serif; font-size: .4em; letter-spacing: 0; margin-left: .04em; }
.hs-note { position: absolute; top: 24%; right: 20%; font-size: clamp(10px, 1vw, 14px); font-weight: 700; }
.motion .hero-sticker { animation: sticker-in .7s cubic-bezier(.2, 1.4, .4, 1) .35s both; }
@keyframes sticker-in { from { opacity: 0; transform: rotate(-30deg) scale(.4); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }
@media (max-width: 600px) {
  .hero-sticker { top: -46px; left: calc(50% + var(--h1fs) * 2.15); }
  .hero-note { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; }
}
.hero-lead { text-shadow: 0 0 14px rgba(242, 241, 235, .95), 0 0 4px rgba(242, 241, 235, .9); margin: clamp(22px, 3vw, 36px) auto 0; max-width: 40em; font-size: clamp(15px, 1.5vw, 18px); color: var(--ink); opacity: .86; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.fine { font-size: 13px; line-height: 1.7; color: var(--muted); }
.hero-note { display: inline-block; margin: 20px auto 0; max-width: 46em; padding: 6px 16px; border-radius: 14px; color: var(--ink); background: rgba(242, 241, 235, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

.hero-card {
  position: relative; margin-top: clamp(36px, 5vw, 64px); overflow: hidden; isolation: isolate;
  display: grid; color: #fff;
  --hc-pad: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  background:
    radial-gradient(900px 500px at 78% 8%, rgba(215, 240, 106, .16), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(127, 168, 140, .22), transparent 60%),
    linear-gradient(165deg, #21593A 0%, #163D2A 55%, #0E2A1C 100%);
}
.hc-hills { position: absolute; inset: auto 0 0 0; width: 100%; height: 58%; z-index: -1; }
.hc-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.hc-panel {
  grid-area: 1 / 1; position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(56px, 7vw, 112px) var(--hc-pad) clamp(140px, 12vw, 170px);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.hc-panel.is-active { opacity: 1; visibility: visible; transform: none; }
.hc-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: .08em; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); }
.hc-big { font-size: clamp(64px, 10vw, 160px); line-height: .95; letter-spacing: -.05em; font-weight: 700; margin-top: 20px; }
.hc-panel[data-state="run"] .hc-big { font-size: clamp(56px, 7.6vw, 128px); }
.hc-big .yen { margin-right: .04em; }
.hc-big small { display: inline-block; margin-left: .3em; font-size: .24em; font-weight: 500; letter-spacing: -.01em; color: rgba(255, 255, 255, .8); white-space: nowrap; }
.hc-big .yen { color: var(--accent); }
.hc-sub { margin-top: 18px; font-size: clamp(14px, 1.3vw, 17px); color: rgba(255, 255, 255, .85); max-width: 28em; }
.hc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hc-chips li { padding: 6px 14px; font-size: 13px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.hc-note { margin-top: 18px; font-size: 12px; color: rgba(255, 255, 255, .78); max-width: 34em; }

.hc-window { background: #fff; color: var(--ink); border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); width: 100%; max-width: 470px; justify-self: end; overflow: hidden; }
.hw-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #F6F6F1; border-bottom: 1px solid var(--line); }
.hw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5D6CB; }
.hw-url { margin-left: 10px; flex: 1; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px 12px; display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; white-space: nowrap; }
.hw-url .ico { width: 12px; height: 12px; color: var(--green-700); }
.hw-body { padding: 22px; display: grid; gap: 12px; }
.hw-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg); font-size: 14px; font-weight: 500; }
.hw-row .ico { color: var(--green-700); }
.hw-row .st { margin-left: auto; font-size: 12px; color: var(--green-700); font-weight: 700; white-space: nowrap; }
.hw-row.todo { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.hw-row.todo .ico { color: var(--muted); }
.hw-bar-track { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; flex: 1; }
.hw-bar-track b { display: block; height: 100%; width: 68%; background: var(--green-700); border-radius: 6px; }
.hw-site { display: grid; gap: 8px; padding: 4px 0 6px; }
.hw-site .hero-sk { height: 74px; border-radius: 12px; background: linear-gradient(120deg, var(--green-100), #D3E4D6); }
.hw-site .ln { height: 9px; border-radius: 6px; background: var(--line); }
.hw-site .ln.w60 { width: 60%; } .hw-site .ln.w80 { width: 80%; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3CB371; box-shadow: 0 0 0 0 rgba(60, 179, 113, .5); }
@media (prefers-reduced-motion: no-preference) { .pulse { animation: pulse 2s infinite; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(60, 179, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 179, 113, 0); } }

.hc-toggle {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; gap: 6px; padding: 6px;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  width: max-content; max-width: calc(100% - 32px);
}
.hc-toggle button {
  border: 0; background: transparent; color: #fff; padding: 10px 24px; border-radius: var(--r-pill); text-align: left; line-height: 1.35;
  transition: background-color .25s, color .25s;
}
.hc-toggle button b { display: block; font-size: 15px; font-weight: 700; }
.hc-toggle button span { display: block; font-size: 12px; opacity: .85; }
.hc-toggle button[aria-selected="true"] { background: #fff; color: var(--green-900); }
.hc-toggle button[aria-selected="true"] span { opacity: 1; color: var(--muted); }
.hc-toggle button:focus-visible { box-shadow: 0 0 0 2px var(--green-900), 0 0 0 5px var(--accent); outline: none; }

/* ---------- Expanding statement ---------- */
.expand { --p: 1; --t: 1; position: relative; padding-block: 0; }
.expand-sticky { position: relative; min-height: min(100svh, 780px); display: grid; place-items: center; padding: 12px; }
.expand-card {
  position: relative; width: 100%; min-height: min(calc(100svh - 24px), 756px); display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden;
  border-radius: var(--r-card); padding: clamp(48px, 9vw, 120px) var(--gutter); isolation: isolate;
  background:
    radial-gradient(800px 500px at 20% 20%, rgba(127, 168, 140, .35), transparent 60%),
    radial-gradient(700px 500px at 85% 90%, rgba(215, 240, 106, .14), transparent 60%),
    linear-gradient(160deg, #1E5236 0%, #163D2A 60%, #0E2A1C 100%);
}
.expand-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}
.expand-card h2 { font-size: clamp(36px, 8vw, 120px); line-height: 1.08; letter-spacing: -.04em; max-width: 14em; margin-inline: auto; }
.expand-card h2 span { display: block; }
.expand-sub { margin: clamp(22px, 3vw, 36px) auto 0; max-width: 34em; font-size: clamp(15px, 1.6vw, 20px); color: rgba(255, 255, 255, .86); }
.expand-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.expand-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); font-size: 14px; font-weight: 500; }
.expand-chips .ico { width: 16px; height: 16px; color: var(--accent); }

html.motion .expand { height: 240vh; height: 240svh; }
html.motion .expand-sticky { position: sticky; top: 0; height: 100svh; min-height: 0; padding: 0; }
html.motion .expand-card {
  position: absolute; width: auto; min-height: 0;
  inset: calc((1 - var(--p)) * 17vh + 12px) calc((1 - var(--p)) * 14vw + 12px);
  border-radius: calc((1 - var(--p)) * 20px + 28px);
}
html.motion .expand-card > * { opacity: var(--t); transform: translateY(calc((1 - var(--t)) * 28px)); }

/* ---------- Manifesto (word reveal) ---------- */
.manifesto { --mp: 1; }
.manifesto-inner { max-width: 1080px; margin-inline: auto; }
.manifesto-text { font-size: clamp(22px, 3.5vw, 46px); line-height: 1.65; letter-spacing: -.02em; font-weight: 500; text-wrap: pretty; }
.manifesto-text em { font-style: normal; }
.manifesto-text .w { color: var(--ink); transition: color .25s linear; }
.manifesto-text em.hl .w { color: var(--green-700); }
html.motion .manifesto-text .w { color: #C9CBBE; }
html.motion .manifesto-text .w.on { color: var(--ink); }
html.motion .manifesto-text em.hl .w.on { color: var(--green-700); }
.manifesto-foot { margin-top: clamp(36px, 5vw, 64px); display: flex; align-items: center; gap: 18px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mf-track { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.mf-track b { display: block; height: 100%; width: 100%; background: var(--green-700); transform-origin: left; transform: scaleX(var(--mp)); }
.mf-pct { min-width: 3.5em; text-align: right; font-variant-numeric: tabular-nums; }
.manifesto-src { margin-top: 18px; }
html.motion .manifesto { height: 260vh; height: 260svh; padding-block: 0; }
html.motion .manifesto .container { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 24px; }

/* ---------- Dashboard mock ---------- */
.dash-section { background: linear-gradient(180deg, transparent, rgba(227, 237, 227, .55) 30%, rgba(227, 237, 227, .55) 80%, transparent); }
.dash { background: var(--surface); border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--shadow-m); overflow: hidden; }
.dash-top { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: #FAFAF6; flex-wrap: wrap; }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 11px; height: 11px; border-radius: 50%; background: #D5D6CB; }
.dash-title { font-size: 14px; font-weight: 700; margin-left: 6px; }
.badge-image { margin-left: auto; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: var(--r-pill); background: var(--accent); color: var(--green-900); letter-spacing: .04em; }
.dash-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 460px; }
.dash-side { padding: 18px 14px; border-right: 1px solid var(--line); background: #FAFAF6; }
.tabs [role="tablist"] { display: flex; flex-direction: column; gap: 4px; }
.tabs [role="tab"] {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; border: 0; background: transparent;
  font-weight: 700; font-size: 14px; color: var(--muted); transition: background-color .2s, color .2s;
}
.tabs [role="tab"]:hover { background: var(--green-100); color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { background: var(--green-900); color: #fff; }
.dash-main { padding: clamp(18px, 3vw, 32px); }
.dash-panel[hidden] { display: none; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: #FCFCF9; }
.kpi .k-lab { font-size: 12px; color: var(--muted); display: block; }
.kpi .k-val { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.03em; line-height: 1.3; display: block; margin-top: 4px; }
.kpi .k-val small { font-size: .55em; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.kpi .k-ok { color: var(--green-700); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.chart-card, .done-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; background: #fff; }
.card-h { font-size: 13px; font-weight: 700; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 8px; letter-spacing: 0; }
.card-h span { font-weight: 400; color: var(--muted); font-size: 12px; }
.chart { width: 100%; height: 150px; }
.chart .gl { stroke: var(--line); stroke-width: 1; }
.chart .bar { fill: var(--green-400); }
.chart .bar.hi { fill: var(--green-700); }
.chart .area { fill: rgba(127, 168, 140, .25); }
.chart .ln { fill: none; stroke: var(--green-700); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .dot { fill: #fff; stroke: var(--green-700); stroke-width: 2.5; }
.done-list { display: grid; gap: 8px; }
.done-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.55; }
.done-list li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; flex-shrink: 0; background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A6B45' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.done-list time { color: var(--muted); font-size: 12px; margin-left: auto; white-space: nowrap; padding-left: 8px; }
.done-tag { font-size: 11px; font-weight: 700; color: var(--green-700); background: var(--green-100); padding: 1px 8px; border-radius: var(--r-pill); margin-left: 6px; white-space: nowrap; }
.dash-note { margin-top: 18px; text-align: center; }

/* ---------- Sticky 3 steps ---------- */
.steps { padding-block: clamp(72px, 11vw, 140px); }
.steps-layout { display: grid; gap: 20px; }
.steps-aside { display: none; }
.step-cards { display: grid; gap: 20px; }
.step-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 3.4vw, 44px);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; box-shadow: var(--shadow-s);
}
.step-no { font-size: 13px; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.step-card h3 { font-size: clamp(30px, 4vw, 52px); margin: 8px 0 14px; }
.step-card h3 .en { display: block; font-size: .4em; letter-spacing: .12em; font-weight: 500; color: var(--green-500); text-transform: uppercase; margin-bottom: 8px; }
.step-card p { color: var(--muted); }
.step-card ul { margin-top: 18px; display: grid; gap: 8px; }
.step-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.step-card li .ico { color: var(--green-700); width: 20px; height: 20px; margin-top: 3px; }
.step-visual { border-radius: var(--r-md); background: linear-gradient(160deg, var(--green-100), #D5E5D8); min-height: 220px; display: grid; place-items: center; padding: 24px; position: relative; overflow: hidden; }
.sv-wire { width: min(300px, 100%); background: #fff; border-radius: 16px; box-shadow: var(--shadow-s); padding: 16px; display: grid; gap: 10px; }
.sv-wire i { display: block; height: 10px; border-radius: 6px; background: var(--line); }
.sv-wire i.b { height: 64px; background: linear-gradient(120deg, var(--green-100), #CFE1D3); border-radius: 10px; }
.sv-wire i.s { width: 55%; } .sv-wire i.m { width: 80%; }
.sv-wire i.a { background: var(--green-900); height: 28px; width: 40%; border-radius: var(--r-pill); }
.sv-shield { width: 170px; height: 170px; position: relative; display: grid; place-items: center; }
.sv-shield::before, .sv-shield::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(42, 107, 69, .35); }
.sv-shield::before { inset: -22px; }
.sv-shield::after { inset: -46px; border-color: rgba(42, 107, 69, .18); }
.sv-shield .ico { width: 110px; height: 110px; stroke-width: 1.3; color: var(--green-900); fill: rgba(215, 240, 106, .6); }
.sv-grow { display: flex; align-items: flex-end; gap: 12px; height: 160px; }
.sv-grow b { width: 34px; border-radius: 10px 10px 4px 4px; background: var(--green-400); display: block; }
.sv-grow b:nth-child(1) { height: 30%; } .sv-grow b:nth-child(2) { height: 46%; } .sv-grow b:nth-child(3) { height: 62%; }
.sv-grow b:nth-child(4) { height: 80%; background: var(--green-700); } .sv-grow b:nth-child(5) { height: 100%; background: var(--green-900); }

@media (min-width: 960px) {
  .step-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
  html.motion .steps { height: 360vh; padding-block: 0; }
  html.motion .steps .container { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  html.motion .steps-layout { grid-template-columns: 320px minmax(0, 1fr); gap: 56px; width: 100%; align-items: center; }
  html.motion .steps-aside { display: block; }
  html.motion .step-cards { display: grid; }
  html.motion .step-card { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(24px) scale(.985); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; min-height: 440px; }
  html.motion .step-card.is-active { opacity: 1; visibility: visible; transform: none; }
}
.steps-aside .h2 { font-size: clamp(32px, 3.6vw, 52px); }
.steps-count { margin-top: 36px; font-size: 13px; letter-spacing: .14em; color: var(--muted); display: flex; align-items: baseline; gap: 10px; }
.steps-count b { font-size: 44px; font-weight: 500; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.steps-bar { margin-top: 14px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.steps-bar b { display: block; height: 100%; background: var(--green-700); transform-origin: left; transform: scaleX(var(--sp, .33)); width: 100%; }
.steps-nav { margin-top: 28px; display: grid; gap: 6px; }
.steps-nav li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; color: #66756B; transition: color .3s; }
.steps-nav li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.steps-nav li.is-active { color: var(--ink); }
.steps-nav li.is-active::before { background: var(--green-700); box-shadow: 0 0 0 4px var(--green-100); }

/* ---------- Security 8 ---------- */
.sec-dark { background: var(--green-900); color: #fff; border-radius: var(--r-card); margin-inline: 12px; position: relative; overflow: hidden; isolation: isolate; }
.sec-dark::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(900px 500px at 90% 0%, rgba(215, 240, 106, .12), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(127, 168, 140, .2), transparent 60%); }
.sec-dark .lead { color: rgba(255, 255, 255, .8); }
.sec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sec-card { padding: 26px 24px 28px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: background-color .3s, transform .3s var(--ease), border-color .3s; }
.sec-card:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); border-color: rgba(215, 240, 106, .45); }
.sec-card .n { font-size: 12px; letter-spacing: .14em; color: rgba(255, 255, 255, .74); }
.sec-card .ico-wrap { width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: var(--green-900); display: grid; place-items: center; margin: 14px 0 18px; }
.sec-card .ico-wrap .ico { width: 24px; height: 24px; }
.sec-card h3 { font-size: 18px; letter-spacing: -.02em; line-height: 1.45; margin-bottom: 10px; }
.sec-card p { font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .82); }
.sec-foot { margin-top: 28px; color: rgba(255, 255, 255, .72); }

/* ---------- Comparison ---------- */
.cmp-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-s); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { padding: 20px 28px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.7; }
.cmp thead th { font-size: 16px; padding-block: 24px; background: #FAFAF6; }
.cmp thead th.us { background: var(--green-900); color: #fff; }
.cmp thead th .en { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; font-weight: 500; margin-bottom: 4px; }
.cmp tbody th { font-weight: 700; width: 20%; white-space: nowrap; }
.cmp tbody td.us { background: rgba(227, 237, 227, .55); font-weight: 500; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp .no, .cmp .yes { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-right: 4px; }
.cmp .yes { color: var(--green-700); }
.cmp .no { color: #8A4B2E; }
.cmp .ico { width: 17px; height: 17px; }
.cmp-note { margin-top: 20px; }

/* ---------- Pricing ---------- */
.price-head { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(36px, 5vw, 60px); }
.zero-badge {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 20px 32px 22px; border-radius: 26px; background: var(--accent); color: var(--green-900);
  box-shadow: 0 24px 50px -24px rgba(100, 130, 20, .6); transform: rotate(-2deg);
}
.zero-badge .zb-l { font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.zero-badge .zb-v { font-size: clamp(48px, 7vw, 84px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.zero-badge .zb-n { color: var(--green-900); font-weight: 500; margin-top: 6px; }
.zero-badge .zb-v small { font-size: .38em; font-weight: 700; letter-spacing: 0; margin-left: 4px; }
.price-terms { max-width: 40em; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px 28px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-s); }
.plan.featured { background: var(--green-900); color: #fff; border-color: var(--green-900); box-shadow: var(--shadow-m); }
.plan .reco { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--green-900); font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: var(--r-pill); letter-spacing: .06em; }
.plan h3 { font-size: 24px; letter-spacing: -.03em; }
.plan .for { font-size: 14px; color: var(--muted); margin-top: 6px; min-height: 3.4em; }
.plan.featured .for { color: rgba(255, 255, 255, .78); }
.plan-price { margin-top: 20px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 4px; }
.plan-price .yen { font-size: 24px; font-weight: 500; }
.plan-price .num { font-size: clamp(44px, 5vw, 60px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.plan-price .per { font-size: 14px; color: var(--muted); margin-left: 4px; }
.plan.featured .per { color: rgba(255, 255, 255, .78); }
.plan-zero { margin-top: 14px; padding: 10px 14px; border-radius: 14px; background: var(--green-100); color: var(--green-900); font-size: 13px; line-height: 1.55; }
.plan-zero b { font-weight: 700; }
.plan.featured .plan-zero { background: rgba(255, 255, 255, .1); color: #fff; }
.plan.featured .plan-zero b { color: var(--accent); }
.plan-list { margin: 22px 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan-list li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.6; }
.plan-list .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--green-700); }
.plan.featured .plan-list .ico { color: var(--accent); }
.plan .btn { margin-top: auto; }
.plan.featured .btn { background: var(--accent); color: var(--green-900); }
.price-notes { margin-top: 28px; display: grid; gap: 6px; }
.price-notes li { padding-left: 1.2em; position: relative; }
.price-notes li::before { content: "※"; position: absolute; left: 0; }

/* ---------- Industries ---------- */
.ind-section { padding-block: clamp(56px, 8vw, 100px); }
.ind-head { text-align: center; margin-bottom: 30px; }
.ind-head h2 { font-size: clamp(24px, 3.4vw, 40px); }
.ind-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ind-strip li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); font-weight: 700; font-size: 15px; box-shadow: var(--shadow-s); }
.ind-strip li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-700); }
.ind-foot { text-align: center; margin-top: 22px; }

/* ---------- Works ---------- */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.work { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-s); transition: transform .35s var(--ease), box-shadow .35s; }
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.work-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-100); border-bottom: 1px solid var(--line); }
.work-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s var(--ease); }
.work:hover .work-img img { transform: scale(1.03); }
.work-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tags li { font-size: 12px; font-weight: 500; padding: 3px 12px; border-radius: var(--r-pill); background: var(--green-100); color: var(--green-900); }
.work h3 { font-size: 26px; }
.work p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.work .go { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-700); }

/* ---------- Process ---------- */
.process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: p; }
.pstep { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 26px 30px; position: relative; box-shadow: var(--shadow-s); }
.pstep .day { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--green-900); background: var(--accent); display: inline-block; padding: 3px 12px; border-radius: var(--r-pill); }
.pstep .pn { position: absolute; top: 20px; right: 24px; font-size: 54px; font-weight: 300; color: var(--line); letter-spacing: -.05em; line-height: 1; }
.pstep h3 { font-size: 21px; margin: 22px 0 10px; letter-spacing: -.02em; }
.pstep p { font-size: 14.5px; color: var(--muted); line-height: 1.8; }
.process-foot { margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; min-width: 0; }
.faq-layout { display: grid; gap: 8px; }
.inline-link { color: var(--green-700); font-weight: 700; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
  .faq-layout .sec-head { position: sticky; top: 110px; margin-bottom: 0; }
}
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; transition: border-color .25s, box-shadow .25s; }
.faq-item.open { border-color: var(--green-400); box-shadow: var(--shadow-s); }
.faq-q { margin: 0; font-size: 17px; letter-spacing: -.01em; line-height: 1.5; }
.faq-q button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 22px 26px;
  background: transparent; border: 0; border-radius: 22px; font-weight: 700; font-size: inherit; letter-spacing: inherit;
}
.faq-q .plus { width: 32px; height: 32px; border-radius: 50%; background: var(--green-100); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s var(--ease), background-color .3s; }
.faq-q .plus .ico { width: 16px; height: 16px; stroke-width: 2.2; color: var(--green-900); }
.faq-item.open .plus { transform: rotate(45deg); background: var(--accent); }
.faq-a { display: grid; grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a .inner { padding: 0 26px 24px; color: #3A4A41; font-size: 15.5px; max-width: 46em; }
.faq-a .inner p + p { margin-top: 10px; }
html.js .faq-a { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .35s var(--ease), visibility .35s; }
html.js .faq-item.open .faq-a { grid-template-rows: 1fr; visibility: visible; }

/* ---------- Contact ---------- */
.contact-wrap { background: var(--green-900); color: #fff; border-radius: var(--r-card); margin-inline: 12px; position: relative; overflow: hidden; isolation: isolate; }
.contact-wrap::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 500px at 100% 0%, rgba(215, 240, 106, .14), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(127, 168, 140, .22), transparent 60%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-copy .lead { color: rgba(255, 255, 255, .82); }
.contact-meta { margin-top: 36px; display: grid; gap: 14px; }
.cm { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); text-decoration: none; }
a.cm:hover { background: rgba(255, 255, 255, .12); }
.cm .ico { color: var(--accent); width: 22px; height: 22px; margin-top: 3px; }
.cm b { display: block; font-size: 17px; letter-spacing: -.01em; }
.cm span { font-size: 13px; color: rgba(255, 255, 255, .78); }
.form-card { background: var(--surface); color: var(--ink); border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); position: relative; }
.form-card h3 { font-size: 24px; }
.form-card .f-sub { color: var(--muted); font-size: 14px; margin: 6px 0 22px; }
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.f-field { margin-bottom: 14px; min-width: 0; }
.f-field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.req { color: #B3361F; margin-left: 3px; }
.f-field input, .f-field select, .f-field textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #FBFBF8; font-size: 16px; min-height: 50px;
  transition: border-color .2s, background-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.f-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314231B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.f-field textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.f-field input::placeholder, .f-field textarea::placeholder { color: #66756B; }
.f-field input:hover, .f-field select:hover, .f-field textarea:hover { border-color: var(--green-400); }
.f-field input:focus-visible, .f-field select:focus-visible, .f-field textarea:focus-visible { border-color: var(--green-700); background: #fff; outline: 3px solid var(--accent); outline-offset: 1px; box-shadow: 0 0 0 2px var(--green-900); border-radius: 14px; }
.f-error { display: none; color: #B3361F; font-size: 13px; margin-top: 6px; font-weight: 500; }
.f-field.has-error .f-error { display: block; }
.f-field.has-error input, .f-field.has-error select { border-color: #B3361F; background: #FFF6F3; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-top: 8px; }
.form-alert { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: #FFF1EC; color: #8E2A17; font-size: 14px; }
.form-alert.show { display: block; }
.form-note { margin-top: 14px; }
.form-note a { color: var(--green-700); font-weight: 700; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.form-thanks { display: none; text-align: center; padding: clamp(24px, 6vw, 56px) 0; }
.form-thanks.show { display: block; }
.form-thanks .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--green-900); display: grid; place-items: center; margin: 0 auto 22px; }
.form-thanks .tick .ico { width: 34px; height: 34px; stroke-width: 2.6; }
.form-thanks h3 { font-size: 26px; }
.form-thanks p { margin-top: 10px; color: var(--muted); }
.form-card.sent form, .form-card.sent .f-head { display: none; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 36px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 32px 56px; justify-content: space-between; align-items: flex-start; }
.foot-slogan { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 22em; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; font-weight: 500; }
.foot-nav a { text-decoration: none; padding: 4px 0; }
.foot-nav a:hover { color: var(--green-700); text-decoration: underline; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--muted); }
.foot-bottom a { color: var(--muted); }

/* ---------- Sub pages (privacy / 404) ---------- */
.sub-main { padding: calc(var(--nav-h) + 72px) 0 80px; }
.sub-wrap { max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); }
.doc h1 { font-size: clamp(32px, 5.4vw, 56px); letter-spacing: -.04em; margin-bottom: 18px; }
.doc .lead { max-width: none; color: var(--ink); opacity: .85; }
.doc .meta { margin: 20px 0 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.doc h2 { font-size: 22px; margin: 44px 0 14px; letter-spacing: -.02em; scroll-margin-top: 96px; }
.doc p, .doc li { font-size: 15.5px; color: #33443A; line-height: 1.95; }
.doc p { margin-bottom: 12px; }
.doc ul { margin: 6px 0 16px; display: grid; gap: 6px; }
.doc ul li { position: relative; padding-left: 1.3em; }
.doc ul li::before { content: ""; position: absolute; left: .2em; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--green-700); }
.doc a { color: var(--green-700); font-weight: 500; }
.info-box { margin-top: 20px; padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.info-box dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 16px; }
.info-box dt { font-weight: 700; font-size: 14px; }
.info-box dd { font-size: 15px; }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.nf-code { font-size: clamp(110px, 24vw, 280px); font-weight: 700; letter-spacing: -.07em; line-height: .9; color: var(--green-700); }
.nf-code span { color: var(--green-400); }
.notfound h1 { font-size: clamp(26px, 4vw, 44px); margin-top: 18px; }
.notfound p { color: var(--muted); margin: 16px auto 0; max-width: 30em; }
.notfound .hero-cta { margin-top: 30px; }

/* ---------- Works: need / response ---------- */
.work-nr { display: grid; gap: 10px; margin-top: 16px; }
.work-nr > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: baseline; }
.work-nr dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--green-700); background: var(--green-100); border-radius: var(--r-pill); padding: 2px 10px; }
.work-nr dd { font-size: 14.5px; line-height: 1.75; color: var(--ink); }

/* ---------- Design samples ---------- */
.samples-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sample-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-s); transition: transform .35s var(--ease), box-shadow .35s; }
.sample-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.sc-shot { position: relative; aspect-ratio: 16 / 11; background: var(--green-100); border-bottom: 1px solid var(--line); overflow: hidden; }
.sc-shot img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.sample-card a:hover .sc-shot img:first-child { transform: scale(1.03); }
.sc-phone { position: absolute; right: 14px; bottom: -28%; width: 24%; height: auto; border-radius: 14px; border: 4px solid #1b1b1b; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); background: #fff; }
.sc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.sc-label { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--green-900); background: var(--accent); border-radius: var(--r-pill); padding: 3px 12px; }
.sample-card h3 { font-size: 22px; margin-top: 12px; }
.sample-card p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.sample-card .go { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-700); }
.samples-more { margin-top: 26px; font-weight: 500; }
.styles-note { margin-top: 8px; }

.complex {
  margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(26px, 4vw, 52px); box-shadow: var(--shadow-s);
}
.complex-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--green-700); background: var(--green-100); border-radius: var(--r-pill); padding: 5px 14px; }
.complex-label .ico { width: 16px; height: 16px; }
.complex h3 { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.4; letter-spacing: -.02em; margin-top: 16px; }
.complex-copy > p { margin-top: 14px; color: var(--muted); }
.complex-copy > p.fine { margin-top: 12px; }
.complex-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.complex-list li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--r-md); background: var(--bg); font-weight: 500; font-size: 15px; }
.complex-list .ico { color: var(--green-700); flex-shrink: 0; }

/* ---------- Monthly care: request flow ---------- */
.req-flow { display: grid; gap: 12px; }
.req-flow li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.req-flow b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green-900); color: #fff; font-size: 13px; }
.req-flow strong { display: block; color: var(--ink); font-size: 14.5px; }

/* ---------- Security (6) ---------- */
.sec-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 26px 30px; box-shadow: var(--shadow-s); }
.team-card .ico-wrap { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--green-900); color: var(--accent); }
.team-card .ico-wrap .ico { width: 24px; height: 24px; }
.team-card .en { display: block; margin-top: 20px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-500); font-weight: 500; }
.team-card h3 { font-size: 21px; margin-top: 4px; }
.team-card p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.team-note { margin-top: 20px; }

/* ---------- Reveal on scroll ---------- */
html.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
html.motion .reveal.in { opacity: 1; transform: none; }
.d1 { --d: .08s; } .d2 { --d: .16s; } .d3 { --d: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links a { padding: 8px 10px; }
}
@media (max-width: 960px) {
  .nav { grid-template-columns: 1fr auto; padding-left: 18px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-end .nav-cta { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan .for { min-height: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr; }
  .dash-body { grid-template-columns: minmax(0, 1fr); }
  .dash-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; }
  .tabs [role="tablist"] { flex-direction: row; overflow-x: auto; gap: 6px; }
  .tabs [role="tab"] { white-space: nowrap; width: auto; justify-content: center; flex: 1 0 auto; }
  .hc-panel { grid-template-columns: 1fr; align-content: start; gap: 22px; }
  .hc-window { justify-self: stretch; max-width: none; }
}
@media (max-width: 760px) {
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp tr { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .cmp tr:last-child { border-bottom: 0; }
  .cmp tbody th { width: 100%; border: 0; padding: 0 0 10px; font-size: 16px; white-space: normal; }
  .cmp td { border: 0; padding: 10px 14px; border-radius: 14px; margin-top: 6px; font-size: 14.5px; }
  .cmp td::before { content: attr(data-label); display: block; font-size: 11.5px; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
  .cmp td:not(.us) { background: #F6F6F1; }
  .cmp tbody td.us { background: var(--green-100); }
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .f-row { grid-template-columns: 1fr; }
  .hc-toggle button { padding: 10px 16px; }
}
@media (max-width: 640px) {
  .sec-grid, .process-list { grid-template-columns: 1fr; }
  .hc-toggle { bottom: 16px; }
  .hc-toggle button b { font-size: 14px; }
  .hc-toggle button span { font-size: 11px; }
  .hc-window { display: none; }
  .hc-panel { padding-bottom: 116px; }
  .hero-cta .btn { width: 100%; }
  .info-box dl { grid-template-columns: 1fr; gap: 2px 0; }
  .info-box dt { margin-top: 10px; }
  .eyebrow .pill-label { font-size: 10.5px; }
  .zero-badge { transform: none; }
  .sec-dark, .contact-wrap { margin-inline: 8px; }
  .faq-q button { padding: 18px 18px; }
  .faq-a .inner { padding: 0 18px 20px; }
}
@media (max-width: 480px) {
  .tabs [role="tab"] { padding: 10px 12px; font-size: 13px; gap: 6px; }
  .tabs [role="tab"] .ico { display: none; }
}
@media (max-width: 400px) {
  .brand-text { font-size: 19px; }
  .hc-toggle button { padding: 9px 12px; }
}

@media (max-width: 960px) {
  .samples-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .complex { grid-template-columns: minmax(0, 1fr); }
  .team-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .complex-list { grid-template-columns: minmax(0, 1fr); }
}
/* ---------- Reduced motion: everything static ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
