/* ===================================================================
   oneTaxFree ­- Design system
   Theme: 電子入国スタンプ (digital entry-stamp) — drawing on passport
   covers, ink stamps and guilloché security-print patterns, since this
   product's whole job is verifying travel documents at the register.
   Visual language: Japanese B2B FinTech × tax-compliance infrastructure.
=================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;600;700&family=Noto+Serif+SC:wght@600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,700&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Sans+SC:wght@400;500;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root{
  /* --- Brand: navy / blue-gray FinTech palette --- */
  --brand-primary:      #244A6A;
  --brand-primary-dark: #1B3750;
  --brand-secondary:    #4F7FA3;
  --brand-accent:       #6A9ABC;
  --brand-light:        #E8F1F7;
  --brand-gold:         #B28A4A;
  --stamp-ink:          #315E7D;

  /* --- Neutral ink --- */
  --ink-primary:   #202631;
  --ink-secondary: #586170;
  --ink-muted:     #7B828D;

  /* --- Background --- */
  --bg-main:    #F5F8FC;
  --bg-section: #EEF4F8;
  --bg-white:   #FFFFFF;

  /* --- Functional --- */
  --status-success: #356B5B;
  --status-error:   #A3372E;
  --border-light:   #E2EAF1;

  /* --- Footer (kept light, per current brand direction) --- */
  --footer-bg:         #EAF1F6;
  --footer-text:       #36536A;
  --footer-text-muted: #718391;
  --footer-border:     #D7E2EA;

  /* --- Back-compat aliases (kept so existing inline styles / markup
     referencing the old token names continue to resolve correctly) --- */
  --ink:        var(--ink-primary);
  --ink-soft:   var(--ink-secondary);
  --maroon:     var(--brand-primary);
  --maroon-700: var(--brand-primary);
  --maroon-900: var(--brand-primary-dark);
  --stamp:      var(--brand-secondary);
  --stamp-700:  var(--brand-primary);
  --gold:       var(--brand-gold);
  --paper:      var(--bg-main);
  --paper-100:  var(--bg-section);
  --paper-200:  var(--border-light);
  --line:       var(--border-light);
  --white:      var(--bg-white);

  /* --- Type tokens (overridden per-language via html[lang]) --- */
  --font-display: 'Shippori Mincho', 'Noto Serif SC', serif;
  --font-body:    'Noto Sans JP', 'Noto Sans SC', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --radius: 6px;
  --radius-card: 14px;
  --card-shadow: 0 8px 30px rgba(31,55,78,0.06);
  --container: 1120px;
}

html[lang="en"]{
  --font-display: 'Source Serif 4', serif;
  --font-body: 'Inter', sans-serif;
}
html[lang="zh"], html[lang="zh-Hans"]{
  --font-display: 'Noto Serif SC', serif;
  --font-body: 'Noto Sans SC', sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-primary);
  background: var(--bg-main);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; }

h1, h2, h3{
  font-family: var(--font-display);
  color: var(--brand-primary);
  line-height: 1.35;
  margin: 0;
  font-weight: 600;
}

/* subtle fine paper texture + faint guilloché wash behind everything */
body{
  background-image:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(36,74,106,0.05), transparent 60%),
    radial-gradient(ellipse 700px 500px at -5% 110%, rgba(79,127,163,0.05), transparent 55%);
  background-attachment: fixed;
}

.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------
   Header / nav — styled like a document header strip
--------------------------------------------------------------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,243,0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.header-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.9rem 1.75rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.logo{
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.logo picture{ display: block; }
.logo img{
  display: block;
  width: auto;
  object-fit: contain;
}
.logo .logo-full{ height: 34px; }
.logo .logo-mark-icon{ display: none; height: 34px; }

@media (max-width: 640px){
  .logo .logo-full{ display: none; }
  .logo .logo-mark-icon{ display: block; }
}
nav{ display:flex; align-items:center; gap:2rem; }
nav ul{ list-style:none; display:flex; gap:1.85rem; margin:0; padding:0; align-items:center; flex-wrap:wrap; }
nav a{ color: var(--ink-secondary); font-weight:500; font-size:0.95rem; text-decoration:none; position:relative; padding-bottom:2px; transition: color 0.15s ease;}
nav a:not(.btn):not(.lang-switcher a):hover{ color: var(--brand-primary); }
nav a.current{ color: var(--brand-primary); font-weight:700; }
nav a.current::after{
  content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px; background: var(--brand-accent);
}
/* "お問い合わせ" / Contact — always the last nav item, styled as a light CTA pill */
nav ul li:last-child a{
  padding: 0.4rem 0.95rem;
  border: 1.2px solid var(--brand-primary);
  border-radius: 999px;
  color: var(--brand-primary);
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}
nav ul li:last-child a:hover,
nav ul li:last-child a.current{
  background: var(--brand-primary);
  color: var(--bg-white);
}
nav ul li:last-child a.current::after{ display:none; }

.lang-switcher{
  display:flex; align-items:center; gap:0.15rem;
  font-family: var(--font-mono); font-size:0.76rem; letter-spacing:0.03em;
  border: 1px solid var(--border-light); border-radius: 999px;
  padding: 0.2rem; background: var(--bg-white);
}
.lang-switcher a{
  padding:0.22rem 0.6rem; border-radius: 999px;
  color: var(--ink-secondary); transition: background 0.15s ease, color 0.15s ease;
}
.lang-switcher a.active{ background: var(--brand-primary); color:var(--bg-white); }
.lang-switcher a:not(.active):hover{ color: var(--brand-primary); }

/* ---------------------------------------------------------------
   Buttons
--------------------------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; gap:0.6rem;
  background: var(--brand-primary); color: var(--bg-white) !important;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600; text-decoration:none; font-size:0.98rem;
  border: 1px solid var(--brand-primary);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  cursor:pointer;
  font-family: var(--font-body);
}
.btn:hover{ background: var(--brand-primary-dark); border-color: var(--brand-primary-dark); box-shadow: 0 6px 16px rgba(79,127,163,0.3); transform: translateY(-1px); }
.btn-outline{
  background: transparent; color: var(--brand-primary) !important; border: 1.4px solid var(--brand-primary);
}
.btn-outline:hover{ background: var(--brand-primary); color: var(--bg-white) !important; box-shadow:none; }
.btn-arrow{ transition: transform 0.18s ease; display:inline-block; }
.btn:hover .btn-arrow{ transform: translateX(3px); }

/* ---------------------------------------------------------------
   Hero
--------------------------------------------------------------- */
.hero{
  max-width: var(--container);
  margin: 0 auto;
  padding: 4.5rem 1.75rem 3.5rem;
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem;
  align-items:center;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:0.55rem;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing:0.06em;
  color: var(--brand-primary); text-transform:uppercase;
  background: var(--brand-light);
  border: 1px solid rgba(106,154,188,0.35);
  padding: 0.35rem 0.75rem; border-radius: 2px; margin-bottom:1.4rem;
}
.eyebrow::before{ content:"●"; font-size:0.55rem; }
.hero h1{
  font-size: clamp(1.9rem, 3.1vw, 2.65rem);
  letter-spacing: 0.01em;
  margin-bottom: 1.3rem;
  max-width: 21ch;
  text-wrap: balance;
}
.hero .lead{
  font-size: 1.1rem; color: var(--ink-secondary); max-width: 46ch; margin-bottom: 2rem;
}
.hero-ctas{ display:flex; gap:1rem; flex-wrap:wrap; margin-bottom: 2.6rem; }

/* Product-metrics strip: numbered, divided, no cards */
.hero-stats{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px dashed var(--border-light); padding-top: 1.5rem;
}
.hero-stats .stat{ padding-right: 1.5rem; border-right: 1px solid var(--border-light); }
.hero-stats .stat:last-child{ border-right:none; padding-right:0; }
.hero-stats .stat:not(:first-child){ padding-left: 1.5rem; }
.hero-stats .stat-no{
  display:block; font-family: var(--font-mono); font-size:0.72rem; color: var(--brand-gold);
  letter-spacing:0.09em; margin-bottom:0.6rem;
}
.hero-stats .stat strong{ display:block; font-size:1.5rem; line-height:1.2; color:var(--brand-primary); font-family: var(--font-display); margin-bottom:0.35rem; }
.hero-stats .stat .stat-label{ font-size:0.78rem; color: var(--ink-secondary); letter-spacing:0.01em; display:block; }

/* Detailed variant: three service-value cards (JA homepage hero) —
   reuses the site's standard card treatment (bg / border / radius /
   shadow) instead of the plain divided metrics-strip look above. */
.hero-stats--detailed{ border-top:none; padding-top:0; gap:0.9rem; }
.hero-stats--detailed .stat{
  display:flex; flex-direction:column;
  padding: 1.4rem 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
}
.hero-stats--detailed .stat:last-child{ border-right:1px solid var(--border-light); padding-right:1rem; }
.hero-stats--detailed .stat:not(:first-child){ padding-left:1rem; }
.hero-stats--detailed .stat strong{ font-size:0.98rem; line-height:1.4; margin-bottom:0.5rem; }
.hero-stats--detailed .stat-desc{
  display:block; font-size:0.9rem; font-weight:600; color: var(--ink-primary);
  line-height:1.5; margin-bottom:0.55rem;
}
.hero-stats--detailed .stat .stat-label{ font-size:0.8rem; line-height:1.6; }

/* Hero visual: the OTF roundel is a purely decorative brand mark — an
   abstract emblem, not a status readout. It carries no live processing
   state or system-specific claims, since those are implementation
   details that may change. */
.hero-visual{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1rem; }
.hero-stamp{
  width: min(120px, 100%);
  color: var(--stamp-ink);
  opacity: 0.92;
  animation: stamp-in 0.85s cubic-bezier(.2,.9,.25,1.05) both;
  animation-delay: 0.15s;
}
@keyframes stamp-in{
  0%{ opacity:0; transform: scale(1.5) rotate(-8deg); }
  60%{ opacity:0.92; }
  100%{ opacity:0.92; transform: scale(1) rotate(-4deg); }
}
@media (prefers-reduced-motion: reduce){
  .hero-stamp{ animation: none; transform: rotate(-4deg); }
}
.hero-stamp-ref{
  font-family: var(--font-mono); font-size:0.72rem; letter-spacing:0.04em;
  color: var(--ink-muted); text-align:center;
}
.hero-stamp-ref span{ color: var(--ink-secondary); }

/* ---------------------------------------------------------------
   Section scaffolding — full-bleed background bands via a wrapper,
   so vertical rhythm reads as distinct zones rather than one long page.
--------------------------------------------------------------- */
section{ padding: 0; }
.section-inner{ max-width: var(--container); margin: 0 auto; padding: 6.5rem 1.75rem; }
.section-head{ max-width: 62ch; margin-bottom: 2.75rem; }
.section-head .eyebrow{ margin-bottom: 1rem; }
.section-head h2{ font-size: clamp(1.5rem, 2.3vw, 1.9rem); margin-bottom: 0.85rem; text-wrap: balance; }
.section-head p{ color: var(--ink-secondary); font-size: 1.02rem; }

.section-white{ background: var(--bg-white); border-top: 1px solid var(--border-light); }
.band{ background: var(--bg-section); border-top: 1px solid var(--border-light); }
.band-ink{ background: var(--ink-primary); color: var(--bg-main); border-top: 1px solid var(--border-light); }
.band-ink h2, .band-ink h3{ color: var(--bg-main); }
.band-ink .section-head p{ color: rgba(250,246,238,0.72); }

/* ---------------------------------------------------------------
   Process strip — genuinely sequential, numbering earns its keep
--------------------------------------------------------------- */
.process{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--border-light); border-radius: var(--radius-card); overflow:hidden;
  background: var(--bg-white);
  box-shadow: var(--card-shadow);
}
.process-step{
  padding: 1.9rem 1.6rem; position:relative;
  border-right: 1px dashed var(--border-light);
}
.process-step:last-child{ border-right:none; }
.process-step .step-icon{
  width:26px; height:26px; margin-bottom:0.9rem;
  fill:none; stroke: var(--brand-primary); stroke-width:1.6;
  stroke-linecap:round; stroke-linejoin:round; display:block;
}
.process-step .step-no{
  font-family: var(--font-mono); font-size:0.78rem; color: var(--brand-gold);
  letter-spacing:0.08em; display:block; margin-bottom:0.9rem;
}
.process-step h3{ font-size:1.05rem; margin-bottom:0.55rem; color: var(--ink-primary); font-family: var(--font-body); font-weight:700;}
.process-step p{ font-size:0.9rem; color: var(--ink-secondary); margin:0; }
.process-step::after{
  content:"→"; position:absolute; right:-11px; top:50%; transform:translateY(-50%);
  color: var(--brand-gold); font-size:0.95rem; background:var(--bg-white); width:20px; text-align:center; z-index:2;
}
.process-step:last-child::after{ content:""; }

/* ---------------------------------------------------------------
   Two-phase flow — "store" hand-off to "system", not equal steps
--------------------------------------------------------------- */
.flow{
  display:grid; grid-template-columns: 1fr auto 1fr; gap:0; align-items:stretch;
  border: 1px solid var(--border-light); border-radius: var(--radius-card); overflow:hidden;
  background: var(--bg-white);
  box-shadow: var(--card-shadow);
}
.flow-phase{ padding: 2.6rem 2.5rem; }
.flow-phase--system{ background: var(--brand-light); }
.flow-phase-no{
  font-family: var(--font-mono); font-size:0.78rem; color: var(--brand-gold);
  letter-spacing:0.06em; display:block; margin-bottom:1.1rem;
}
.flow-icon{
  width:46px; height:46px; margin-bottom:1.2rem;
  fill:none; stroke: var(--brand-primary); stroke-width:1.5;
  stroke-linecap:round; stroke-linejoin:round; display:block;
}
.flow-phase h3{ font-size:1.15rem; margin-bottom:0.7rem; color: var(--ink-primary); font-family: var(--font-body); font-weight:700; }
.flow-phase p{ font-size:0.95rem; color: var(--ink-secondary); margin:0 0 1.3rem; }
.flow-keywords{ display:flex; flex-wrap:wrap; gap:0.5rem; list-style:none; margin:0; padding:0; }
.flow-keywords li{
  font-family: var(--font-mono); font-size:0.75rem; color: var(--brand-primary);
  background: var(--brand-light); border:1px solid rgba(106,154,188,0.35);
  padding:0.3rem 0.7rem; border-radius:999px;
}
.flow-phase--system .flow-keywords li{ background: var(--bg-white); }
.flow-arrow{
  display:flex; align-items:center; justify-content:center;
  color: var(--brand-gold); font-size:1.5rem; padding: 0 0.4rem; width:3.2rem;
  background: var(--bg-section);
  border-left:1px dashed var(--border-light); border-right:1px dashed var(--border-light);
}

/* ---------------------------------------------------------------
   Feature grid — seal-marked checklist cards
--------------------------------------------------------------- */
.feature-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.feature-grid--3{ grid-template-columns: repeat(3, 1fr); }
.feature-card{
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 1.9rem 1.9rem 1.7rem;
  position: relative;
}
.feature-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: repeating-linear-gradient(90deg, var(--brand-primary) 0 10px, transparent 10px 16px);
}
.feature-seal{
  width:38px; height:38px; border-radius:50%; border:1.3px solid var(--brand-primary);
  display:flex; align-items:center; justify-content:center;
  font-size:1.05rem; color:var(--brand-primary); margin-bottom:1.1rem; flex:none;
  font-family: var(--font-display);
}
.feature-card h3{ font-size:1.1rem; color: var(--ink-primary); font-family: var(--font-body); font-weight:700; margin-bottom:0.6rem; }
.feature-card p{ color: var(--ink-secondary); font-size:0.94rem; margin:0; }

/* ---------------------------------------------------------------
   Callout / compliance teaser
--------------------------------------------------------------- */
.callout{
  display:grid; grid-template-columns: auto 1fr auto; gap: 1.75rem; align-items:center;
  background: var(--bg-white); border:1px solid var(--border-light); border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 1.9rem 2.1rem;
}
.callout .ring{
  width:56px; height:56px; border-radius:50%; border:1.5px dashed var(--brand-gold);
  display:flex; align-items:center; justify-content:center; flex:none;
  font-family: var(--font-display); color:var(--brand-gold); font-size:1.4rem;
}
.callout h3{ font-size:1.05rem; color:var(--ink-primary); font-family:var(--font-body); font-weight:700; margin-bottom:0.3rem; }
.callout p{ margin:0; color:var(--ink-secondary); font-size:0.92rem; }

/* ---------------------------------------------------------------
   CTA band
--------------------------------------------------------------- */
.cta-band{
  background: var(--brand-primary);
  color: var(--bg-main);
  text-align:center;
  padding: 5rem 1.75rem;
}
.cta-band h2{ color: var(--bg-white); font-size: clamp(1.4rem,2.4vw,1.85rem); margin-bottom:0.9rem; }
.cta-band p{ color: rgba(250,246,238,0.78); max-width:56ch; margin: 0 auto 1.8rem; }

/* ---------------------------------------------------------------
   Footer — document-footer styling
--------------------------------------------------------------- */
footer{ background: var(--footer-bg); color: var(--footer-text-muted); }
.footer-inner{
  max-width: var(--container); margin:0 auto; padding: 2.6rem 1.75rem 2rem;
  display:flex; justify-content:space-between; align-items:flex-end; gap:1.5rem; flex-wrap:wrap;
  border-bottom: 1px solid var(--footer-border);
}
footer .foot-links{ list-style:none; display:flex; gap:1.5rem; margin:0; padding:0; font-size:0.9rem; }
footer .foot-links a{ text-decoration:none; color: var(--footer-text-muted); }
footer .foot-links a:hover{ color: var(--footer-text); }
.footer-bottom{
  max-width: var(--container); margin:0 auto; padding: 1.1rem 1.75rem;
  display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  font-family: var(--font-mono); font-size:0.76rem; letter-spacing:0.02em; color: var(--footer-text-muted);
}

/* ---------------------------------------------------------------
   Document-style page (compliance) — gazette / notice look
--------------------------------------------------------------- */
.doc-page{ max-width: 840px; margin:0 auto; padding: 3rem 1.75rem 5rem; }
.doc-head{ text-align:center; margin-bottom: 3rem; padding-bottom: 2.2rem; border-bottom: 1px solid var(--border-light); position:relative;}
.doc-seal{ width:120px; margin: 0 auto 1.4rem; color: var(--stamp-ink); opacity:0.92; }
.doc-head h1{ font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin-bottom: 0.7rem; }
.doc-head .doc-meta{ font-family: var(--font-mono); font-size:0.82rem; color: var(--ink-secondary); letter-spacing:0.02em; }
.doc-citation{
  font-size:0.85rem; color: var(--ink-secondary); text-align:center; max-width:70ch; margin:0 auto 2.6rem;
  padding-bottom: 1.6rem; border-bottom: 1px solid var(--border-light); line-height:1.7;
}
.contact-nudge{
  margin-top: 2.2rem; font-size:0.95rem; color: var(--ink-secondary); text-align:center;
  padding-top: 1.8rem; border-top: 1px solid var(--border-light);
}
.contact-nudge a{ color: var(--brand-primary); font-weight:600; text-decoration:underline; }

.doc-page h2{
  font-size: 1.28rem; margin: 2.6rem 0 1.1rem;
  display:flex; align-items:baseline; gap:0.85rem;
}
.doc-page h2 .clause-no{
  font-family: var(--font-mono); font-size:0.85rem; color: var(--brand-gold); font-weight:500; letter-spacing:0.03em; flex:none;
}
.doc-page h3{
  font-size: 1.05rem; margin: 1.9rem 0 0.9rem; color: var(--ink-primary);
  font-family: var(--font-body); font-weight:700;
  display:flex; align-items:baseline; gap:0.7rem;
}
.doc-page h3 .sub-no{
  font-family: var(--font-mono); font-size:0.8rem; color: var(--brand-primary); font-weight:600; flex:none;
  border: 1px solid var(--brand-primary); border-radius:50%; width:1.55rem; height:1.55rem;
  display:inline-flex; align-items:center; justify-content:center; letter-spacing:0;
}
.doc-page h4{
  font-size: 0.98rem; margin: 1.5rem 0 0.7rem; color: var(--ink-primary);
  font-family: var(--font-body); font-weight:700;
}
.doc-page h4 .item-no{ color: var(--brand-gold); font-family: var(--font-mono); font-weight:500; margin-right:0.4rem; }
.doc-page > p{ color: var(--ink-secondary); }
.doc-page ul{ padding-left: 1.3rem; color: var(--ink-secondary); }
.doc-page li{ margin-bottom: 0.85rem; padding-left:0.3rem; }
.doc-page li strong{ color: var(--ink-primary); }
.doc-page li::marker{ color: var(--brand-gold); }
.doc-page .lead-note{ font-size:0.92rem; color:var(--ink-secondary); background:var(--bg-white); border:1px solid var(--border-light); border-radius:2px; padding:1.1rem 1.4rem; margin-bottom:1.6rem; }

.notice-box{
  background: var(--bg-section); border: 1px solid var(--brand-gold);
  border-left: 4px solid var(--brand-secondary);
  padding: 1.5rem 1.7rem; border-radius: 2px; margin-top: 1.8rem;
  font-size: 0.95rem; color: var(--ink-primary);
}
.notice-box.notice-positive{ border-left-color: var(--status-success); }
.notice-box .notice-label{
  display:block; font-family: var(--font-mono); font-size:0.78rem; letter-spacing:0.06em;
  color: var(--brand-primary); margin-bottom:0.6rem; text-transform:uppercase;
}
.notice-box.notice-positive .notice-label{ color: var(--status-success); }

.contact-strip{
  margin-top: 2.8rem; padding: 1.7rem 1.9rem; background: var(--bg-white);
  border:1px solid var(--border-light); border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem;
}
.contact-strip .email{ font-family: var(--font-mono); color: var(--brand-primary); font-size:1.02rem; }
.contact-strip p{ margin:0 0 0.3rem; font-size:0.9rem; color: var(--ink-secondary); }
.contact-strip .lead{ margin:0; font-size:0.95rem; color: var(--ink-primary); max-width:40ch; }

/* ---------------------------------------------------------------
   Contact / application form page
--------------------------------------------------------------- */
.contact-layout{
  max-width: var(--container); margin:0 auto; padding: 3.5rem 1.75rem 5rem;
  display:grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem;
}
.contact-intro .eyebrow{ margin-bottom:1.2rem; }
.contact-intro h1{ font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom:1.1rem; }
.contact-intro p{ color: var(--ink-secondary); margin-bottom: 1.8rem; }
.contact-intro .info-line{
  display:flex; gap:0.9rem; padding: 1rem 0; border-top:1px solid var(--border-light);
  font-size:0.92rem;
}
.contact-intro .info-line:last-of-type{ border-bottom:1px solid var(--border-light); }
.contact-intro .info-line .ico{ font-family:var(--font-mono); color:var(--brand-gold); flex:none; }

.form-card{
  background: var(--bg-white); border:1px solid var(--border-light); border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 2.3rem 2.3rem 2.1rem; position:relative;
}
.form-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: repeating-linear-gradient(90deg, var(--brand-primary) 0 10px, transparent 10px 16px);
}
.form-card .form-kicker{
  font-family: var(--font-mono); font-size:0.78rem; color: var(--ink-secondary); letter-spacing:0.04em;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:0.4rem 1rem;
  margin-bottom:1.6rem; padding-bottom:1.1rem; border-bottom:1px dashed var(--border-light);
}
form{ display:flex; flex-direction:column; gap:1.3rem; margin-top:0; }
.field{ display:flex; flex-direction:column; gap:0.45rem; }
.field label{ font-weight:600; font-size:0.9rem; color: var(--ink-primary); }
.field .opt{ font-weight:400; color: var(--ink-secondary); font-size:0.82rem; }
.field input, .field select, .field textarea{
  padding:0.75rem 0.9rem; border:1px solid var(--border-light); border-radius: 4px;
  font-size:0.98rem; width:100%; font-family: var(--font-body); background: var(--bg-main);
  color: var(--ink-primary);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--brand-primary); background: var(--brand-light); outline:none;
}
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:1.3rem; }
.honeypot{ display:none !important; }
form button[type="submit"]{
  background: var(--brand-primary); color:var(--bg-white); padding:1rem; border:none; border-radius: var(--radius);
  font-size:1.02rem; cursor:pointer; font-weight:700; margin-top:0.6rem;
  font-family: var(--font-body);
  transition: background 0.18s ease;
}
form button[type="submit"]:hover{ background: var(--brand-primary-dark); }
form button[type="submit"]:disabled{ opacity:0.65; cursor:not-allowed; }
.form-note{ font-size:0.8rem; color: var(--ink-secondary); text-align:center; margin-top:-0.2rem; }
.cf-turnstile{ margin-top:-0.2rem; }
.form-status{
  min-height:1.3em; font-size:0.88rem; line-height:1.4; margin-top:-0.3rem;
  color: var(--ink-secondary);
}
.form-status.is-success{ color: var(--status-success); }
.form-status.is-error{ color: var(--status-error); }

/* ---------------------------------------------------------------
   Responsive
--------------------------------------------------------------- */
@media (max-width: 880px){
  .hero{ grid-template-columns: 1fr; padding-top:2.8rem; }
  .hero h1{ max-width:none; }
  .hero-visual{ order:-1; margin-bottom:0.5rem; }
  .hero-stamp{ width:100px; }
  .section-inner{ padding: 4.5rem 1.75rem; }
  .feature-grid{ grid-template-columns:1fr; }
  .process{ grid-template-columns:1fr; }
  .process-step{ border-right:none; border-bottom:1px dashed var(--border-light); }
  .process-step:last-child{ border-bottom:none; }
  .process-step::after{ content:"↓"; right:auto; left:50%; top:auto; bottom:-11px; transform:translateX(-50%); }
  .process-step:last-child::after{ content:""; }
  .flow{ grid-template-columns:1fr; }
  .flow-arrow{
    width:auto; padding:0.6rem 0; font-size:1.3rem;
    border-left:none; border-right:none;
    border-top:1px dashed var(--border-light); border-bottom:1px dashed var(--border-light);
  }
  .flow-arrow span{ display:inline-block; transform: rotate(90deg); }
  .callout{ grid-template-columns:1fr; text-align:center; }
  .callout .ring{ margin:0 auto; }
  .contact-layout{ grid-template-columns:1fr; padding-top:2.8rem; }
  .field-row{ grid-template-columns:1fr; }
  nav ul{ gap:1.1rem; }
}
@media (max-width: 620px){
  .header-inner{ flex-wrap:wrap; row-gap:0.7rem; padding:0.8rem 1.2rem; }
  nav{ width:100%; flex-direction:column; align-items:flex-start; gap:0.7rem; }
  nav ul{ width:100%; gap:0.9rem 1.1rem; flex-wrap:wrap; }
  .lang-switcher{ width:100%; justify-content:flex-start; }
  .hero, .section-inner{ padding-left:1.2rem; padding-right:1.2rem; }
  .hero-stats{ grid-template-columns: 1fr; gap:1rem; }
  .hero-stats .stat{ padding: 1rem 0 0; border-right:none; border-top:1px solid var(--border-light); }
  .hero-stats .stat:first-child{ border-top:none; padding-top:0; }
  .hero-stats .stat:not(:first-child){ padding-left:0; }
  .hero-stats--detailed{ gap:1rem; }
  .hero-stats--detailed .stat{
    border:1px solid var(--border-light); border-radius: var(--radius-card);
    box-shadow: var(--card-shadow); background: var(--bg-white);
    padding:1.4rem 1.3rem;
  }
  .hero-stats--detailed .stat:first-child{ padding-top:1.4rem; border-top:1px solid var(--border-light); }
  .hero-stats--detailed .stat:not(:first-child){ padding-left:1.3rem; }
  .footer-inner{ flex-direction:column; align-items:flex-start; }
}
