@import url('fonts/pretendard/pretendard.css');

:root {
  --bg: #fbfcfa;
  --bg-soft: #f2f6f3;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --fg: #111814;
  --fg-muted: #56625b;
  --fg-subtle: #7d8983;
  --border: #e2e8e4;
  --border-strong: #cfd8d2;
  --accent: #1e8053;
  --accent-ink: #0f5f3c;
  --accent-soft: #e5f3eb;
  --accent-glow: rgba(47, 165, 109, 0.22);
  --on-accent: #ffffff;
  --danger-soft: #fdecec;
  --danger-ink: #a12a2a;
  --add-soft: #e3f5ea;
  --add-ink: #146c43;
  --mark: #fff1a8;
  --shadow-s: 0 1px 2px rgba(17, 24, 20, 0.06), 0 1px 1px rgba(17, 24, 20, 0.04);
  --shadow-m: 0 10px 30px -12px rgba(17, 24, 20, 0.18), 0 2px 6px rgba(17, 24, 20, 0.05);
  --shadow-l: 0 40px 80px -30px rgba(15, 60, 38, 0.35), 0 12px 30px -12px rgba(17, 24, 20, 0.18);
  --brand-gradient: linear-gradient(135deg, #0f5f3c 0%, #1f8657 55%, #34b277 100%);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --font: 'Pretendard Variable', Pretendard, system-ui, -apple-system, 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, 'D2Coding', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0c110e;
    --bg-soft: #111814;
    --surface: #151c18;
    --surface-raised: #1a221d;
    --fg: #e9efeb;
    --fg-muted: #a0ada6;
    --fg-subtle: #75827b;
    --border: #232d27;
    --border-strong: #2f3a33;
    --accent: #4fc28b;
    --accent-ink: #86dcb0;
    --accent-soft: #15281d;
    --accent-glow: rgba(79, 194, 139, 0.18);
    --on-accent: #04140b;
    --danger-soft: #3a1717;
    --danger-ink: #ffaaaa;
    --add-soft: #13301f;
    --add-ink: #8fe0b4;
    --mark: #5a4d12;
    --shadow-m: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
    --shadow-l: 0 40px 80px -30px rgba(0, 0, 0, 0.75), 0 12px 30px -12px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

:root[data-theme='dark'] {
  --bg: #0c110e;
  --bg-soft: #111814;
  --surface: #151c18;
  --surface-raised: #1a221d;
  --fg: #e9efeb;
  --fg-muted: #a0ada6;
  --fg-subtle: #75827b;
  --border: #232d27;
  --border-strong: #2f3a33;
  --accent: #4fc28b;
  --accent-ink: #86dcb0;
  --accent-soft: #15281d;
  --accent-glow: rgba(79, 194, 139, 0.18);
  --on-accent: #04140b;
  --danger-soft: #3a1717;
  --danger-ink: #ffaaaa;
  --add-soft: #13301f;
  --add-ink: #8fe0b4;
  --mark: #5a4d12;
  --shadow-m: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-l: 0 40px 80px -30px rgba(0, 0, 0, 0.75), 0 12px 30px -12px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

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

.nowrap {
  white-space: nowrap;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: var(--radius-s);
  background: var(--fg);
  color: var(--bg);
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

kbd {
  display: inline-flex;
  align-items: center;
  min-width: 1.9em;
  justify-content: center;
  padding: 2px 7px;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.8em;
  line-height: 1.5;
}

code {
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.86em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease;
}

.button svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.button--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 8px 22px -8px var(--accent), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px var(--accent), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

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

.button--ghost:hover {
  border-color: var(--fg-subtle);
}

.button--light {
  background: #ffffff;
  color: #0f5f3c;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.4);
}

.button--light:hover {
  transform: translateY(-1px);
}

.button--small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav[data-scrolled] {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 20px -16px rgba(0, 0, 0, 0.4);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

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

.nav__links {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.nav__links a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--fg-muted);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav__links a:hover {
  background: var(--bg-soft);
  color: var(--fg);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.icon-button:hover {
  color: var(--fg);
  border-color: var(--border-strong);
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.theme-icon--dark {
  display: none;
}

[aria-pressed='true'] .theme-icon--light {
  display: none;
}

[aria-pressed='true'] .theme-icon--dark {
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 96px;
  text-align: center;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto;
  z-index: -1;
  height: 720px;
  background:
    radial-gradient(closest-side at 50% 40%, var(--accent-glow), transparent),
    radial-gradient(closest-side at 18% 70%, color-mix(in srgb, var(--accent-glow) 60%, transparent), transparent),
    radial-gradient(closest-side at 84% 62%, color-mix(in srgb, var(--accent-glow) 60%, transparent), transparent);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.55;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-s);
}

.eyebrow__tag {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero h1 {
  max-width: 940px;
  margin: 22px auto 0;
  font-size: clamp(38px, 6.2vw, 76px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

:root[data-theme='dark'] .gradient-text {
  background: linear-gradient(135deg, #7fe0ae, #3fbf83);
  -webkit-background-clip: text;
  background-clip: text;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .gradient-text {
    background: linear-gradient(135deg, #7fe0ae, #3fbf83);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.hero__lead {
  max-width: 660px;
  margin: 20px auto 0;
  color: var(--fg-muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--fg-subtle);
  font-size: 14px;
  font-weight: 600;
}

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

.hero__trust svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.demo {
  position: relative;
  max-width: 980px;
  margin: 48px auto 0;
  text-align: left;
}

.window {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-l);
}

.window__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.window__dots {
  display: flex;
  gap: 7px;
}

.window__dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border-strong);
}

.window__url {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  max-width: 520px;
  height: 28px;
  margin-inline: auto;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--fg-subtle);
  font-family: var(--font-mono);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window__url svg {
  width: 13px;
  height: 13px;
  flex: none;
}

.window__ext {
  width: 22px;
  height: 22px;
  flex: none;
  transition: transform 0.4s var(--ease), filter 0.4s ease;
}

.demo[data-stage='raw'] .window__ext {
  filter: grayscale(1);
  opacity: 0.55;
}

.demo__stage {
  position: relative;
  height: 430px;
  overflow: hidden;
}

.demo__raw,
.demo__doc {
  position: absolute;
  inset: 0;
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease), filter 0.6s ease;
}

.demo__raw {
  margin: 0;
  padding: 30px 36px;
  background: var(--surface);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 14.5px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.demo__raw b {
  color: var(--fg-subtle);
  font-weight: 400;
}

.demo__doc {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--surface);
}

.demo[data-stage='raw'] .demo__doc {
  opacity: 0;
  transform: scale(0.985) translateY(10px);
  filter: blur(4px);
  pointer-events: none;
}

.demo:not([data-stage='raw']) .demo__raw {
  opacity: 0;
  transform: scale(1.01);
  filter: blur(3px);
  pointer-events: none;
}

.demo__toc {
  padding: 26px 18px;
  border-right: 1px solid var(--border);
  font-size: 13px;
}

.demo__toc p {
  margin: 0 0 10px;
  color: var(--fg-subtle);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo__toc span {
  display: block;
  padding: 5px 10px;
  border-radius: 7px;
  color: var(--fg-muted);
}

.demo__toc span:first-of-type {
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
  box-shadow: inset 2px 0 0 var(--accent);
}

.demo__page {
  position: relative;
  padding: 22px 44px 30px;
}

.demo__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--fg-subtle);
  font-size: 12.5px;
  font-weight: 600;
}

.demo__save {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.demo__save[data-state='unsaved'] {
  background: var(--bg-soft);
  color: var(--fg-muted);
}

.demo__save[data-state='saving'] {
  background: var(--bg-soft);
  color: var(--fg-muted);
}

.demo__save[data-state='saved'] {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.demo__page h3 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.demo__page > p {
  margin: 0 0 14px;
  color: var(--fg);
  font-size: 15.5px;
}

.demo__page mark {
  padding: 0 3px;
  border-radius: 3px;
  background: var(--mark);
  color: inherit;
}

.demo__tasks {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: 15.5px;
}

.demo__tasks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
}

.demo__check {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  border: 1.5px solid var(--border-strong);
  border-radius: 5px;
}

.demo__check--done {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.demo__check svg {
  width: 12px;
  height: 12px;
}

.demo__edit {
  position: relative;
  border-radius: 3px;
  transition: background 0.2s ease;
}

.demo__edit.is-selected {
  background: color-mix(in srgb, var(--accent) 28%, transparent);
}

.demo__edit.is-typing::after,
.demo[data-stage='edit'] .demo__edit::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-left: 1px;
  vertical-align: -0.2em;
  background: var(--accent);
  animation: caret 1s steps(1) infinite;
}

.demo__edit.is-selected::after {
  display: none !important;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.demo__callout {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--accent-soft);
  font-size: 14.5px;
}

.demo__callout strong {
  display: block;
  color: var(--accent-ink);
  font-size: 13px;
}

.demo__table {
  width: 100%;
  max-width: 420px;
  border-collapse: collapse;
  font-size: 14px;
}

.demo__table th,
.demo__table td {
  padding: 7px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.demo__table th {
  color: var(--fg-muted);
  font-weight: 700;
}

.demo__diff {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(430px, calc(100% - 44px));
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-m);
  background: var(--surface-raised);
  box-shadow: var(--shadow-m);
  font-family: var(--font-mono);
  font-size: 13px;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}

.demo[data-stage='saved'] .demo__diff {
  opacity: 1;
  transform: none;
}

.demo__diff-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--fg-muted);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
}

.demo__diff-head span:last-child {
  color: var(--accent-ink);
}

.demo__diff pre {
  margin: 0;
  padding: 8px 0;
  white-space: pre-wrap;
}

.demo__diff pre span {
  display: block;
  padding: 1px 14px;
}

.diff-hunk {
  color: var(--fg-subtle);
}

.diff-del {
  background: var(--danger-soft);
  color: var(--danger-ink);
}

.diff-add {
  background: var(--add-soft);
  color: var(--add-ink);
}

.demo__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.demo__steps button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.demo__steps button span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 12px;
  font-weight: 800;
}

.demo__steps button[data-done] span {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.demo__steps button[data-active] {
  border-color: var(--accent);
  color: var(--fg);
}

.demo__steps button[data-active] span {
  background: var(--accent);
  color: var(--on-accent);
}

.demo__replay {
  width: 34px;
  height: 34px;
}

.demo__note {
  margin: 12px 0 0;
  color: var(--fg-subtle);
  font-size: 13px;
  text-align: center;
}

.works {
  padding: 8px 0 24px;
  text-align: center;
}

.works p {
  margin: 0 0 16px;
  color: var(--fg-subtle);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.works ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--fg-muted);
  font-size: 17px;
  font-weight: 700;
}

.works li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.works svg {
  width: 20px;
  height: 20px;
  color: var(--fg-subtle);
}

.section {
  padding: 120px 0 0;
}

.section__head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.privacy h2,
.section h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.section__head p {
  margin: 18px auto 0;
  max-width: 620px;
  color: var(--fg-muted);
  font-size: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

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

.step__visual {
  display: grid;
  place-items: center;
  height: 150px;
  margin-bottom: 24px;
  border-radius: var(--radius-m);
  background: var(--bg-soft);
  overflow: hidden;
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 800;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 21px;
  letter-spacing: -0.015em;
}

.step p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 16px;
}

.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-m);
  font-family: var(--font-mono);
  font-size: 14px;
  transform: rotate(-4deg);
}

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

.drop-arrow {
  width: 28px;
  height: 28px;
  margin-top: 10px;
  color: var(--fg-subtle);
}

.step__visual--drop {
  align-content: center;
  justify-items: center;
}

.type-line {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-m);
  font-size: 18px;
  font-weight: 700;
}

.type-line em {
  padding: 0 3px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--accent) 24%, transparent);
  font-style: normal;
}

.type-line i {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.18em;
  background: var(--accent);
  animation: caret 1s steps(1) infinite;
}

.mini-diff {
  width: 86%;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-m);
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.mini-diff span {
  display: block;
  padding: 3px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-diff span:first-child {
  padding-top: 8px;
  color: var(--fg-subtle);
}

.mini-diff span:last-child {
  margin-bottom: 6px;
}

.tour {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 40px;
  align-items: start;
}

.tour__tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tour__tab {
  display: block;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-m);
  background: transparent;
  color: var(--fg-muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tour__tab strong {
  display: block;
  color: var(--fg);
  font-size: 17px;
}

.tour__tab small {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.5;
}

.tour__tab:hover {
  background: var(--bg-soft);
}

.tour__tab[aria-selected='true'] {
  border-color: var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-m);
}

.tour__tab[aria-selected='true'] strong {
  color: var(--accent-ink);
}

.tour__panel {
  margin: 0;
}

.tour__panel[hidden] {
  display: none;
}

.tour__panel .window {
  animation: panel-in 0.5s var(--ease);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.card--2 {
  grid-column: span 2;
}

.card--3 {
  grid-column: span 3;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -0.015em;
}

.card > p {
  margin: 0;
  color: var(--fg-muted);
  font-size: 15.5px;
}

.card__visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-height: 190px;
  margin-bottom: 22px;
}

.mock-menu {
  width: 100%;
  max-width: 260px;
  margin-inline: auto;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-m);
  font-size: 14px;
}

.mock-menu__query {
  padding: 6px 10px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
  color: var(--fg);
  font-family: var(--font-mono);
}

.mock-menu__query i {
  display: inline-block;
  width: 1.5px;
  height: 1em;
  margin-left: 1px;
  vertical-align: -0.15em;
  background: var(--accent);
  animation: caret 1s steps(1) infinite;
}

.mock-menu span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 7px;
  color: var(--fg-muted);
}

.mock-menu span b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg);
  font-size: 12px;
}

.mock-menu span[data-active] {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.mock-menu small {
  margin-left: auto;
  color: var(--fg-subtle);
  font-size: 12px;
}

.swatches {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.swatch {
  display: grid;
  gap: 6px;
  width: 56px;
  height: 76px;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: var(--shadow-m);
}

.swatch i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.35;
}

.swatch i:first-child {
  width: 70%;
  opacity: 0.9;
  height: 7px;
}

.swatch--leaf {
  background: #fbfcfa;
  color: #1e8053;
}

.swatch--paper {
  background: #f7f1e6;
  color: #a3532c;
}

.swatch--slate {
  background: #eef2f7;
  color: #3e5f8a;
}

.swatch--sepia {
  background: #f1e7d0;
  color: #7a5418;
}

.swatch--contrast {
  background: #ffffff;
  border-color: #111111;
  color: #0035b3;
}

.kbd-grid {
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.kbd-grid div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--fg-muted);
}

.kbd-grid span {
  display: inline-flex;
  gap: 4px;
  flex: none;
}

.notice-mock {
  padding: 14px 16px;
  border: 1px solid #e8c67a;
  border-radius: 12px;
  background: #fff8e6;
  color: #6b4e0e;
  font-size: 14.5px;
  box-shadow: var(--shadow-m);
}

:root[data-theme='dark'] .notice-mock {
  border-color: #6a5420;
  background: #2a2210;
  color: #f2d998;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .notice-mock {
    border-color: #6a5420;
    background: #2a2210;
    color: #f2d998;
  }
}

.notice-mock strong {
  display: block;
  margin-bottom: 8px;
}

.notice-mock__actions {
  display: flex;
  gap: 8px;
}

.notice-mock__actions span {
  padding: 4px 11px;
  border: 1px solid currentColor;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.85;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--fg);
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: var(--shadow-s);
}

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

.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.flow svg {
  width: 22px;
  height: 22px;
  color: var(--fg-subtle);
}

.copy-rows {
  display: grid;
  gap: 12px;
}

.copy-rows div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
  font-size: 15px;
}

.copy-rows span:first-child {
  display: inline-flex;
  gap: 4px;
  flex: none;
}

.copy-rows span:last-child {
  color: var(--fg-muted);
}

.privacy {
  position: relative;
  overflow: hidden;
  margin-top: 140px;
  padding: 110px 0;
  background: #0b2a1b;
  color: #e6f3eb;
  isolation: isolate;
}

.privacy::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(52, 178, 119, 0.35), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(30, 128, 83, 0.35), transparent 60%);
}

.privacy .kicker {
  color: #7fe0ae;
}

.privacy h2 {
  max-width: 760px;
  color: #ffffff;
}

.privacy__lead {
  max-width: 640px;
  margin: 20px 0 0;
  color: #b9d6c6;
  font-size: 18px;
}

.privacy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.privacy__item {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.04);
}

.privacy__item svg {
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  color: #7fe0ae;
}

.privacy__item h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 19px;
}

.privacy__item p {
  margin: 0;
  color: #b9d6c6;
  font-size: 15.5px;
}

.permissions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  color: #b9d6c6;
  font-size: 15px;
}

.permissions code {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #e6f3eb;
}

.permissions a {
  color: #7fe0ae;
  font-weight: 700;
}

.compare {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.compare table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 16px;
}

.compare th,
.compare td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.compare tr:last-child td,
.compare tr:last-child th {
  border-bottom: 0;
}

.compare thead th {
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 700;
}

.compare tbody th {
  font-weight: 600;
  text-align: left;
}

.compare .is-us {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.compare thead .is-us {
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 800;
}

.yes,
.no {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.yes {
  background: var(--accent);
  color: var(--on-accent);
}

.no {
  color: var(--fg-subtle);
}

.yes svg,
.no svg {
  width: 15px;
  height: 15px;
}

.compare__note {
  margin: 14px 0 0;
  color: var(--fg-subtle);
  font-size: 13.5px;
  text-align: center;
}

.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}

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

.faq summary {
  position: relative;
  padding: 22px 36px 22px 0;
  font-size: 17.5px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--fg-subtle);
  border-bottom: 2px solid var(--fg-subtle);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  margin: -6px 0 22px;
  color: var(--fg-muted);
  font-size: 16px;
}

.final {
  position: relative;
  overflow: hidden;
  margin-top: 130px;
  padding: 90px 32px;
  border-radius: 32px;
  background: var(--brand-gradient);
  color: #ffffff;
  text-align: center;
  isolation: isolate;
}

.final::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.final img {
  width: 84px;
  height: 84px;
  margin: 0 auto 26px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.3));
}

.final h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.final p {
  max-width: 560px;
  margin: 18px auto 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.footer {
  margin-top: 90px;
  padding: 48px 0 56px;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 15px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer p {
  max-width: 360px;
  margin: 14px 0 0;
}

.footer h4 {
  margin: 0 0 12px;
  color: var(--fg);
  font-size: 14px;
}

.footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a {
  color: var(--fg-muted);
  text-decoration: none;
}

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

.footer__bottom {
  margin-top: 40px;
  color: var(--fg-subtle);
  font-size: 13.5px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js [data-reveal-delay='1'] {
  transition-delay: 0.08s;
}

.js [data-reveal-delay='2'] {
  transition-delay: 0.16s;
}

@media (max-width: 980px) {
  .tour {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tour__tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .tour__tab {
    flex: none;
    width: auto;
    padding: 10px 16px;
    border-radius: 999px;
  }

  .tour__tab small {
    display: none;
  }

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

  .card--2,
  .card--3 {
    grid-column: span 1;
  }

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

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

  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .demo {
    margin-top: 44px;
  }

  .demo__stage {
    height: 400px;
  }

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

  .demo__toc {
    display: none;
  }

  .demo__page {
    padding: 18px 20px;
  }

  .demo__raw {
    padding: 20px;
    font-size: 13px;
  }

  .demo__page h3 {
    font-size: 24px;
  }

  .demo__diff {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    font-size: 12px;
  }

  .window__url {
    font-size: 11.5px;
  }

  .section {
    padding-top: 88px;
  }

  .section__head {
    margin-bottom: 36px;
  }

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

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

  .card {
    min-height: 0;
  }

  .card__visual {
    min-height: 0;
  }

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

  .final {
    padding: 64px 22px;
    border-radius: 24px;
  }

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

  .footer__inner > div:first-child {
    grid-column: 1 / -1;
  }

  .privacy {
    padding: 80px 0;
  }
}

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

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