:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #0e1a2b;
  --muted: #45556b;
  --line: #dfe4ec;
  --accent: #1747c9;
  --accent-hover: #123a9e;
  --accent-soft: #e3eafc;
  --accent-ink: #123a9e;
  --navy: #0e1a2b;
  --navy-raised: #17263b;
  --navy-muted: #b8c4d6;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

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

h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.01em; }
h1 { font-weight: 700; font-size: clamp(2.25rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-weight: 600; font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.15; }
h3 { font-weight: 600; font-size: 1.375rem; line-height: 1.25; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--navy { background: var(--navy); color: #f2f5fa; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 40px; }
.muted { color: var(--muted); }
.section--navy .muted { color: var(--navy-muted); }
.lead { font-size: 1.1875rem; color: var(--muted); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(247, 248, 250, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 0.9375rem; }
.nav a { padding: 12px 0; }
.nav a.btn { padding: 12px 20px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }

/* Buttons */
.btn { display: inline-block; font-weight: 600; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: var(--surface); border-color: #cfd6e2; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.pill { display: inline-block; background: var(--accent-soft); color: var(--accent-ink); font-size: 0.875rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent-ink); font-size: 0.8125rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.tag:hover { background: #d3defa; color: var(--accent-ink); }
.more { color: var(--accent); font-weight: 600; font-size: 0.9375rem; padding: 10px 0; display: inline-block; }

/* Hero */
.hero { max-width: 900px; margin: 0 auto; padding: 72px 24px 56px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.hero .lead { max-width: 640px; }
.hero .btn-row { justify-content: center; }

.partner { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 88px; }
.partner strong { font-family: var(--display); font-weight: 600; font-size: 1.25rem; display: block; }
.partner > div { flex: 1 1 320px; min-width: 0; }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card--white { background: var(--surface); }
.card p { color: var(--muted); font-size: 0.9375rem; }
.card .card-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--muted); }

.product-card { padding: 20px; transition: border-color 0.15s ease, transform 0.15s ease; }
.product-card:hover { border-color: var(--accent); transform: translateY(-2px); color: inherit; }
.product-card .more { margin-top: auto; }

/* Image placeholder: replace with <img> once licensed assets are available */
.ph { border: 1px dashed #9aa8bd; background: #eef1f6; border-radius: 10px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 0.8125rem; padding: 16px; height: 180px; }
.ph--tall { height: 380px; border-radius: 16px; font-size: 0.875rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps .num { font-family: var(--display); font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--accent); }
.steps h3 { font-size: 1.1875rem; }
.steps p { color: var(--muted); font-size: 0.9375rem; }

.navy-card { background: var(--navy-raised); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.navy-card h3 { font-size: 1.25rem; }
.navy-card p { color: var(--navy-muted); font-size: 0.9375rem; }

.story .who { color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.story .quote { font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1.35; color: var(--ink); }

/* Product pages */
.crumbs { font-size: 0.875rem; color: var(--muted); padding-top: 32px; }
.crumbs a { color: var(--accent); padding: 10px 0; display: inline-block; }
.product-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 24px; padding-bottom: 88px; }
.product-hero > .copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.product-hero > .ph { flex: 1 1 380px; min-width: 0; }
.product-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: translateY(-2px); }
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > * { flex: 1 1 380px; min-width: 0; }
.others { display: flex; flex-wrap: wrap; gap: 10px; }
.others a { background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: 0.9375rem; padding: 12px 18px; border-radius: 999px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 88px; }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 0.875rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer nav a { padding: 12px 0; }

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 16px; text-align: center; border-bottom: 0; }
  .hero { padding-top: 48px; }
  .partner { margin-bottom: 64px; padding: 24px; }
  .site-footer { margin-top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-card { transition: none; }
}

/* Product portfolio */
.grid--5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid--models { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.product-card .range { font-size: 0.8125rem; font-weight: 600; color: var(--accent-ink); }
.model { gap: 10px; padding: 24px; }
.model .tag { align-self: flex-start; }
.model h3 { font-size: 1.25rem; }
.specs { list-style: none; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 0.875rem; color: var(--ink); }
.note { margin-top: 24px; font-size: 0.875rem; color: var(--muted); }
.checks--cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px 40px; }
.spec-table { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px 28px; }
.spec-table > div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-table > div:last-child { border-bottom: 0; }
.spec-table dt { flex: 0 0 220px; font-weight: 600; }
.spec-table dd { flex: 1 1 280px; margin: 0; color: var(--muted); }

/* Keep anchor targets clear of the sticky header */
[id] { scroll-margin-top: 88px; }

/* ---------- Hyosung partnership theme ---------- */
:root {
  --hy: #250088;
  --hy-deep: #1a0061;
  --hy-raised: #33109c;
  --hy-soft: #ece8fb;
  --hy-muted: #cfc6f5;
  --coral: #ff7a5c;
  --coral-ink: #3d1206;
  --tint-atm: #dfe9fb;
  --tint-crs: #dcf1e9;
  --tint-tcr: #fce8d8;
  --tint-kiosk: #e2dbf8;
  --tint-sw: #d9ecfb;
}

.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hy); }
.section--hy .eyebrow, .hy-panel .eyebrow { color: var(--coral); }

.topbar { background: var(--hy); color: #fff; font-size: 0.8125rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.topbar img { height: 18px; width: auto; }
.topbar span { color: var(--hy-muted); }

.btn--coral { background: var(--coral); color: var(--coral-ink); }
.btn--coral:hover { background: #ff9279; color: var(--coral-ink); }
.btn--outline-light { border-color: #7a63d6; color: #fff; }
.btn--outline-light:hover { background: var(--hy-raised); color: #fff; }

/* Home hero */
.home-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 72px; }
.home-hero .copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.home-hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.hy-panel { position: relative; overflow: hidden; background: var(--hy); color: #fff; border-radius: 24px; }
.hy-panel .spark { position: absolute; pointer-events: none; }
.home-hero .hy-panel { flex: 1 1 420px; min-width: 0; height: 480px; }
.home-hero .hy-panel .spark { width: 520px; height: 520px; right: -140px; top: -140px; }
.home-hero .hy-panel img.machine { position: absolute; bottom: -4%; height: 92%; width: auto; max-width: none; }
.home-hero .hy-panel img.m1 { left: -6%; }
.home-hero .hy-panel img.m2 { right: -10%; height: 84%; }
.home-hero .hy-panel .lockup { position: absolute; left: 20px; top: 20px; background: rgba(26, 0, 97, 0.88); border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-size: 0.75rem; color: var(--hy-muted); }
.home-hero .hy-panel .lockup img { height: 26px; width: auto; }

/* Partnership band */
.section--hy { background: var(--hy); color: #fff; position: relative; overflow: hidden; }
.section--hy .muted { color: var(--hy-muted); }
.section--hy .spark { position: absolute; width: 640px; height: 640px; right: -220px; bottom: -260px; pointer-events: none; }
.section--hy .wrap { position: relative; }
.lockup-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-bottom: 32px; }
.lockup-row .eng { font-family: var(--display); font-weight: 700; font-size: 1.75rem; letter-spacing: -0.01em; }
.lockup-row .x { color: var(--coral); font-size: 1.5rem; line-height: 1; }
.lockup-row img { height: 52px; width: auto; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; }
.partner-grid h2 { margin-bottom: 16px; }
.partner-grid p + p { margin-top: 12px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fact { background: var(--hy-raised); border-radius: 16px; padding: 20px; }
.fact b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1.1; color: #fff; }
.fact span { color: var(--hy-muted); font-size: 0.875rem; }

/* Image tiles */
.tile { border-radius: 12px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; aspect-ratio: 4 / 3; }
.tile img { height: 96%; width: auto; max-width: 100%; object-fit: contain; }
.tile--cover { align-items: stretch; }
.tile--cover img { height: 100%; width: 100%; object-fit: cover; }
.tile--atm { background: var(--tint-atm); }
.tile--crs { background: var(--tint-crs); }
.tile--tcr { background: var(--tint-tcr); }
.tile--metakiosk { background: var(--tint-kiosk); }
.tile--blueverse { background: var(--tint-sw); }
.model .tile { aspect-ratio: 1 / 1; margin-bottom: 6px; }
.model .tile--cover { aspect-ratio: 3 / 2; }
.model p { color: var(--muted); font-size: 0.9375rem; }
.specs li { display: flex; gap: 10px; align-items: baseline; }
.specs li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); transform: translateY(-2px); }

/* Product page hero */
.product-hero > .hy-panel { flex: 1 1 380px; min-width: 0; height: 440px; display: flex; align-items: flex-end; justify-content: center; }
.product-hero > .hy-panel .spark { width: 480px; height: 480px; right: -150px; top: -150px; }
.product-hero > .hy-panel img.machine { position: relative; height: 94%; width: auto; max-width: 96%; object-fit: contain; }
.product-hero > .hy-panel.is-cover { height: auto; aspect-ratio: 3 / 2; }
.product-hero > .hy-panel.is-cover img.machine { height: 100%; width: 100%; max-width: none; object-fit: cover; }
.vendor-chip { display: inline-flex; align-items: center; gap: 10px; background: var(--hy); color: #fff; font-size: 0.8125rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.vendor-chip img { height: 16px; width: auto; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature { border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.feature h3 { font-size: 1.125rem; }
.feature p { font-size: 0.9375rem; color: #2c3e57; }
.feature:nth-child(4n+1) { background: var(--tint-atm); }
.feature:nth-child(4n+2) { background: var(--tint-crs); }
.feature:nth-child(4n+3) { background: var(--tint-tcr); }
.feature:nth-child(4n+4) { background: var(--tint-kiosk); }

.steps .num { color: var(--hy); }
.pill { background: var(--hy-soft); color: var(--hy); }
.tag { background: var(--hy-soft); color: var(--hy); }
.tag:hover { background: #ddd5f8; color: var(--hy); }
.product-card .range { color: var(--hy); }
.product-card:hover { border-color: var(--hy); }
.checks li::before { background: var(--coral); }

.site-footer .partner-line { display: flex; align-items: center; gap: 12px; }
.site-footer .partner-line span.badge { background: var(--hy); border-radius: 8px; padding: 8px 12px; display: inline-flex; }
.site-footer .partner-line img { height: 20px; width: auto; }

@media (max-width: 860px) {
  .home-hero { padding-top: 40px; padding-bottom: 56px; }
  .home-hero .hy-panel { height: 360px; flex-basis: 100%; }
  .product-hero > .hy-panel { height: 340px; flex-basis: 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
}

/* Language switch */
.header-right { display: flex; align-items: center; gap: 20px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); font-size: 0.8125rem; font-weight: 600; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 36px; padding: 0 10px; border-radius: 999px; color: var(--muted); }
.lang-switch a:hover { color: var(--hy); }
.lang-switch a[aria-current] { background: var(--hy); color: #fff; }
@media (max-width: 1080px) { .nav { gap: 18px; } .header-right { gap: 14px; } }
@media (max-width: 860px) { .header-right { gap: 10px; } }

/* Footer: company details */
.site-footer .footer-top { align-items: flex-start; padding-bottom: 24px; }
.site-footer .footer-bottom { border-top: 1px solid var(--line); padding-top: 8px; padding-bottom: 16px; align-items: center; }
.site-footer .company { display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.site-footer .company strong { color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em; }
.site-footer .company address { font-style: normal; line-height: 1.5; }
.site-footer .company dl { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer .company dl div { display: flex; gap: 6px; }
.site-footer .company dt { font-weight: 500; }
.site-footer .company dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Contact form */
.contact-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.contact-intro { position: relative; overflow: hidden; background: var(--hy); color: #fff; padding: 48px 40px; display: flex; flex-direction: column; gap: 16px; }
.contact-intro > * { position: relative; }
.contact-intro .spark { position: absolute; width: 440px; height: 440px; right: -190px; bottom: -190px; }
.contact-intro p { color: var(--hy-muted); }
.contact-intro address { margin-top: auto; padding-top: 24px; font-style: normal; font-size: 0.9375rem; line-height: 1.6; color: var(--hy-muted); }
.contact-intro address strong { color: #fff; font-weight: 600; }
.contact-body { padding: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .interests legend { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.req { color: #b42318; }
.opt { font-weight: 400; color: var(--muted); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form select, .contact-form textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #c3cbd9; border-radius: 10px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form textarea { resize: vertical; min-height: 116px; line-height: 1.5; }
.contact-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2345556b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #6b7a90; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--hy); box-shadow: 0 0 0 3px rgba(37, 0, 136, 0.16); }
.contact-form [aria-invalid="true"] { border-color: #b42318; }
.contact-form [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.16); }
.field-error { margin: 0; font-size: 0.8125rem; color: #b42318; }
.field-error:empty { display: none; }
.interests { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; font-size: 0.875rem; font-weight: 500; background: #fff; border: 1px solid #c3cbd9; border-radius: 999px; cursor: pointer; user-select: none; }
.chip span:hover { border-color: var(--hy); }
.chip input:checked + span { background: var(--hy); border-color: var(--hy); color: #fff; }
.chip span::before { content: "+"; display: inline-block; width: 0.75em; text-align: center; font-weight: 700; color: var(--muted); }
.chip input:checked + span::before { content: "✓"; color: inherit; }
.chip input:focus-visible + span { outline: 3px solid var(--hy); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--hy); }
.consent a { color: var(--hy); text-decoration: underline; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.form-note { font-size: 0.8125rem; color: var(--muted); }
.contact-form .btn[disabled] { opacity: 0.7; cursor: progress; }
.form-status:empty { display: none; }
.form-status { font-size: 0.9375rem; color: #7a1a12; background: #fef3f2; border: 1px solid #fecdca; border-radius: 10px; padding: 12px 14px; }
.form-success { min-height: 360px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; color: var(--ink); }
.form-success[hidden] { display: none; }
.form-success svg { color: var(--hy); }
.form-success p { color: var(--muted); }
.form-success:focus { outline: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 960px) {
  .contact-panel { grid-template-columns: 1fr; }
  .contact-intro { padding: 32px 24px; }
  .contact-intro .spark { width: 320px; height: 320px; right: -150px; bottom: -150px; }
  .contact-body { padding: 28px 22px; }
}
@media (max-width: 600px) {
  .field-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; text-align: center; }
}

/* Legal pages (privacy policy) */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 0 24px; }
.legal-head { display: flex; flex-direction: column; gap: 12px; padding-bottom: 32px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.legal-updated { font-size: 0.875rem; color: var(--muted); }
.legal section { padding: 28px 0 4px; }
.legal h2 { font-size: 1.375rem; margin-bottom: 12px; }
.legal p, .legal li { color: #2c3e57; line-height: 1.7; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal ul { margin: 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 6px; }
.legal li::marker { color: var(--hy); }
.legal a { color: var(--hy); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 860px) { .legal { padding-top: 36px; } }
