/* FormFit SEO static pages — shared design system */
:root {
  --ff-bg: #070a0c;
  --ff-bg-elevated: #0f1418;
  --ff-surface: rgba(17, 22, 27, 0.84);
  --ff-border: rgba(148, 163, 184, 0.16);
  --ff-border-strong: rgba(0, 255, 198, 0.28);
  --ff-text: #e8edf2;
  --ff-muted: #9aa7b5;
  --ff-faint: #6b7785;
  --ff-cyan: #00ffc6;
  --ff-cyan-dim: rgba(0, 255, 198, 0.12);
  --ff-white: #ffffff;
  --ff-danger: #ff6b6b;
  --ff-radius: 14px;
  --ff-radius-sm: 10px;
  --ff-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --ff-max: 1080px;
  --ff-pad: clamp(20px, 4vw, 40px);
  --ff-font: "Manrope", "Noto Sans KR", "Noto Sans JP", "Noto Sans SC",
    "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  --ff-display: "Sora", "Manrope", "Noto Sans KR", "Noto Sans JP", "Noto Sans SC",
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ff-text);
  font-family: var(--ff-font);
  font-size: 17px;
  line-height: 1.75;
  background:
    radial-gradient(1000px 520px at 12% -10%, rgba(0, 255, 198, 0.14), transparent 58%),
    radial-gradient(900px 480px at 92% 8%, rgba(56, 189, 248, 0.1), transparent 55%),
    radial-gradient(700px 420px at 50% 100%, rgba(0, 255, 198, 0.06), transparent 60%),
    linear-gradient(180deg, #050708 0%, var(--ff-bg) 40%, #06090b 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 75%);
}

a {
  color: var(--ff-cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #7dffdf;
}

a:focus-visible {
  outline: 2px solid var(--ff-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.page-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(7, 10, 12, 0.78);
  border-bottom: 1px solid var(--ff-border);
}

.header-inner {
  max-width: var(--ff-max);
  margin: 0 auto;
  padding: 14px var(--ff-pad) 12px;
  display: grid;
  gap: 12px;
}

.header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ff-white);
  text-decoration: none;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 15px;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(0, 255, 198, 0.25);
}

.brand:hover {
  color: var(--ff-cyan);
}

.lang-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.lang-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--ff-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}

.lang-nav a:hover {
  color: var(--ff-cyan);
  background: var(--ff-cyan-dim);
  border-color: var(--ff-border-strong);
}

.lang-nav a[aria-current="true"] {
  color: #04110d;
  background: var(--ff-cyan);
  border-color: var(--ff-cyan);
}

.feature-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.feature-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ff-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
}

.feature-nav a:hover {
  color: var(--ff-white);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--ff-border);
}

main {
  max-width: var(--ff-max);
  margin: 0 auto;
  padding: 28px var(--ff-pad) 72px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--ff-faint);
  margin: 0 0 22px;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb a {
  color: var(--ff-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ff-cyan);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: #3f4b57;
}

.hero {
  position: relative;
  margin: 0 0 40px;
  padding: clamp(22px, 3.5vw, 36px);
  border: 1px solid var(--ff-border);
  border-radius: calc(var(--ff-radius) + 6px);
  background:
    radial-gradient(ellipse 70% 80% at 88% 20%, rgba(0, 255, 198, 0.14), transparent 55%),
    linear-gradient(145deg, rgba(0, 255, 198, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 70%),
    var(--ff-surface);
  box-shadow: var(--ff-shadow);
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
    gap: 36px;
  }
}

.brand-mark {
  margin: 0 0 14px;
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-form {
  color: var(--ff-cyan);
}

.brand-fit {
  color: var(--ff-white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--ff-cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  max-width: min(100%, 22ch);
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 3.8vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ff-white);
  overflow-wrap: anywhere;
  word-break: keep-all;
}

html[lang="de"] .hero h1,
html[lang="fr"] .hero h1,
html[lang="es"] .hero h1 {
  max-width: min(100%, 30ch);
  font-size: clamp(1.5rem, 3.2vw, 2.35rem);
}

.hero-lead {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  max-width: 62ch;
  color: #c5d0da;
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  line-height: 1.7;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  display: block;
  width: min(100%, 300px);
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(0, 255, 198, 0.12);
}

.hero-visual--wide img {
  width: min(100%, 420px);
  border-radius: 18px;
}

@media (max-width: 899px) {
  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    width: min(100%, 240px);
  }
}

.pill-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--ff-border-strong);
  background: var(--ff-cyan-dim);
  color: #b8fff0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cta-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--ff-cyan);
  color: #04110d;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--ff-cyan);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  color: #04110d;
  box-shadow: 0 10px 28px rgba(0, 255, 198, 0.25);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ff-cyan);
}

.btn-secondary:hover {
  color: var(--ff-cyan);
  background: var(--ff-cyan-dim);
}

.content-block {
  margin: 0 0 36px;
  padding: 8px 0 0;
}

.content-block h2 {
  margin: 0 0 14px;
  font-family: var(--ff-display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.3;
  color: var(--ff-white);
  letter-spacing: -0.01em;
}

.content-block > p {
  margin: 0 0 14px;
  max-width: 72ch;
  color: #c2ccd6;
  font-size: 1.05rem;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card-list li {
  margin: 0;
  padding: 18px 18px 16px;
  border-radius: var(--ff-radius);
  border: 1px solid var(--ff-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 55%),
    var(--ff-bg-elevated);
}

.card-list h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--ff-white);
}

.card-list p,
.card-list li {
  color: var(--ff-muted);
  font-size: 0.98rem;
}

.card-list > li > p {
  margin: 0;
}

.string-card-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.string-card-list li {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--ff-cyan);
  border-radius: 0 var(--ff-radius-sm) var(--ff-radius-sm) 0;
  background: rgba(255, 255, 255, 0.03);
  color: #d5dde6;
  font-size: 1rem;
}

.related-section {
  margin: 48px 0 24px;
}

.related-section h2 {
  margin: 0 0 16px;
  font-family: var(--ff-display);
  font-size: 1.45rem;
  color: var(--ff-white);
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: var(--ff-radius-sm);
  border: 1px solid var(--ff-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ff-text);
  text-decoration: none;
  font-weight: 650;
}

.link-list a::after {
  content: "→";
  color: var(--ff-cyan);
  font-weight: 700;
}

.link-list a:hover {
  border-color: var(--ff-border-strong);
  background: var(--ff-cyan-dim);
  color: var(--ff-white);
}

.store-band {
  margin: 48px 0 8px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: calc(var(--ff-radius) + 2px);
  border: 1px solid var(--ff-border-strong);
  background:
    radial-gradient(500px 180px at 10% 0%, rgba(0, 255, 198, 0.16), transparent 60%),
    linear-gradient(135deg, #0c1518, #0a1013 55%, #101820);
}

.store-band h2 {
  margin: 0 0 8px;
  font-family: var(--ff-display);
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  color: var(--ff-white);
}

.store-band p {
  margin: 0 0 18px;
  max-width: 58ch;
  color: #c5d0da;
}

.privacy-note {
  margin: 8px 0 24px;
  color: var(--ff-muted);
}

.site-footer {
  border-top: 1px solid var(--ff-border);
  background: rgba(5, 7, 9, 0.7);
}

.footer-inner {
  max-width: var(--ff-max);
  margin: 0 auto;
  padding: 28px var(--ff-pad) 40px;
  display: grid;
  gap: 18px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ff-white);
  text-decoration: none;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-nav a {
  color: var(--ff-muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
}

.footer-nav a:hover {
  color: var(--ff-cyan);
}

.footer-meta {
  color: var(--ff-faint);
  font-size: 13px;
}

@media (max-width: 960px) {
  .card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero h1 {
    max-width: none;
  }

  .card-list,
  .link-list {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .feature-nav {
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  main,
  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* GEO core soft enhance */
.geo-enhance .guide-direct-answer {
  margin: 0.5rem 0 1rem;
  max-width: 42rem;
  border-left: 3px solid var(--ff-cyan);
  padding-left: 1rem;
}
