/* GH International Group — makellc.co
   Pure static stylesheet. No build step, no external requests. */

:root {
  --bg: #07080a;
  --bg-2: #0b0d10;
  --surface: #0f1115;
  --surface-2: #14171c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f1f3f5;
  --muted: #a3a9b3;
  --dim: #7d838d;
  --accent: #b9f551;
  --accent-2: #5ee3d0;
  --accent-ink: #0b1202;
  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --pad: 24px;
  --sans: "Inter", "Segoe UI Variable Display", "Segoe UI Variable", "SF Pro Display",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Cascadia Mono", "JetBrains Mono", Menlo,
    Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

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

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

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

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

button {
  cursor: pointer;
}

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

::selection {
  background: rgba(185, 245, 81, 0.28);
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  transition: top 0.15s;
}

.skip:focus {
  top: 12px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 10, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: 1rem;
  white-space: nowrap;
}

.brand svg {
  width: 32px;
  height: 32px;
  flex: none;
}

.brand .brand-sub {
  color: var(--muted);
  font-weight: 500;
}

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

.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.15s, background-color 0.15s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav .nav-cta {
  margin-left: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  color: var(--text);
  border-radius: 999px;
}

.nav .nav-cta:hover {
  border-color: var(--accent);
  background: rgba(185, 245, 81, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.nav-toggle svg {
  margin: auto;
}

.nav-toggle .x {
  display: none;
}

.nav-toggle[aria-expanded="true"] .x {
  display: block;
}

.nav-toggle[aria-expanded="true"] .bars {
  display: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.975rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), background-color 0.15s, border-color 0.15s,
    box-shadow 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(185, 245, 81, 0);
}

.btn-primary:hover {
  background: #c9fa6e;
  box-shadow: 0 8px 32px -8px rgba(185, 245, 81, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* ---------- Shared section pieces ---------- */

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

.section + .section {
  border-top: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

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

.section-head h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 600;
  text-wrap: balance;
}

.section-head p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 620px;
  text-wrap: pretty;
}

.grad {
  background: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reveal.pre {
  opacity: 0;
  transform: translateY(18px);
}

.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.hero {
  position: relative;
  padding: 96px 0 104px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(185, 245, 81, 0.13), transparent 70%),
    radial-gradient(40% 40% at 85% 30%, rgba(94, 227, 208, 0.1), transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 0%, transparent 85%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 0%, transparent 85%);
}

.hero-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(185, 245, 81, 0.16);
}

.hero h1 {
  margin-top: 28px;
  font-size: clamp(2.75rem, 7.4vw, 5.75rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: balance;
}

.hero .lede {
  max-width: 640px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

/* Console */

.console {
  position: relative;
  max-width: 1040px;
  margin: 72px auto 0;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 23, 28, 0.92), rgba(11, 13, 16, 0.92));
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.06) inset,
    0 40px 120px -40px rgba(0, 0, 0, 0.9),
    0 0 120px -40px rgba(185, 245, 81, 0.22);
  overflow: hidden;
}

.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.console-bar .live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.console-bar .live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

.console-bar .meta {
  display: flex;
  gap: 18px;
  white-space: nowrap;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}

.console canvas {
  width: 100%;
  height: 220px;
}

.console-out {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px 22px;
  border-top: 1px solid var(--line);
  min-height: 86px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid rgba(185, 245, 81, 0.3);
  background: rgba(185, 245, 81, 0.08);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag.teal {
  border-color: rgba(94, 227, 208, 0.3);
  background: rgba(94, 227, 208, 0.08);
  color: var(--accent-2);
}

.tag.plain {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.console-text {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  min-height: 2.8em;
}

.console-text span {
  opacity: 0.18;
  transition: opacity 0.25s;
}

.console-text span.on {
  opacity: 1;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 36px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.hero-foot span + span::before {
  content: "/";
  margin-right: 28px;
  color: rgba(255, 255, 255, 0.18);
}

/* ---------- Capabilities ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s, opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.card:hover {
  border-color: var(--line-2);
}

.card.w7 {
  grid-column: span 7;
}

.card.w5 {
  grid-column: span 5;
}

.card-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 208px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(185, 245, 81, 0.07), transparent 70%),
    var(--bg-2);
  overflow: hidden;
}

.card.teal .card-visual {
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(94, 227, 208, 0.08), transparent 70%),
    var(--bg-2);
}

.card-body {
  padding: 28px 28px 32px;
}

.card-body h3 {
  margin-top: 16px;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.card-body > p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 54ch;
}

.ticks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin-top: 22px;
  font-size: 0.925rem;
  color: #d5d9df;
}

.card.w5 .ticks {
  grid-template-columns: 1fr;
}

.ticks li {
  position: relative;
  padding-left: 22px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 10px;
  height: 6px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg) translateY(-2px);
}

.card.teal .ticks li::before {
  border-color: var(--accent-2);
}

/* mini visuals */

.minibars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 72px;
  flex: none;
}

.minibars span {
  width: 3px;
  min-height: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.minibars.teal span {
  background: linear-gradient(180deg, var(--accent-2), #7aa8ff);
}

.bubble {
  max-width: 250px;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 14px 14px 14px 4px;
  background: var(--surface-2);
  font-size: 0.95rem;
  line-height: 1.4;
}

.bubble small {
  display: block;
  margin-bottom: 4px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.arrow {
  flex: none;
  width: 28px;
  height: 28px;
  color: var(--dim);
}

.caps {
  display: grid;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  min-width: 0;
}

.caps div {
  display: flex;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  white-space: nowrap;
}

.caps time {
  color: var(--accent-2);
}

.phones {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  height: 100%;
  margin-bottom: -64px;
}

.phone {
  position: relative;
  width: 124px;
  height: 208px;
  padding: 22px 12px 0;
  border: 1px solid var(--line-2);
  border-radius: 24px 24px 0 0;
  border-bottom: 0;
  background: var(--surface-2);
}

.phone::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 34px;
  height: 5px;
  margin-left: -17px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}

.phone.tall {
  height: 232px;
}

.phone .row {
  height: 8px;
  margin-top: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.09);
}

.phone .row.s {
  width: 62%;
}

.phone .row.a {
  background: rgba(94, 227, 208, 0.5);
  width: 78%;
}

.phone .minibars {
  height: 36px;
  margin-top: 10px;
  justify-content: center;
  gap: 2px;
}

.phone .minibars span {
  width: 2px;
}

.phone .mic {
  width: 34px;
  height: 34px;
  margin: 12px auto 0;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 6px rgba(94, 227, 208, 0.14);
}

.phone .os {
  display: block;
  margin-top: 2px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pipe {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  font-family: var(--mono);
  font-size: 0.76rem;
}

.pipe .node {
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  white-space: nowrap;
}

.pipe .node.hot {
  border-color: rgba(185, 245, 81, 0.45);
  color: var(--accent);
  box-shadow: 0 0 32px -8px rgba(185, 245, 81, 0.4);
}

.pipe .link {
  position: relative;
  width: 36px;
  height: 1px;
  background: var(--line-2);
  overflow: hidden;
}

.pipe .link::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--accent);
  animation: flow 2.2s linear infinite;
}

@keyframes flow {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(260%);
  }
}

/* ---------- Demo ---------- */

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.panel-head h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.panel-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
  padding: 22px;
}

.field {
  position: relative;
}

.field textarea {
  display: block;
  width: 100%;
  min-height: 132px;
  padding: 16px 16px 34px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  font-size: 1.05rem;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.15s;
}

.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(185, 245, 81, 0.16);
}

.field .count {
  position: absolute;
  right: 14px;
  bottom: 10px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  pointer-events: none;
}

.seg-control {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
}

.seg-control button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.15s, color 0.15s;
}

.seg-control button:hover {
  color: var(--text);
}

.seg-control button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.wave {
  width: 100%;
  height: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
}

.panel-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.clock {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.note {
  margin-top: auto;
  padding-top: 4px;
  color: var(--dim);
  font-size: 0.82rem;
  line-height: 1.5;
}

.out {
  flex: 1;
  min-height: 236px;
  max-height: 300px;
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
}

.out .w,
.out .cue,
.out .jl {
  opacity: 0.22;
  transition: opacity 0.2s, color 0.2s;
}

.out .on {
  opacity: 1;
}

.out .w.now {
  color: var(--accent);
}

.seg + .seg {
  margin-top: 14px;
}

.seg-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--dim);
}

.seg-meta b {
  font-weight: 500;
  color: var(--accent-2);
}

.seg p {
  font-size: 1rem;
  line-height: 1.55;
}

.out pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  color: #d5d9df;
}

.out .cue {
  display: block;
  margin-bottom: 12px;
}

.out .jl {
  display: block;
}

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--line-2);
}

.step {
  position: relative;
  padding: 32px 28px 8px 0;
  counter-increment: step;
}

.step + .step {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--bg);
}

.step + .step::before {
  left: 28px;
}

.step .num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--dim);
  letter-spacing: 0.08em;
}

.step .num::before {
  content: "0" counter(step) " — ";
  color: var(--accent);
}

.step h3 {
  margin-top: 14px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.975rem;
}

/* ---------- Approach ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
}

.split .section-head {
  position: sticky;
  top: 112px;
  margin-bottom: 0;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.principle {
  padding: 28px;
  background: var(--surface);
}

.principle svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.principle h3 {
  margin-top: 16px;
  font-size: 1.075rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.principle p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.areas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.areas h3 {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.areas ul {
  margin-top: 14px;
  display: grid;
  gap: 8px;
  color: #d5d9df;
  font-size: 0.95rem;
}

/* ---------- Company ---------- */

.company {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
}

.company .section-head {
  margin-bottom: 0;
}

.company .section-head p + p {
  margin-top: 14px;
}

.legal {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.legal > div {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 24px;
}

.legal > div + div {
  border-top: 1px solid var(--line);
}

.legal dt {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 3px;
}

.legal dd {
  color: var(--text);
  font-size: 0.975rem;
}

.legal dd a,
.prose a,
.site-footer a.u {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s, color 0.15s;
}

.legal dd a:hover,
.prose a:hover,
.site-footer a.u:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.legal address {
  font-style: normal;
}

/* ---------- Contact ---------- */

.contact-card {
  position: relative;
  padding: 88px 40px;
  border: 1px solid var(--line-2);
  border-radius: 28px;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(185, 245, 81, 0.14), transparent 70%),
    radial-gradient(40% 70% at 90% 100%, rgba(94, 227, 208, 0.1), transparent 70%),
    var(--surface);
  text-align: center;
  overflow: hidden;
}

.contact-card h2 {
  margin: 18px auto 0;
  max-width: 760px;
  font-size: clamp(2.1rem, 5vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-wrap: balance;
}

.contact-card p {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-mail {
  display: inline-block;
  margin-top: 36px;
  font-size: clamp(1.4rem, 3.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  border-bottom: 2px solid rgba(185, 245, 81, 0.5);
  padding-bottom: 4px;
  transition: color 0.15s, border-color 0.15s;
}

.contact-mail:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px 48px;
}

.foot-top .brand {
  color: var(--text);
}

.foot-about {
  max-width: 380px;
}

.foot-about p {
  margin-top: 14px;
}

.foot-nav {
  display: flex;
  gap: 64px;
}

.foot-nav h2 {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.foot-nav ul {
  margin-top: 14px;
  display: grid;
  gap: 4px;
}

.foot-nav a {
  display: inline-block;
  padding: 4px 0;
  transition: color 0.15s;
}

.foot-nav a:hover {
  color: var(--text);
}

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.82rem;
}

.foot-legal address {
  font-style: normal;
}

/* ---------- Simple pages (privacy, 404) ---------- */

.page {
  padding: 88px 0 120px;
}

.prose {
  max-width: 720px;
}

.prose h1 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.prose .updated {
  margin-top: 16px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.prose h2 {
  margin-top: 48px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.prose p,
.prose ul {
  margin-top: 14px;
  color: #c3c8d0;
}

.prose ul {
  padding-left: 20px;
  list-style: disc;
}

.prose li + li {
  margin-top: 6px;
}

.prose address {
  margin-top: 14px;
  font-style: normal;
  color: #c3c8d0;
}

.notfound {
  min-height: calc(100vh - 68px - 220px);
  display: grid;
  place-items: center;
  padding: 96px 0;
  text-align: center;
}

.notfound .code {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.notfound h1 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.notfound p {
  max-width: 460px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.075rem;
}

.notfound .minibars {
  justify-content: center;
  margin: 0 auto 36px;
  height: 64px;
}

.notfound .hero-actions {
  margin-top: 32px;
}

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

@media (max-width: 1040px) {
  .section {
    padding: 96px 0;
  }

  .card.w7,
  .card.w5 {
    grid-column: span 6;
  }

  .card .ticks {
    grid-template-columns: 1fr;
  }

  .bubble {
    max-width: 170px;
    font-size: 0.875rem;
  }

  .pipe .link {
    width: 16px;
  }

  .pipe .node {
    padding: 8px 9px;
    font-size: 0.7rem;
  }

  .phone {
    width: 108px;
  }

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

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

  .step,
  .step + .step {
    padding: 32px 28px 32px 0;
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }

  .step + .step::before {
    left: 0;
  }

  .split,
  .company {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split .section-head {
    position: static;
  }

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

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--pad) 20px;
    background: #07080a;
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px 12px;
    font-size: 1.05rem;
  }

  .nav .nav-cta {
    margin: 10px 0 0;
    text-align: center;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 20px;
  }

  .section {
    padding: 76px 0;
  }

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

  .section-head p {
    font-size: 1.05rem;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .console {
    margin-top: 48px;
    border-radius: 18px;
  }

  .console canvas {
    height: 150px;
  }

  .console-bar {
    padding: 12px 16px;
  }

  .console-bar .meta .opt {
    display: none;
  }

  .console-out {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
    min-height: 118px;
  }

  .console-out .tag {
    justify-self: start;
  }

  .hero-foot {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .hero-foot span + span::before {
    display: none;
  }

  .card.w7,
  .card.w5 {
    grid-column: span 12;
  }

  .card-visual {
    height: 184px;
    padding: 20px 16px;
    gap: 12px;
  }

  .card-body {
    padding: 24px 22px 28px;
  }

  .bubble {
    max-width: 150px;
  }

  .panel-body,
  .panel-head {
    padding: 16px;
  }

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

  .step,
  .step + .step {
    padding: 28px 0;
  }

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

  .principle {
    padding: 24px 22px;
  }

  .areas {
    margin-top: 48px;
    gap: 28px 20px;
  }

  .legal > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 20px;
  }

  .contact-card {
    padding: 56px 22px;
    border-radius: 22px;
  }

  .contact-actions .btn {
    flex: 1 1 100%;
  }

  .foot-nav {
    gap: 48px;
  }

  .page {
    padding: 56px 0 88px;
  }
}

@media (max-width: 400px) {
  .brand .brand-sub {
    display: inline;
  }

  .brand {
    font-size: 0.95rem;
    gap: 10px;
  }

  .pipe .node {
    padding: 7px 7px;
    font-size: 0.64rem;
  }

  .pipe .link {
    width: 10px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal.pre {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .console,
  .demo-grid,
  .nav-toggle {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* ---------- Header tools + language switch ---------- */

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.lang a {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.15s, background-color 0.15s;
}

.lang a:hover {
  color: var(--text);
}

.lang a[aria-current="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

@media (min-width: 861px) {
  .site-header .nav {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .site-header .wrap {
    gap: 10px;
  }

  .brand {
    font-size: 0.92rem;
    gap: 10px;
  }

  .brand svg {
    width: 30px;
    height: 30px;
  }
}

/* ---------- Korean typography ---------- */

html:lang(ko) {
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Segoe UI", "Malgun Gothic", "Noto Sans KR", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Cascadia Mono", Menlo, Consolas, "Pretendard Variable",
    Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", monospace;
}

:lang(ko) body {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.7;
}

:lang(ko) .hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.75rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

:lang(ko) .section-head h2,
:lang(ko) .contact-card h2,
:lang(ko) .prose h1,
:lang(ko) .notfound h1 {
  line-height: 1.22;
  letter-spacing: -0.03em;
}

:lang(ko) .section-head h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
}

:lang(ko) .contact-card h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.25rem);
}

:lang(ko) .card-body h3,
:lang(ko) .step h3 {
  letter-spacing: -0.02em;
  line-height: 1.3;
}

:lang(ko) .eyebrow,
:lang(ko) .tag,
:lang(ko) .legal dt,
:lang(ko) .foot-nav h2 {
  letter-spacing: 0.02em;
}

:lang(ko) .out pre {
  word-break: normal;
}

:lang(ko) .eyebrow,
:lang(ko) .tag,
:lang(ko) .legal dt,
:lang(ko) .foot-nav h2,
:lang(ko) .bubble small,
:lang(ko) .hero-foot,
:lang(ko) .seg-meta b,
:lang(ko) .prose .updated,
:lang(ko) #demo-tts .clock {
  font-family: var(--sans);
  font-weight: 500;
}

/* ---------- Visual refinements ---------- */

.phones {
  position: absolute;
  left: 50%;
  bottom: -56px;
  height: auto;
  margin: 0;
  transform: translateX(-50%);
}

.bubble {
  flex: 0 1 auto;
  min-width: 132px;
}

#demo-tts .field {
  display: flex;
  flex: 1;
}

#demo-tts .field textarea {
  flex: 1;
}

@media (max-width: 720px) {
  .card-visual .bubble {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .card-visual > .minibars span:nth-child(n + 21) {
    display: none;
  }

  .card-visual > .minibars.teal span:nth-child(n + 10) {
    display: none;
  }

  .card-visual .arrow {
    width: 20px;
    height: 20px;
  }

  .caps {
    font-size: 0.66rem;
    gap: 6px;
  }

  .caps div {
    gap: 7px;
    padding: 6px 8px;
  }
}

@media (min-width: 721px) and (max-width: 1040px) {
  .card-visual {
    padding: 20px 16px;
    gap: 12px;
  }

  .card-visual > .minibars span:nth-child(n + 23) {
    display: none;
  }

  .card-visual > .minibars.teal span:nth-child(n + 11) {
    display: none;
  }

  .card-visual .arrow {
    width: 20px;
    height: 20px;
  }

  .caps {
    font-size: 0.66rem;
    gap: 6px;
  }

  .caps div {
    gap: 7px;
    padding: 6px 8px;
  }
}
