/* Tresologi Solutions — site styles (v3)
   Brand: red #FF1A1A · ink #0B0F1A · slate #475569 · purple #814AC8 · blue #2563EB · footer #1A0B0B
   Font: Inter (variable, optical sizing). */

:root {
  --red: #ff1a1a;
  --red-600: #e60f0f;
  --red-tint: rgba(255, 26, 26, 0.07);
  --ink: #0b0f1a;
  --ink-rgb: 11 15 26;
  --slate: #475569;
  --muted: #64748b;
  --purple: #814ac8;
  --blue: #2563eb;
  --footer: #1a0b0b;
  --footer-deep: #120707;
  --white: #fff;
  --paper: #fafafb;
  --line: rgb(var(--ink-rgb) / 0.09);
  --line-strong: rgb(var(--ink-rgb) / 0.16);
  --line-soft: rgb(var(--ink-rgb) / 0.05);
  --field: #f5f6f8;

  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 24px;
  --container: 1280px;

  --shadow-sm: 0 1px 2px rgb(var(--ink-rgb) / 0.06), 0 1px 1px rgb(var(--ink-rgb) / 0.04);
  --shadow-md: 0 2px 4px rgb(var(--ink-rgb) / 0.04), 0 12px 32px -8px rgb(var(--ink-rgb) / 0.12);
  --shadow-lg: 0 4px 8px rgb(var(--ink-rgb) / 0.04), 0 30px 60px -20px rgb(var(--ink-rgb) / 0.22);
  --shadow-red: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 1px 2px rgb(160 0 0 / 0.25), 0 8px 20px -8px rgb(255 26 26 / 0.65);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-h: 72px;

  --z-base: 1; --z-header: 50; --z-overlay: 90; --z-top: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-optical-sizing: auto;
  font-feature-settings: "cv11", "ss01", "ss03";
  color: var(--ink); background: var(--white); line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
/* Film grain — breaks digital flatness */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: var(--z-top); opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--red); color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ol, ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: var(--z-top); }
.skip-link:focus { left: 10px; }

/* ================================================================ Buttons */
.btn {
  --bg: var(--red);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 550; letter-spacing: -0.015em; line-height: 1.2;
  color: var(--white); background: var(--bg); box-shadow: var(--shadow-red);
  border: 0; cursor: pointer; white-space: nowrap; user-select: none;
  transition: transform .35s var(--ease), box-shadow .3s var(--ease), background-color .25s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(255 255 255 / .16), transparent 55%); }
.btn svg { width: 13px; height: 13px; flex: none; transition: transform .35s var(--ease); }
.btn:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .22), 0 2px 4px rgb(160 0 0 / .2), 0 14px 28px -10px rgb(255 26 26 / .7); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .1s; }
.btn--ghost {
  background: rgb(22 27 34 / .62); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), inset 0 1px 0 rgb(255 255 255 / .18), 0 10px 24px -12px rgb(var(--ink-rgb) / .6);
  backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%);
}
.btn--ghost:hover { background: rgb(22 27 34 / .8); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), 0 16px 30px -12px rgb(var(--ink-rgb) / .6); }
.btn--sm { font-size: 14px; padding: 9px 14px; }
.btn--lg { font-size: 15.5px; padding: 13px 20px; border-radius: 10px; }
.btn--block { width: 100%; padding: 14px; font-size: 14px; margin-top: 22px; }
.btn[disabled] { opacity: .75; cursor: progress; transform: none; }
.btn .spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .35); border-top-color: #fff; animation: spin .8s linear infinite; }

/* ================================================================ Header */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgb(255 255 255 / .72); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { background: rgb(255 255 255 / .86); border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgb(var(--ink-rgb) / .25); }
.nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 7px; color: var(--red); }
.brand img { width: 50px; height: 50px; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.04); }
.brand span { font-size: 33px; font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link { position: relative; font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em; padding: 8px 12px; border-radius: var(--r-sm); color: rgb(var(--ink-rgb) / .78); transition: color .2s, background-color .2s; }
.nav-link:hover { color: var(--ink); background: rgb(var(--ink-rgb) / .045); }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red); }
.nav-links .btn { margin-left: 12px; }
.icon-btn { background: none; border: 0; padding: 8px; border-radius: var(--r-sm); cursor: pointer; display: inline-flex; color: var(--ink); transition: background-color .2s, transform .3s var(--ease); }
.icon-btn:hover { background: rgb(var(--ink-rgb) / .05); }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 22px; height: 22px; }
.search-trigger { margin-right: 6px; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 20px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 26px; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgb(255 255 255 / .97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    padding: 8px 20px 22px; box-shadow: 0 24px 40px -24px rgb(var(--ink-rgb) / .3);
    clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease), visibility .45s; visibility: hidden;
  }
  .nav-links.open { clip-path: inset(0 0 -40px 0); visibility: visible; }
  .nav-link { padding: 16px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line-soft); }
  .nav-link:hover { background: none; }
  .nav-link[aria-current="page"] { color: var(--red); }
  .nav-link[aria-current="page"]::after { display: none; }
  .nav-links .btn { margin: 18px 0 0; padding: 14px; }
  .nav-links .search-trigger { display: none; }
  .nav-tools { display: flex; align-items: center; gap: 2px; }
}
@media (min-width: 861px) { .nav-tools { display: none; } }

/* ================================================================ Search (command palette) */
.search-dialog {
  border: 0; padding: 0; width: min(620px, calc(100% - 32px)); border-radius: var(--r-lg);
  background: rgb(255 255 255 / .96); backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); margin-top: 14vh; overflow: hidden;
}
.search-dialog[open] { animation: pop .28s var(--ease); }
.search-dialog::backdrop { background: rgb(var(--ink-rgb) / .28); backdrop-filter: blur(4px); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.search-box { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.search-box svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search-box input { flex: 1; border: 0; outline: 0; font-size: 17px; background: transparent; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box kbd { font: 500 11px var(--font); color: var(--muted); border: 1px solid var(--line-strong); border-radius: 5px; padding: 3px 7px; }
.search-results { list-style: none; padding: 8px; max-height: 52vh; overflow: auto; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); transition: background-color .15s; }
.search-results a::after { content: "↵"; margin-left: auto; color: var(--muted); opacity: 0; font-size: 13px; }
.search-results a:hover, .search-results a:focus, .search-results a.is-active { background: var(--red-tint); outline: none; }
.search-results a.is-active::after, .search-results a:hover::after { opacity: 1; }
.search-results strong { display: block; font-weight: 550; font-size: 15px; }
.search-results span { display: block; font-size: 13px; color: var(--slate); margin-top: 2px; }
.search-empty { padding: 20px; color: var(--muted); font-size: 14px; }

/* ================================================================ Type */
.display { font-size: clamp(42px, 6.4vw, 82px); letter-spacing: -0.05em; line-height: 1.02; font-weight: 550; }
.section-title { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -0.045em; line-height: 1.05; font-weight: 520; }
.card-title { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -0.04em; line-height: 1.1; font-weight: 520; }
.lead { font-size: 18px; line-height: 1.55; color: var(--slate); letter-spacing: -0.012em; }
.lead--ink { color: rgb(var(--ink-rgb) / .82); }
.lead--lg { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.5; color: var(--ink); letter-spacing: -0.02em; }
.body { font-size: 16px; line-height: 1.6; color: var(--slate); }

.section { position: relative; padding: 120px 0 130px; }
.section--tight { padding-top: 30px; }
.section--tint { background: linear-gradient(180deg, var(--paper), #fff 70%); border-top: 1px solid var(--line-soft); }
.section-head { max-width: 720px; margin: 0 auto 72px; text-align: center; }
.section-head .lead { margin: 20px auto 0; max-width: 600px; }

/* ================================================================ Reveal */
.reveal { opacity: 0; transform: translateY(22px); filter: blur(4px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ================================================================ Spotlight surfaces */
.spot { position: relative; }
.spot::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: 2;
  padding: 1px; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -30%), rgb(255 26 26 / .55), rgb(129 74 200 / .25) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s var(--ease);
}
.spot:hover::before { opacity: 1; }

/* ================================================================ Hero */
.hero { position: relative; min-height: calc(100dvh - var(--nav-h)); display: grid; place-items: center; padding: 90px 0 110px; overflow: hidden; isolation: isolate; }
.hero--page { min-height: 0; padding: 130px 0 80px; }
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgb(var(--ink-rgb) / .13) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 1040px; }
.hero-inner .lead { max-width: 640px; margin: 26px auto 0; }
.hero .lead--ink { font-size: clamp(16.5px, 1.4vw, 18.5px); }
.hero-inner .lead.reveal { --d: .08s; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero-actions.reveal { --d: .16s; }
.swirl { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; margin: -230px 0 0 -210px; pointer-events: none; z-index: 0; }
.swirl i { position: absolute; inset: 0; border-radius: 50%; border: 52px solid transparent; filter: blur(30px); opacity: .55; animation: spin 10s linear infinite; }
.swirl i:nth-child(1) { border-top-color: #ff5a5a; border-right-color: rgb(255 90 90 / .45); }
.swirl i:nth-child(2) { inset: 40px; border-bottom-color: #6b8ff5; border-left-color: rgb(107 143 245 / .5); animation-duration: 13s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================ Home: service rows */
.svc-rows { display: grid; gap: 140px; }
.svc-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; max-width: 1060px; margin: 0 auto; }
.svc-row:nth-child(even) { grid-template-columns: 1fr 1.05fr; }
.svc-row:nth-child(even) .svc-mock { order: 2; }
.svc-copy .card-title { margin-bottom: 16px; }
.svc-copy .body { margin-bottom: 26px; max-width: 440px; font-size: 16.5px; }
.svc-copy { --d: .08s; }
.svc-mock { position: relative; display: flex; justify-content: center; }
.svc-mock::before {
  content: ""; position: absolute; inset: 12% 10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 26 26 / .14), transparent), radial-gradient(closest-side at 70% 70%, rgb(37 99 235 / .12), transparent);
  filter: blur(30px);
}

/* Mockup shell */
.mock {
  position: relative; width: 100%; max-width: 460px; height: 350px; border-radius: var(--r-lg);
  background: rgb(255 255 255 / .92); border: 1px solid var(--line); overflow: hidden;
  box-shadow: var(--shadow-md), inset 0 1px 0 #fff;
  -webkit-mask-image: linear-gradient(#000 74%, transparent); mask-image: linear-gradient(#000 74%, transparent);
  font-size: 13px; color: var(--ink); transition: transform .6s var(--ease);
}
.svc-row:hover .mock { transform: translateY(-4px); }
.pill { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; font-size: 11px; color: var(--slate); background: #fff; }
.tiny { font-size: 11px; color: var(--muted); }

.tasks-head { position: relative; z-index: 2; margin: 14px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--ink); border-radius: 6px; padding: 5px 6px; background: #fff; }
.tasks-head b { font-weight: 400; border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; font-size: 12px; }
.tasks-view { position: absolute; left: 14px; right: 14px; top: 56px; bottom: 0; overflow: hidden; }
.tasks-track { padding-top: 4px; animation: scrollY 16s linear infinite; }
.task { position: relative; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgb(var(--ink-rgb) / .55); border-radius: 6px; padding: 9px 10px 9px 42px; margin-bottom: 10px; background: #fff; }
.task::before { content: ""; position: absolute; left: 10px; width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, rgb(255 26 26 / .2), rgb(129 74 200 / .2)); }
.task small { display: block; font-size: 10px; color: var(--muted); }
.task .chk { width: 19px; height: 19px; border: 1px solid var(--muted); border-radius: 4px; display: grid; place-items: center; color: var(--slate); }
.task .chk svg { width: 12px; height: 12px; }
@keyframes scrollY { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.chat { display: flex; flex-direction: column; align-items: center; padding: 34px 18px 16px; text-align: center; }
.orb { width: 56px; height: 56px; border-radius: 50%; background: conic-gradient(from 0deg, #ff5a5a, #b07cf0, #6b8ff5, #ff5a5a); filter: blur(4px); animation: spin 6s linear infinite; }
.chat h4 { font-size: 18px; font-weight: 450; letter-spacing: -0.02em; margin-top: 18px; }
.chat p { font-size: 10.5px; color: var(--muted); max-width: 250px; margin-top: 8px; line-height: 1.4; }
.chat-input { width: 100%; margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: left; min-height: 60px; position: relative; box-shadow: var(--shadow-sm); }
.chat-input .caret { display: inline-block; width: 1px; height: 14px; background: var(--ink); animation: blink 1s steps(1) infinite; vertical-align: middle; }
.chat-input .send { position: absolute; right: 10px; top: 10px; color: var(--blue); width: 14px; height: 14px; }
.chat-input .pill { margin-top: 12px; }
.chat-tools { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.chat-tools .pill { font-size: 10px; color: var(--muted); }
@keyframes blink { 50% { opacity: 0; } }

.mail { padding: 12px; }
.mail-bar { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--ink); border-radius: 6px; padding: 8px 10px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgb(37 99 235 / .2); border-top-color: var(--blue); animation: spin 1s linear infinite; }
.mail-tags { display: flex; gap: 8px; margin: 10px 0; }
.mail-list { position: relative; height: 184px; overflow: hidden; }
.mail-track { animation: scrollY 14s linear infinite; }
.contact-card { border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin-bottom: 10px; background: #fff; }
.contact-card .row { display: flex; justify-content: space-between; align-items: flex-start; }
.contact-card .grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; font-size: 10px; color: var(--muted); }
.contact-card .name { position: relative; padding-left: 38px; }
.contact-card .name small { display: block; font-size: 10px; color: var(--muted); }
.avatar { position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, #b07cf0, var(--blue)); display: grid; place-items: center; }
.avatar svg { width: 16px; height: 16px; }
.steps-line { display: flex; justify-content: space-between; position: relative; margin: 16px 14px 0; font-size: 10px; color: var(--muted); }
.steps-line::before { content: ""; position: absolute; left: 10px; right: 10px; top: 4px; height: 1px; background: rgb(129 74 200 / .25); }
.steps-line span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.steps-line span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgb(129 74 200 / .35); }
.steps-line span:first-child::before { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .6; } }

.proj { padding: 18px; }
.proj h4 { font-size: 17px; font-weight: 550; letter-spacing: -0.02em; }
.proj .sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.proj-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-top: 12px; }
.proj-row { display: flex; justify-content: space-between; margin-top: 6px; }
.proj-title { display: flex; align-items: center; gap: 6px; }
.bar { height: 6px; border-radius: 4px; background: #eef0f4; margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 90%; background: linear-gradient(90deg, var(--purple), var(--blue)); border-radius: inherit; transform-origin: left; animation: grow 3s var(--ease) infinite alternate; }
@keyframes grow { from { transform: scaleX(.22); } to { transform: scaleX(1); } }
.days { display: flex; gap: 8px; margin: 8px 0 6px; font-size: 10px; color: var(--muted); }
.days span { padding: 2px 5px; border-radius: 4px; }
.days span:first-child { background: rgb(37 99 235 / .6); color: #fff; }
.slot { display: flex; justify-content: space-between; padding: 8px 0 8px 30px; font-size: 11px; border-top: 1px solid var(--line-soft); }
.slot small { display: block; font-size: 9.5px; color: var(--muted); }

/* ================================================================ Process steps */
.steps-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 960px; margin: 0 auto; }
.step-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px 30px 30px; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step-card:nth-child(even) { --d: .08s; }
.step-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 550; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px 5px 9px; margin-bottom: 16px; background: #fff; }
.step-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }
.step-card .card-title { margin-bottom: 12px; }
.step-card .body { flex: 1; }
.step-visual { margin-top: 28px; height: 164px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; position: relative; background: #fff; }
.scan { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6px; padding: 6px; }
.scan-left { border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font-size: 11px; }
.scan-ring { width: 100px; height: 100px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.scan-ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--purple); animation: spin 2.4s linear infinite; }
.scan-right { border: 1px solid var(--line); border-radius: 8px; padding: 5px; display: grid; gap: 4px; align-content: start; }
.scan-right div { border: 1px solid var(--line); border-radius: 5px; padding: 3px 7px; font-size: 11px; display: flex; align-items: center; gap: 6px; }
.scan-right svg { width: 12px; height: 12px; }
.compare { display: flex; align-items: center; justify-content: center; gap: 30px; }
.compare figure { margin: 0; display: grid; justify-items: center; gap: 8px; font-size: 10px; color: var(--muted); }
.compare .tile { width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.compare .orb { width: 40px; height: 40px; }
.stack-icon { display: grid; grid-template-columns: repeat(2, 14px); gap: 4px; }
.stack-icon i { height: 14px; border-radius: 4px; }
.stack-icon i:nth-child(1) { background: #6b8ff5; } .stack-icon i:nth-child(2) { background: var(--purple); }
.stack-icon i:nth-child(3) { background: #ff5a5a; } .stack-icon i:nth-child(4) { background: #b07cf0; }
.flow-lines { display: grid; gap: 6px; }
.flow-lines i { display: block; width: 22px; height: 2px; border-radius: 2px; background: rgb(129 74 200 / .45); animation: flow 1.4s ease-in-out infinite; }
.flow-lines i:nth-child(2) { animation-delay: .2s; } .flow-lines i:nth-child(3) { animation-delay: .4s; }
@keyframes flow { 50% { transform: translateX(6px); opacity: .4; } }
.code { display: grid; grid-template-columns: 30px 1fr; height: 100%; }
.code-side { border-right: 1px solid var(--line-soft); display: grid; align-content: start; gap: 10px; padding: 28px 8px; color: var(--slate); }
.code-side svg { width: 14px; height: 14px; }
.code-top { position: absolute; left: 0; right: 0; top: 0; height: 22px; border-bottom: 1px solid var(--line-soft); background: #fff; z-index: 1; display: flex; justify-content: flex-end; gap: 8px; padding: 3px 10px; font-size: 10px; color: var(--slate); }
.code-body { overflow: hidden; padding-top: 26px; }
.code pre { margin: 0; font: 11.5px/1.6 ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace; color: var(--slate); padding-left: 24px; animation: scrollY 18s linear infinite; }
.code .kw { color: var(--purple); }
.sys { padding: 10px; display: grid; gap: 10px; align-content: start; }
.sys > div { border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px 7px 48px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; position: relative; }
.sys > div::before { content: ""; position: absolute; left: 12px; width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, rgb(37 99 235 / .18), rgb(129 74 200 / .18)); }
.sys small { display: block; font-size: 10px; color: var(--muted); }
.sys svg { width: 16px; height: 16px; color: var(--blue); }
.sys .spinner { border-width: 1.5px; }

/* ================================================================ Why (bento) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento > :nth-child(1), .bento > :nth-child(6) { grid-column: span 2; }
.glow-card {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px;
  background: #fff; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column; min-height: 250px;
}
.glow-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.glow-card::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -70px; height: 110px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(129 74 200 / .28), transparent); pointer-events: none; transition: transform .6s var(--ease);
}
.glow-card:hover::after { transform: scale(1.15); }
.bento > :nth-child(1)::after, .bento > :nth-child(6)::after { background: radial-gradient(closest-side, rgb(255 26 26 / .16), transparent); }
.glow-card .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: auto; background: var(--red-tint); color: var(--ink); box-shadow: inset 0 0 0 1px rgb(255 26 26 / .12); }
.glow-card .ico svg { width: 21px; height: 21px; }
.glow-card h3 { font-size: 24px; letter-spacing: -0.035em; margin: 34px 0 10px; font-weight: 520; }
.glow-card .body { position: relative; z-index: 1; max-width: 460px; }
.bento > :nth-child(2), .bento > :nth-child(5) { --d: .06s; } .bento > :nth-child(3) { --d: .12s; }

/* ================================================================ CTA */
.section--cta { padding-top: 40px; }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate; max-width: 880px; margin: 0 auto; border-radius: 28px; padding: 96px 40px; text-align: center;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  background:
    radial-gradient(60% 80% at 0% 0%, rgb(129 74 200 / .30), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgb(129 74 200 / .30), transparent 60%),
    radial-gradient(40% 50% at 85% 10%, rgb(255 26 26 / .08), transparent 70%), #fff;
}
.cta-box::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgb(var(--ink-rgb) / .1) 1px, transparent 1px);
  background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
.cta-box h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.045em; line-height: 1.12; max-width: 720px; margin: 0 auto; font-weight: 520; }
.cta-box .lead { margin: 16px 0 28px; }

/* ================================================================ About */
.section--split { padding-top: 60px; }
.split { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; max-width: 1080px; }
.split .lead--lg { --d: .08s; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; position: relative; }
.values-grid::before { content: ""; position: absolute; left: 50%; top: 50%; width: 420px; height: 280px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgb(129 74 200 / .22), transparent); z-index: 0; filter: blur(10px); }
.value-card { position: relative; z-index: 1; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px; background: rgb(255 255 255 / .85); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-card:nth-child(even) { --d: .08s; }
.value-card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--red-tint); box-shadow: inset 0 0 0 1px rgb(255 26 26 / .12); margin-bottom: 22px; }
.value-card .ico svg { width: 22px; height: 22px; }
.value-card h3 { font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -0.04em; margin-bottom: 12px; font-weight: 520; }
.with-us { position: relative; overflow: hidden; max-width: 860px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px 38px 38px; box-shadow: var(--shadow-sm); background: #fff; }
.with-us::after { content: ""; position: absolute; left: 25%; right: -10%; top: -140px; height: 280px; background: radial-gradient(closest-side, rgb(129 74 200 / .36), transparent); pointer-events: none; }
.with-us h3 { position: relative; z-index: 1; font-size: 34px; letter-spacing: -0.04em; margin-bottom: 26px; font-weight: 520; }
.checklist { position: relative; z-index: 1; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.checklist .check { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); }
.checklist svg { width: 15px; height: 15px; }

/* ================================================================ Services grid */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1000px; margin: 0 auto; }
.service-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); padding: 16px 16px 30px; background: var(--paper);
  border: 1px solid var(--line-soft); transition: box-shadow .45s var(--ease), transform .45s var(--ease), background-color .3s;
}
.service-card:nth-child(even) { --d: .08s; }
.service-card:hover { background: #fff; box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.service-card .thumb { height: 260px; display: grid; place-items: center; margin-bottom: 24px; border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-soft); }
.service-card .thumb img { max-height: 240px; width: auto; object-fit: contain; transition: transform .7s var(--ease); }
.service-card:hover .thumb img { transform: scale(1.045); }
.service-card__body { padding: 0 14px; }
.service-card h2 { font-size: 23px; letter-spacing: -0.03em; margin-bottom: 10px; font-weight: 550; }
.service-card p { font-size: 14.5px; line-height: 1.5; color: var(--slate); }
.service-card__go { position: absolute; top: 28px; right: 28px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: var(--shadow-red); opacity: 0; transform: scale(.7) rotate(-45deg); transition: opacity .3s, transform .45s var(--ease); }
.service-card__go svg { width: 16px; height: 16px; }
.service-card:hover .service-card__go, .service-card:focus-visible .service-card__go { opacity: 1; transform: none; }

/* ================================================================ Service detail */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: calc(var(--z-header) + 1); pointer-events: none; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--purple)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.article-wrap { padding-top: 36px; max-width: 1180px; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin: 0 auto 26px; max-width: 820px; }
.crumbs a { transition: color .2s; } .crumbs a:hover { color: var(--red); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 500; }
.crumbs svg { opacity: .6; }
.article-hero { max-width: 820px; margin: 0 auto; }
.article-hero h1 { font-size: clamp(42px, 6vw, 76px); letter-spacing: -0.05em; margin-bottom: 22px; font-weight: 550; line-height: 1.02; }
.article-hero .lead { font-size: clamp(17px, 1.6vw, 19px); --d: .08s; }
.article-figure {
  position: relative; margin: 56px auto 80px; max-width: 1000px; padding: 40px; border-radius: 28px; display: grid; place-items: center;
  background: radial-gradient(60% 70% at 50% 50%, rgb(255 26 26 / .06), transparent 70%), var(--paper); border: 1px solid var(--line-soft);
}
.article-figure img { max-height: 440px; width: auto; border-radius: var(--r-md); }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 70px; justify-content: center; }
.toc { position: sticky; top: calc(var(--nav-h) + 30px); align-self: start; max-height: calc(100vh - var(--nav-h) - 60px); overflow: auto; }
.toc ol { list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.35; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--red); font-weight: 500; }

.prose { color: var(--slate); font-size: 17px; line-height: 1.7; max-width: 760px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { color: var(--ink); font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.045em; line-height: 1.1; margin: 72px 0 22px; font-weight: 520; }
.prose h3 { color: var(--ink); font-size: clamp(20px, 2.2vw, 24px); letter-spacing: -0.03em; line-height: 1.3; margin: 36px 0 12px; font-weight: 550; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul > li { position: relative; padding-left: 26px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 2px; background: var(--red); transform: rotate(45deg); opacity: .85; }
.prose ol { counter-reset: n; }
.prose ol > li { position: relative; padding-left: 34px; counter-increment: n; }
.prose ol > li::before { content: counter(n); position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--red); background: var(--red-tint); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose blockquote { margin: 26px 0; padding: 18px 22px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 19px; }
.prose .step, .prose .step-h { position: relative; padding-left: 34px; }
.prose .step { padding-bottom: 22px; margin-bottom: 0; }
.prose .step::before, .prose .step-h::before { content: ""; position: absolute; left: 5px; top: .55em; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--red); box-shadow: 0 0 0 4px var(--red-tint); }
.prose .step::after { content: ""; position: absolute; left: 10px; top: calc(.55em + 16px); bottom: 2px; width: 1px; background: linear-gradient(var(--line-strong), transparent); }
.prose .step strong { display: block; font-size: 18px; letter-spacing: -0.02em; margin-bottom: 4px; }
.prose .step-h + p { padding-left: 34px; }
.prose .outcome { padding: 14px 18px; border-radius: var(--r-md); background: var(--red-tint); box-shadow: inset 0 0 0 1px rgb(255 26 26 / .14); color: var(--ink); margin: 6px 0 28px; }
.faq-list { border-top: 1px solid var(--line); margin-top: 8px; }
.faq-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 36px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; font-size: 18.5px; line-height: 1.4; }
.faq-a { font-size: 16px; line-height: 1.65; }
.faq-a > :last-child { margin-bottom: 0; }
.next-service { display: flex; align-items: center; gap: 16px; max-width: 900px; margin: 90px auto 0; padding: 26px 30px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--paper); transition: background-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.next-service:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.next-service__label { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); flex: none; }
.next-service__title { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.035em; font-weight: 520; }
.next-service > svg { width: 20px; height: 20px; margin-left: auto; color: var(--red); transition: transform .35s var(--ease); }
.next-service:hover > svg { transform: translate(3px, -3px); }

/* ================================================================ Contact */
.contact-wrap { max-width: 740px; margin: 0 auto; display: grid; gap: 22px; }
.email-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 20px;
  border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px 30px; background: #fff; box-shadow: var(--shadow-sm);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.email-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.email-card::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 420px; height: 180px; background: radial-gradient(closest-side, rgb(129 74 200 / .32), transparent); pointer-events: none; }
.email-card .label { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; }
.email-card .label svg { width: 22px; height: 22px; }
.email-card__addr { grid-column: 1; color: var(--slate); font-size: 16px; transition: color .2s; }
.email-card:hover .email-card__addr { color: var(--red); }
.email-card__go { grid-column: 2; grid-row: 1 / span 2; position: relative; z-index: 1; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.email-card__go svg { width: 16px; height: 16px; }
.email-card:hover .email-card__go { background: var(--red); color: #fff; border-color: var(--red); transform: rotate(45deg); }
.form-card { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px; background: #fff; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; padding: 13px 14px; font-size: 15.5px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgb(var(--ink-rgb) / .28); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgb(255 26 26 / .12); }
.select-wrap { position: relative; max-width: calc(50% - 10px); }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.field select { appearance: none; padding-right: 40px; background: var(--field); color: var(--slate); cursor: pointer; }
.field select:valid { color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field textarea::placeholder { color: var(--muted); }
.field-error { font-size: 13px; color: #c01818; display: none; align-items: center; gap: 6px; }
.field.has-error .field-error { display: flex; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e04040; background: #fffafa; }
.field.has-error .field-error::before { content: "!"; width: 16px; height: 16px; border-radius: 50%; background: #e04040; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { margin-top: 16px; font-size: 14.5px; border-radius: var(--r-md); padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; animation: pop .35s var(--ease); }
.form-status.ok { background: #effbf3; color: #0f6a3a; box-shadow: inset 0 0 0 1px #c9eed7; }
.form-status.err { background: #fff4f3; color: #a3231a; box-shadow: inset 0 0 0 1px #f6cfcb; }
.form-status svg { width: 20px; height: 20px; flex: none; }

/* ================================================================ Footer */
.site-footer { background: var(--footer); color: var(--white); margin-top: 120px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: -10%; top: -220px; width: 60%; height: 380px; background: radial-gradient(closest-side, rgb(255 26 26 / .14), transparent); pointer-events: none; }
.footer-main { position: relative; display: grid; grid-template-columns: 1.65fr 1fr 1fr; gap: 40px; padding: 80px 40px; max-width: none; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.footer-brand img { width: 32px; height: 32px; }
.footer-tag { margin-top: 36px; max-width: 340px; font-size: 16px; font-weight: 500; line-height: 1.5; color: rgb(255 255 255 / .86); }
.footer-col h2 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .55); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 6px; }
.footer-col a { position: relative; color: var(--red); font-size: 16px; font-weight: 500; line-height: 1.7; transition: color .2s; }
.footer-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.footer-col a:hover { color: #ff5c5c; }
.footer-col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-bottom { position: relative; background: var(--footer-deep); border-top: 1px solid rgb(255 255 255 / .12); }
.footer-bottom .container { max-width: none; padding: 22px 40px; font-size: 14px; font-weight: 500; color: rgb(255 255 255 / .8); }

/* ================================================================ 404 */
.notfound { min-height: 62vh; display: grid; place-items: center; }
.notfound__code { font-size: 14px; font-weight: 600; letter-spacing: .12em; color: var(--red); margin-bottom: 14px; }

/* ================================================================ Responsive */
@media (max-width: 1100px) {
  .article-layout { grid-template-columns: minmax(0, 760px); }
  .toc { display: none; }
}
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento > :nth-child(1), .bento > :nth-child(6) { grid-column: span 2; }
}
@media (max-width: 860px) {
  .section { padding: 84px 0 92px; }
  .section--tight { padding-top: 20px; }
  .svc-rows { gap: 96px; }
  .svc-row, .svc-row:nth-child(even) { grid-template-columns: 1fr; gap: 34px; }
  .svc-row:nth-child(even) .svc-mock { order: 0; }
  .steps-grid, .values-grid, .services-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .checklist { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 60px 20px; }
  .footer-main > :first-child { grid-column: 1 / -1; }
  .footer-tag { margin-top: 18px; }
  .footer-bottom .container { padding: 20px; }
  .faq-item { grid-template-columns: 1fr; gap: 10px; }
  .article-figure { padding: 20px; margin: 36px auto 56px; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento > :nth-child(1), .bento > :nth-child(6) { grid-column: auto; }
  .glow-card { min-height: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .select-wrap { max-width: none; }
  .hero { padding: 60px 0 80px; }
  .hero--page { padding: 80px 0 50px; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .cta-box { padding: 64px 22px; border-radius: 22px; }
  .step-card, .glow-card, .value-card, .with-us, .form-card { padding: 24px 20px; }
  .step-visual { height: 172px; }
  .mock { height: 330px; }
  .service-card .thumb { height: auto; min-height: 180px; padding: 12px; }
  .email-card { padding: 22px 20px; }
  .swirl { width: 300px; height: 300px; margin: -170px 0 0 -150px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
