/* PenguinCut marketing landing page — matches the app's light Toss-style design system. */

:root {
  color-scheme: light;
  --page: #f8f9fa;
  --surface: #ffffff;
  --surface-hover: #f8fafc;
  --muted-bg: #f1f5f9;
  --foreground: #0f172a;
  --muted: #64748b;
  --faint: #94a3b8;
  --border: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-strong: #cbd5e1;
  --ink: #0f172a;
  --ink-hover: #1e293b;
  --accent: #0f172a;
  --accent-strong: #0f172a;
  --accent-soft: #f1f5f9;
  --accent-line: #cbd5e1;
  --radius: 16px;
  --radius-button: 10px;
  --container: 1180px;
  --header-height: 68px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans JP",
    "Noto Sans SC", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    monospace;
  --shadow-card: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-raised: 0 12px 32px rgba(15, 23, 42, 0.1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--foreground);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Korean wraps at phrase boundaries, not between every syllable. */
html[lang="ko"] body {
  word-break: keep-all;
  word-break: auto-phrase;
  overflow-wrap: break-word;
}

/* Japanese keeps katakana/kanji phrases together where supported. */
html[lang="ja"] body {
  word-break: auto-phrase;
}

html[lang="ja"] .hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  text-wrap: wrap;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

::selection {
  background: var(--ink);
  color: #ffffff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Shared type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.accent {
  color: var(--ink);
  background-image: linear-gradient(transparent 62%, var(--accent-line) 62%, var(--accent-line) 94%, transparent 94%);
}

.section {
  position: relative;
  padding: 96px 0;
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border-subtle);
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-lead {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 62ch;
}

.section-note {
  margin-top: 30px;
  padding-left: 16px;
  border-left: 2px solid var(--border-strong);
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 74ch;
}

/* ---------- Buttons (mirrors the app's .btn-primary / .btn-secondary) ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-button);
  background: var(--ink);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  transition: transform 160ms ease;
}

.button:hover {
  background: var(--ink-hover);
  border-color: var(--ink-hover);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.28);
}

.button:active {
  transform: scale(0.98);
}

.button:hover svg {
  transform: translateX(3px);
}

.button-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--foreground);
}

.button-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  box-shadow: none;
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.84rem;
}

.button-large {
  min-height: 54px;
  padding: 0 26px;
  font-size: 1rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav > a:not(.button) {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 150ms ease;
}

.site-nav > a:not(.button):hover {
  color: var(--foreground);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--foreground);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ---------- Language switcher ---------- */

.lang-switcher {
  position: relative;
}

.lang-switcher summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.lang-switcher summary::-webkit-details-marker {
  display: none;
}

.lang-switcher summary:hover {
  color: var(--foreground);
  border-color: var(--border-strong);
}

.lang-switcher summary svg {
  width: 15px;
  height: 15px;
}

.lang-switcher summary svg:last-child {
  width: 13px;
  height: 13px;
  transition: transform 150ms ease;
}

.lang-switcher[open] summary {
  color: var(--foreground);
  border-color: var(--border-strong);
}

.lang-switcher[open] summary svg:last-child {
  transform: rotate(180deg);
}

.lang-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  width: 190px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-raised);
}

.lang-panel a {
  display: block;
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  transition: background-color 120ms ease, color 120ms ease;
}

.lang-panel a:hover {
  background: var(--muted-bg);
  color: var(--foreground);
}

.lang-panel a[aria-current="page"] {
  color: var(--accent-strong);
  background: var(--accent-soft);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 56px;
}

.hero-copy,
.hero-stage {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero h1 {
  margin: 14px 0 20px;
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  color: var(--faint);
  font-size: 0.84rem;
  font-weight: 500;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-list svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

/* ---------- Hero studio mock (styled like the real app window) ---------- */

.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  perspective: 1200px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.orb-a {
  top: 2%;
  right: 0;
  width: 260px;
  height: 260px;
  background: rgba(15, 23, 42, 0.08);
  animation: orbFloat 9s ease-in-out infinite;
}

.orb-b {
  bottom: 4%;
  left: 2%;
  width: 220px;
  height: 220px;
  background: rgba(15, 23, 42, 0.07);
  animation: orbFloat 11s ease-in-out infinite reverse;
}

.studio-mock {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.16),
    0 4px 12px rgba(15, 23, 42, 0.06);
  transform: rotateY(-3deg) rotateX(1deg);
  transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-stage:hover .studio-mock {
  transform: rotateY(0) rotateX(0);
}

.studio-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-hover);
}

.chrome-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}

.chrome-dot:first-child {
  background: var(--ink);
}

.chrome-title {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.chrome-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--faint);
  font-size: 0.62rem;
  font-weight: 600;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pulse 2.4s ease-in-out infinite;
}

.studio-body {
  padding: 14px;
}

.studio-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 11px;
}

.studio-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--muted-bg);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
}

.studio-pill-accent {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.studio-main {
  display: grid;
  grid-template-columns: 1fr 148px;
  gap: 11px;
}

/* The video canvas stays dark — real footage is dark. */
.preview {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 11px;
  border: 1px solid rgba(15, 23, 42, 0.35);
  background:
    radial-gradient(120% 100% at 18% 0%, rgba(226, 232, 240, 0.22), transparent 54%),
    radial-gradient(90% 90% at 82% 100%, rgba(49, 130, 246, 0.22), transparent 56%),
    linear-gradient(140deg, #1c2530 0%, #0d1320 58%, #17202b 100%);
}

.preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.6;
}

.preview::after {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
}

.preview-glow {
  position: absolute;
  top: -32%;
  right: -20%;
  width: 68%;
  height: 80%;
  border-radius: 50%;
  background: rgba(226, 232, 240, 0.14);
  filter: blur(30px);
}

.preview-caption {
  position: absolute;
  left: 12%;
  bottom: 19%;
  z-index: 2;
  max-width: 70%;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}

.preview-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(13, 19, 32, 0.55);
  color: #ffffff;
  backdrop-filter: blur(6px);
  transform: translate(-50%, -50%);
}

.preview-play svg {
  width: 14px;
  height: 14px;
  margin-left: 2px;
}

.preview-badge {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 2;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(13, 19, 32, 0.62);
  color: #e2e8f0;
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}

.studio-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--muted-bg);
}

.side-label {
  color: var(--faint);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-value {
  color: var(--foreground);
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.01em;
}

.side-meter {
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--border);
}

.side-meter i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f172a, #475569);
}

.side-block-accent {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-color: var(--ink);
  background: var(--ink);
}

.side-block-accent .side-label {
  color: #ffffff;
  font-size: 0.58rem;
}

.side-arrow {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.side-arrow svg {
  width: 11px;
  height: 11px;
}

.timeline {
  margin-top: 11px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-hover);
}

.timeline-head,
.timeline-ruler {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.04em;
}

.timeline-head {
  margin-bottom: 7px;
}

.timeline-track {
  position: relative;
  display: flex;
  gap: 3px;
  height: 34px;
}

.tl-clip {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--border-strong), var(--border));
}

.tl-clip-1 {
  width: 16%;
}

.tl-clip-2 {
  width: 22%;
}

.tl-clip-3 {
  width: 27%;
}

.tl-clip-4 {
  width: 18%;
}

.tl-clip-5 {
  width: 13%;
}

.tl-clip-hot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  box-shadow: 0 0 18px rgba(15, 23, 42, 0.4);
}

.tl-clip-hot i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: scan 3.4s ease-in-out infinite;
}

.tl-playhead {
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: 61%;
  width: 2px;
  background: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.tl-playhead::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.timeline-ruler {
  margin-top: 6px;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: var(--shadow-raised);
  animation: floatCard 7s ease-in-out infinite;
}

.float-card-a {
  top: 7%;
  right: -3%;
}

.float-card-b {
  bottom: 4%;
  left: -4%;
  animation-delay: -3.2s;
}

.float-card strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--foreground);
}

.float-card small {
  display: block;
  margin-top: 1px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.54rem;
}

.float-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--muted-bg);
  color: var(--ink);
}

.float-icon svg {
  width: 16px;
  height: 16px;
}

.float-icon-accent {
  background: var(--ink);
  color: #ffffff;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  min-height: 58px;
  padding-block: 14px;
}

.trust-strip span {
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  position: relative;
  padding: 26px 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-raised);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--muted-bg);
  color: var(--ink);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ---------- Steps ---------- */

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

.step-card {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 42px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--ink);
}

.step-number {
  display: block;
  margin-bottom: 36px;
  color: var(--border-strong);
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
}

.step-card h3 {
  margin-bottom: 9px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.step-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- Use cases ---------- */

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.use-case-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.use-case-card:first-child {
  border-color: var(--ink);
  background: var(--ink);
}

.use-case-card:first-child h3,
.use-case-card:first-child p {
  color: #ffffff;
}

.use-case-card:first-child p {
  color: rgba(255, 255, 255, 0.72);
}

.use-case-index {
  position: absolute;
  top: 16px;
  right: 22px;
  color: var(--muted-bg);
  font-family: var(--mono);
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.08em;
}

.use-case-card:first-child .use-case-index {
  color: rgba(255, 255, 255, 0.16);
}

.use-case-card h3 {
  position: relative;
  max-width: 82%;
  margin-bottom: 9px;
  font-size: 1.18rem;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.use-case-card p {
  position: relative;
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.66;
}

/* ---------- Languages ---------- */

.language-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.language-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 104px;
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.language-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-raised);
}

.language-card[aria-current="page"] {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  box-shadow: none;
}

.language-native {
  font-size: 1.06rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.language-label {
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 500;
}

.language-arrow {
  position: absolute;
  right: 15px;
  bottom: 15px;
  color: var(--faint);
  opacity: 0.7;
  transition: transform 160ms ease, opacity 160ms ease, color 160ms ease;
}

.language-arrow svg {
  width: 16px;
  height: 16px;
}

.language-card:hover .language-arrow {
  transform: translateX(2px);
  opacity: 1;
  color: var(--accent);
}

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.faq-head {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 0;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  transition: transform 200ms ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 38px 22px 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- CTA (single inverse navy block, like the app's primary button) ---------- */

.cta-section {
  padding: 24px 0 96px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 72px 32px 64px;
  border-radius: 24px;
  background: var(--ink);
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: -54%;
  left: 50%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  filter: blur(60px);
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-panel .eyebrow {
  position: relative;
  color: #ffffff;
}

.cta-panel .eyebrow-dot {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.cta-panel h2 {
  position: relative;
  max-width: 820px;
  margin: 14px auto 14px;
  color: #ffffff;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.cta-lead {
  position: relative;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.03rem;
}

.cta-panel .button {
  position: relative;
  border-color: #ffffff;
  background: #ffffff;
  color: var(--ink);
}

.cta-panel .button:hover {
  background: #f1f5f9;
  border-color: #f1f5f9;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cta-note {
  position: relative;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.79rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 26px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  gap: 44px;
}

.footer-brand p {
  max-width: 340px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.footer-col h2 {
  margin-bottom: 12px;
  color: var(--faint);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 140ms ease;
}

.footer-col a:hover {
  color: var(--foreground);
}

.footer-col a[aria-current="page"] {
  color: var(--accent-strong);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  color: var(--faint);
  font-size: 0.76rem;
}

.footer-bottom a {
  transition: color 140ms ease;
}

.footer-bottom a:hover {
  color: var(--foreground);
}

/* ---------- Motion ---------- */

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-12px, 14px, 0) scale(1.05);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@keyframes scan {
  0% {
    transform: translateX(-120%);
  }
  55%,
  100% {
    transform: translateX(120%);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-stage {
    min-height: 440px;
    max-width: 620px;
    margin-inline: auto;
  }

  .studio-mock {
    transform: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .language-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .faq-head {
    position: static;
    margin-bottom: 0;
  }
}

@media (max-width: 840px) {
  :root {
    --header-height: 62px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-raised);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a:not(.button) {
    padding: 11px 10px;
    border-radius: 10px;
    font-size: 0.94rem;
  }

  .site-nav > a:not(.button):hover {
    background: var(--muted-bg);
  }

  .lang-switcher {
    margin-top: 6px;
  }

  .lang-switcher summary {
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
  }

  .lang-panel {
    position: static;
    width: 100%;
    margin-top: 6px;
    border-color: var(--border);
    background: var(--muted-bg);
    box-shadow: none;
  }

  .lang-panel a:hover {
    background: var(--surface);
  }

  .site-nav .button-small {
    width: 100%;
    margin-top: 10px;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .step-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-card {
    padding: 22px;
  }

  .step-number {
    margin-bottom: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .hero {
    padding: 52px 0 42px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10.2vw, 3.3rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-list {
    flex-direction: column;
    gap: 8px;
  }

  .hero-stage {
    min-height: 380px;
  }

  .studio-main {
    grid-template-columns: 1fr;
  }

  .studio-side {
    flex-direction: row;
  }

  .side-block {
    flex: 1;
  }

  .side-block-accent {
    flex: 0 0 42%;
  }

  .float-card-a {
    top: 1%;
    right: -2%;
  }

  .float-card-b {
    bottom: 0;
    left: -2%;
  }

  .float-card {
    padding: 8px 10px;
  }

  .float-card strong {
    font-size: 0.61rem;
  }

  .float-card small {
    font-size: 0.49rem;
  }

  .float-icon {
    width: 26px;
    height: 26px;
  }

  .trust-strip-inner {
    justify-content: flex-start;
  }

  .feature-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .language-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-panel {
    padding: 50px 22px 44px;
    border-radius: 20px;
  }

  .cta-section {
    padding-bottom: 68px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 32px;
  }
}

@media (max-width: 460px) {
  .brand {
    font-size: 0.98rem;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .hero-stage {
    min-height: 330px;
  }

  .studio-chrome {
    padding: 9px 11px;
  }

  .chrome-status {
    display: none;
  }

  .studio-body {
    padding: 11px;
  }

  .studio-side {
    display: none;
  }

  .preview-caption {
    font-size: 0.68rem;
  }

  .float-card-a {
    top: -2%;
  }

  .float-card-b {
    bottom: -1%;
  }

  .timeline-ruler span:nth-child(2),
  .timeline-ruler span:nth-child(4) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
