/* JaluPrint – styles */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-text: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* neutrals: white page, navy ink, slate greys */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f7fb;
  --field: #f8fafc;
  --ink: #0f172a;
  --ink-2: #334155;
  --label: #475569;
  --muted: #56657c;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;

  /* brand: cobalt blue */
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-soft: #eef3ff;
  --primary-ink: #1e3a8a;

  /* the four AMS spools (only together, as a set) */
  --c-blue: #2563eb;
  --c-green: #16a34a;
  --c-amber: #f59e0b;
  --c-coral: #ef4444;

  --link: #1d4ed8;
  --focus: #2563eb;
  --danger: #b91c1c;
  --success: #15803d;

  --btn-bg: var(--primary);
  --btn-bg-hover: var(--primary-hover);
  --btn-fg: #ffffff;

  --band-bg: #0c1a3a;
  --band-ink: #f1f5f9;
  --band-ink-2: #b3c0da;
  --band-line: #22345e;
  --band-icon: #93b4ff;

  --shadow-lift: 0 12px 24px -12px rgb(29 78 216 / 0.55);
  --shadow-panel: 0 24px 48px -28px rgb(15 23 42 / 0.22);

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);

  color-scheme: light;
}

/* Tmavý režim je zatím vypnutý (web je jen světlý).
   Zapnutí: obalit tento blok do @media (prefers-color-scheme: dark) { :root { … } }
   a v index.html vrátit <meta name="color-scheme" content="light dark">. */
:root[data-theme="dark"] {
  --bg: #0b1220;
  --surface: #111a2e;
  --surface-2: #0e1628;
  --field: #0d1526;
  --ink: #e8eefc;
  --ink-2: #c2cde3;
  --label: #a7b4cc;
  --muted: #94a3bd;
  --line: #1e2a44;
  --line-strong: #2c3b5c;
  --primary: #6b93ff;
  --primary-hover: #8eadff;
  --primary-soft: #16244a;
  --primary-ink: #c7d7ff;
  --link: #8eadff;
  --focus: #8eadff;
  --btn-fg: #0b1220;
  --band-bg: #0f1d3f;
  --shadow-lift: 0 12px 24px -12px rgb(0 0 0 / 0.7);
  --shadow-panel: 0 24px 48px -28px rgb(0 0 0 / 0.8);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--line-strong) var(--bg);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--primary);
  accent-color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}

::selection { background: color-mix(in oklab, var(--primary) 20%, transparent); color: var(--ink); }

img, svg, canvas { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}

p { text-wrap: pretty; }

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

ul, ol { padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.nowrap { white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top 180ms var(--ease-out);
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition:
    transform 200ms var(--ease-out),
    background-color 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}
.btn .icon { width: 1.125em; height: 1.125em; transition: transform 200ms var(--ease-out); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-lg { height: 56px; padding: 0 26px; font-size: 1.0625rem; border-radius: 14px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 0.9375rem; border-radius: 10px; }

.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }

@media (hover: hover) {
  .btn-primary:hover { background: var(--btn-bg-hover); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
  .btn-primary:hover .icon { transform: translateX(3px); }
  .btn-ghost:hover { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-ink); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--primary);
}
.brand-mark .icon { width: 30px; height: 30px; stroke-width: 1.9; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.025em;
}

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { display: flex; align-items: center; gap: 28px; }
.site-nav ul a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 160ms var(--ease-out);
}
.site-nav ul a:hover { color: var(--ink); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 899px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 8px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-panel);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 220ms var(--ease-out),
      transform 220ms var(--ease-out),
      visibility 0s linear 220ms;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s;
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul a {
    display: block;
    padding: 14px 0;
    font-size: 1.125rem;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .site-nav .btn { height: 52px; font-size: 1.0625rem; }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(56px, 9vw, 128px) clamp(64px, 9vw, 120px);
  text-align: center;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.75rem, 1.1rem + 5.2vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.hero h1 .accent { display: block; color: var(--primary); }
.hero-lead {
  margin-top: 28px;
  max-width: 36em;
  text-wrap: balance;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 44px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--label);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--primary); width: 20px; height: 20px; }

@media (max-width: 479px) {
  .hero { text-align: left; }
  .hero-inner { align-items: stretch; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn-lg { height: auto; min-height: 56px; padding-block: 14px; white-space: normal; text-align: center; line-height: 1.25; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--surface-2); }

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(36px, 4.5vw, 64px);
}
.section-head h2,
.why-head h2,
.faq-head h2,
.contact-intro h2 {
  font-size: clamp(2.125rem, 1.4rem + 2.4vw, 3.375rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.section-head p { max-width: 52ch; font-size: 1.125rem; color: var(--ink-2); }

@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 48px; }
  .section-head p { justify-self: end; }
}

/* ---------- Services bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.tile h3 { font-size: 1.375rem; letter-spacing: -0.02em; }
.tile p { color: var(--ink-2); font-size: 1rem; }
.tile-icon { width: 28px; height: 28px; margin-bottom: 14px; color: var(--primary); }

.tile-wide { grid-column: span 2; }

.tile-feature {
  flex-direction: row;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.tile-feature .tile-text { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; }
.tile-feature h3 { font-size: clamp(1.375rem, 1rem + 1.2vw, 2.125rem); }

.flow {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.flow li {
  position: relative;
  width: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  text-align: center;
  line-height: 1.3;
}
.flow li + li::before {
  content: "";
  position: absolute;
  top: 28px;
  right: calc(50% + 34px);
  width: calc(100% - 68px);
  border-top: 2px dashed var(--line-strong);
}
.flow-dot {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  border: 1px solid color-mix(in oklab, var(--primary) 18%, transparent);
  color: var(--primary);
}
.flow-dot .icon { width: 24px; height: 24px; }
.flow-dot-final { background: var(--btn-bg); color: var(--btn-fg); border-color: transparent; }

.tile-colors {
  flex-direction: row;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.tile-colors .tile-text { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; }

.spools { display: flex; gap: 12px; flex: 0 0 auto; }
.spool {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--surface) 0 15%, var(--line-strong) 15.5% 23%, transparent 23.5%),
    var(--spool);
  box-shadow: inset 0 0 0 5px color-mix(in oklab, var(--spool), black 22%);
}

@media (max-width: 899px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-feature, .tile-colors { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 639px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-wide { grid-column: auto; }
  .flow { width: 100%; }
  .flow li { flex: 1 1 0; width: auto; min-width: 0; }
  .spool { width: 56px; height: 56px; }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  right: calc((100% - 96px) / 4 - 24px);
  height: 2px;
  background: var(--line-strong);
}
.step { position: relative; display: flex; flex-direction: column; gap: 10px; }
.step-num {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  position: relative;
}
.step:last-child .step-num { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.step h3 { font-size: 1.375rem; }
.step p { color: var(--ink-2); font-size: 1rem; max-width: 30ch; }

@media (max-width: 899px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
  .step { padding-left: 72px; min-height: 48px; }
  .step-num { position: absolute; left: 0; top: 0; margin: 0; }
  .step h3 { padding-top: 9px; }
}

/* ---------- Materials ---------- */
.materials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.material {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.material-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.material h3 { font-size: 2.125rem; letter-spacing: -0.03em; }
.material-tag {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-ink);
  white-space: nowrap;
}
.material > p { color: var(--ink-2); font-size: 1rem; }
.material h4 {
  margin-top: 8px;
  font-family: var(--font-text);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}
.checks { display: grid; gap: 8px; }
.checks li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  color: var(--ink-2);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 14L8.5 17.5L19 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 14L8.5 17.5L19 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.material-note {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--muted);
}
.material-note strong { color: var(--ink); font-weight: 600; }

.specs {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.spec {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.spec h3 { font-size: 1.375rem; margin-bottom: 8px; }
.spec p { color: var(--ink-2); font-size: 1rem; }
.spec strong { color: var(--ink); font-weight: 600; }
.spec-printer { align-items: center; }
.spec-icon { width: 32px; height: 32px; margin-top: 2px; color: var(--primary); }

.cube { width: clamp(150px, 16vw, 190px); flex: none; overflow: visible; }
.cube-faces path { stroke: var(--primary); stroke-width: 1.5; stroke-linejoin: round; }
.cube-top { fill: color-mix(in oklab, var(--primary) 10%, var(--surface)); }
.cube-left { fill: color-mix(in oklab, var(--primary) 20%, var(--surface)); }
.cube-right { fill: color-mix(in oklab, var(--primary) 32%, var(--surface)); }
.cube-dims path { stroke: var(--muted); stroke-width: 1.25; stroke-dasharray: 3 4; fill: none; }
.cube text { fill: var(--muted); font-family: var(--font-text); font-size: 12px; font-weight: 500; }

@media (max-width: 899px) {
  .materials { grid-template-columns: minmax(0, 1fr); }
  .specs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 539px) {
  .spec-size { flex-direction: column; align-items: flex-start; }
}

/* ---------- Why band ---------- */
.section-ink {
  background: var(--band-bg);
  color: var(--band-ink);
}
.section-ink h2,
.section-ink h3 { color: var(--band-ink); }
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.why-head p { margin-top: 20px; font-size: 1.125rem; color: var(--band-ink-2); max-width: 44ch; }
.why-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 40px;
}
.why-list li { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--band-line); }
.why-list .icon { width: 26px; height: 26px; color: var(--band-icon); margin-bottom: 8px; }
.why-list h3 { font-size: 1.25rem; }
.why-list p { color: var(--band-ink-2); font-size: 1rem; }

@media (max-width: 899px) {
  .why-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 539px) {
  .why-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head p { margin-top: 20px; font-size: 1.125rem; color: var(--ink-2); max-width: 36ch; }

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  border-radius: 8px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 22px;
  height: 22px;
  color: var(--muted);
  transition: transform 240ms var(--ease-out), color 160ms var(--ease-out);
}
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--primary); }
@media (hover: hover) {
  .faq summary:hover .icon { color: var(--primary); }
}
.faq details p {
  padding: 0 48px 24px 0;
  max-width: 64ch;
  color: var(--ink-2);
}
.faq details[open] p { animation: faq-in 260ms var(--ease-out); }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 899px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
  .faq details p { padding-right: 0; }
}

/* ---------- Contact & form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.contact-intro p { margin-top: 20px; font-size: 1.125rem; color: var(--ink-2); max-width: 40ch; }

.contact-list { display: grid; gap: 20px; margin-top: 40px; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 18px;
  color: var(--primary);
}
.contact-icon .icon { width: 26px; height: 26px; }
.contact-list li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 2px; }
.contact-label { font-size: 0.875rem; font-weight: 600; color: var(--label); }
.contact-list a {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-list a:hover { text-decoration: underline; }
.contact-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.copy-btn .icon { width: 14px; height: 14px; }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.copy-btn.is-done { color: var(--success); border-color: var(--success); }

.inquiry {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 3vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-panel);
}

.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; }
.field label,
.field legend {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0;
}
.field legend { margin-bottom: 8px; }
.req { color: var(--danger); }
.optional { color: var(--muted); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--field);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--muted); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--focus);
  background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--focus) 22%, transparent);
}

.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background: var(--muted);
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 9C18 9 13.58 15 12 15C10.42 15 6 9 6 9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 9C18 9 13.58 15 12 15C10.42 15 6 9 6 9'/%3E%3C/svg%3E") center / contain no-repeat;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.field-row:first-of-type { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr) minmax(0, 1.4fr); }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--field);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out), color 160ms var(--ease-out);
  user-select: none;
  -webkit-user-select: none;
}
.choice span .icon { width: 18px; height: 18px; }
.choice:hover span { border-color: var(--muted); }
.choice input:checked + span { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }

.field.has-error input,
.field.has-error textarea { border-color: var(--danger); }
.field.has-error input:focus-visible,
.field.has-error textarea:focus-visible { box-shadow: 0 0 0 4px color-mix(in oklab, var(--danger) 20%, transparent); }
.field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--danger);
}
.field-error[hidden] { display: none; }
.field-error .icon { width: 16px; height: 16px; }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 6px;
}

.form-status {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--success) 10%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--success) 35%, transparent);
  animation: status-in 320ms var(--ease-out);
}
.form-status[hidden] { display: none; }
.form-status > .icon { width: 24px; height: 24px; color: var(--success); stroke-width: 2.25; margin-top: 2px; }
.form-status > div { display: grid; gap: 8px; justify-items: start; }
.form-status p { font-size: 0.9375rem; color: var(--ink-2); }
.form-status .form-status-title { font-weight: 600; color: var(--ink); font-size: 1rem; }
.form-status:focus { outline: none; }
.form-status .btn { margin-top: 4px; }
@keyframes status-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 959px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 719px) {
  .field-row,
  .field-row:first-of-type { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { width: 100%; }
  .inquiry { padding: 20px 16px; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 72px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
}
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 0.9375rem; max-width: 34ch; }
.footer-title {
  margin-bottom: 18px;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--label);
}
.footer-nav ul { display: grid; gap: 12px; }
.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
}
.footer-contact ul { display: grid; gap: 16px; }
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
}
.footer-contact .icon { width: 24px; height: 24px; color: var(--primary); }
.footer-nav a:hover,
.footer-contact a:hover { color: var(--primary); text-decoration: underline; }
.footer-legal {
  margin-top: clamp(40px, 5vw, 64px);
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-legal p { padding-block: 24px; border-top: 1px solid var(--line); }

@media (max-width: 719px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-nav ul { display: flex; flex-wrap: wrap; gap: 10px 20px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
