:root {
  --bg: #030303;
  --bg-soft: #080808;
  --panel: #0b0b0b;
  --panel-strong: #111111;
  --panel-warm: #15100b;
  --text: #f6f3ee;
  --muted: rgba(246, 243, 238, 0.62);
  --faint: rgba(246, 243, 238, 0.36);
  --line: rgba(246, 243, 238, 0.15);
  --line-strong: rgba(246, 243, 238, 0.25);
  --orange: #ff7f18;
  --orange-strong: #ff8a20;
  --orange-dim: rgba(255, 127, 24, 0.16);
  --green: #73a96b;
  --blue: #5d8bff;
  --mono: "SFMono-Regular", "SF Mono", Consolas, "Liberation Mono", Menlo,
    monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color-scheme: dark;
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

[id] {
  scroll-margin-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
}

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

img,
svg {
  display: block;
}

svg {
  fill: currentColor;
}

main {
  width: 100%;
  margin: 0;
  padding: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 0 clamp(18px, 8vw, 118px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(3, 3, 3, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand-logo {
  width: clamp(138px, 12vw, 184px);
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 42px);
  min-width: 0;
  color: rgba(246, 243, 238, 0.82);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  padding: 23px 0;
  line-height: 1;
  white-space: nowrap;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--text);
  outline: none;
}

.header-action {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  background: var(--orange);
  color: #080604;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: background 160ms ease, transform 160ms ease;
}

.header-action:hover,
.header-action:focus-visible {
  background: #ffa04a;
  outline: none;
  transform: translateY(-1px);
}

.header-action svg {
  width: 17px;
  height: 17px;
}

.hero-section,
.pricing-hero,
.todo-hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 64px);
  margin: 0;
  padding: clamp(82px, 9vw, 130px) clamp(20px, 8vw, 120px)
    clamp(58px, 7vw, 100px);
  overflow: hidden;
  background: var(--bg);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.68;
  pointer-events: none;
  background-image: radial-gradient(
      circle,
      rgba(255, 127, 24, 0.62) 0 1.4px,
      transparent 1.6px
    ),
    radial-gradient(
      circle,
      rgba(246, 243, 238, 0.13) 0 1px,
      transparent 1.2px
    );
  background-position: left top, right 140px;
  background-size: 12px 12px, 14px 14px;
  mask-image: linear-gradient(
      90deg,
      #000 0%,
      rgba(0, 0, 0, 0.7) 17%,
      transparent 44%
    ),
    linear-gradient(
      270deg,
      #000 0%,
      rgba(0, 0, 0, 0.52) 18%,
      transparent 40%
    );
  mask-composite: add;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
      115deg,
      rgba(255, 127, 24, 0.36) 0%,
      rgba(255, 127, 24, 0.18) 18%,
      transparent 52%
    ),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.86) 72%);
  filter: blur(6px);
  opacity: 0.86;
}

.hero-content,
.pricing-intro,
.todo-copy {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  width: min(100%, 850px);
  margin: 0 auto;
  text-align: center;
}

.beta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  margin: 0 0 24px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(246, 243, 238, 0.78);
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1;
}

.beta-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(255, 127, 24, 0.72);
}

.hero-content h1,
.pricing-intro h1,
.todo-copy h1 {
  margin: 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(3.2rem, 5vw, 5.6rem);
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero-content h1::first-line,
.todo-copy h1::first-line {
  color: var(--text);
}

.hero-content h1,
.todo-copy h1 {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-content p:not(.beta-pill),
.pricing-intro p,
.todo-copy p:not(.beta-pill) {
  width: min(100%, 720px);
  margin: 22px 0 0;
  color: rgba(246, 243, 238, 0.84);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 520;
  line-height: 1.65;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.button svg {
  width: 17px;
  height: 17px;
}

.button-primary {
  border-color: rgba(255, 127, 24, 0.78);
  background: var(--orange);
  color: #080604;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(255, 127, 24, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffa04a;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 127, 24, 0.55);
  color: #ffb15f;
}

.trust-rail {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.3fr repeat(6, minmax(0, 1fr));
  width: min(100%, 1080px);
  margin: clamp(42px, 6vw, 70px) auto 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.trust-rail span,
.trust-rail strong {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-right: 1px solid var(--line);
  color: rgba(246, 243, 238, 0.45);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.trust-rail strong {
  color: rgba(246, 243, 238, 0.62);
}

.trust-rail > :last-child {
  border-right: 0;
}

.product-preview {
  position: relative;
  z-index: 3;
  width: min(100%, 1230px);
  margin: 0 auto;
}

.preview-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #070707;
  box-shadow: 0 60px 130px rgba(0, 0, 0, 0.64),
    0 -40px 100px rgba(255, 127, 24, 0.12);
}

.window-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #171b20;
  color: rgba(246, 243, 238, 0.36);
  font-family: var(--mono);
  font-size: 0.74rem;
}

.window-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(246, 243, 238, 0.2);
}

.window-topbar p {
  margin: 0 0 0 14px;
}

.window-body {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 360px;
  min-height: 430px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 127, 24, 0.08), transparent 45%),
    #0a0c0f;
}

.agent-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.agent-sidebar p {
  margin: 18px 0 4px;
  color: rgba(246, 243, 238, 0.44);
  font-weight: 800;
}

.agent-sidebar p:first-child {
  margin-top: 0;
}

.agent-sidebar span {
  display: flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  color: rgba(246, 243, 238, 0.72);
}

.agent-sidebar span::before {
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(246, 243, 238, 0.26);
  content: "";
}

.agent-sidebar .agent-online {
  background: rgba(115, 169, 107, 0.12);
  color: var(--text);
}

.agent-sidebar .agent-online::before {
  background: #6de986;
}

.agent-sidebar .agent-blue::before {
  background: var(--blue);
}

.agent-sidebar .agent-orange::before {
  background: var(--orange);
}

.code-panel {
  padding: 38px 28px;
  overflow: hidden;
  font-family: var(--mono);
}

.code-panel ol {
  margin: 0;
  padding: 0 0 0 42px;
  color: rgba(246, 243, 238, 0.28);
  font-size: clamp(0.72rem, 1vw, 0.92rem);
  line-height: 1.86;
}

.code-panel code {
  color: rgba(246, 243, 238, 0.78);
}

.code-panel li:nth-child(1) code,
.code-panel li:nth-child(4) code {
  color: #c88cff;
}

.code-panel li:nth-child(5) code,
.code-panel li:nth-child(6) code,
.code-panel li:nth-child(7) code {
  color: #ffb15f;
}

.screen-stack {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.phone-frame {
  width: min(100%, 260px);
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.46);
}

.phone-frame img {
  width: 100%;
  height: auto;
}

.dark-phone {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
}

.light-phone {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}

.screen-stack .phone-frame {
  position: absolute;
  top: 46px;
  right: 138px;
  width: 196px;
  transform: rotate(-3deg);
}

.screen-stack .phone-frame + .phone-frame {
  top: 92px;
  right: 36px;
  width: 220px;
  transform: rotate(3deg);
}

.feature-section,
.component-section,
.workflow-section,
.todo-detail-section {
  width: 100%;
  margin: 0;
  padding: clamp(76px, 8vw, 118px) clamp(20px, 8vw, 120px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg);
}

.component-section {
  background: linear-gradient(180deg, #050505 0%, var(--bg) 100%);
}

.section-heading {
  width: min(100%, 1180px);
  margin: 0 auto 38px;
}

.section-heading p,
.cta-section p {
  margin: 0 0 18px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 800;
}

.section-heading h2,
.cta-section h2 {
  max-width: 820px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.2rem, 4.3vw, 5.2rem);
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.04;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.component-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.component-phone {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 560px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f7f7f8;
  color: #080808;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.component-home-ui {
  background: #000;
  color: #f7f7f8;
}

.component-chat-ui,
.component-todo-ui {
  background: #fff;
  color: #080808;
}

.mini-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.mini-brand img {
  width: 178px;
  height: auto;
}

.mini-actions {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: #1e1e20;
  color: #fff;
}

.mini-actions svg {
  width: 25px;
  height: 25px;
}

.mini-menu-row,
.mini-project-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 58px;
  font-size: 1.02rem;
}

.mini-menu-row strong,
.mini-project-row strong {
  overflow: hidden;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-label {
  margin: 28px 0 14px;
  font-size: 1.15rem;
  font-weight: 870;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.mini-icon,
.mini-bars,
.mini-folder,
.mini-doc,
.mini-menu,
.mini-gear {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: currentColor;
  font-size: 1.25rem;
  font-weight: 900;
}

.mini-bars::before {
  width: 23px;
  height: 23px;
  border-right: 4px solid currentColor;
  border-left: 4px solid currentColor;
  box-shadow: inset 5px 0 0 transparent, inset -5px 0 0 transparent;
  content: "";
}

.mini-folder::before {
  width: 26px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 3px;
  content: "";
}

.mini-folder::after {
  position: absolute;
  top: 4px;
  left: 3px;
  width: 11px;
  height: 5px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: inherit;
  content: "";
}

.mini-doc::before {
  width: 20px;
  height: 25px;
  border: 3px solid currentColor;
  border-radius: 3px;
  content: "";
}

.mini-doc::after {
  position: absolute;
  top: 8px;
  width: 10px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor;
  content: "";
}

.mini-topbar {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 52px;
  margin: -6px -10px 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(8, 8, 8, 0.12);
}

.mini-topbar strong {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-topbar em {
  padding: 9px 14px;
  border: 1px solid rgba(8, 8, 8, 0.12);
  border-radius: 999px;
  color: #080808;
  font-style: normal;
  font-weight: 860;
}

.mini-menu::before {
  width: 24px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 8px 0 currentColor, 0 16px 0 currentColor;
  content: "";
}

.mini-gear::before {
  width: 22px;
  height: 22px;
  border: 4px solid currentColor;
  border-radius: 50%;
  content: "";
}

.mini-gear::after {
  position: absolute;
  width: 4px;
  height: 30px;
  background: currentColor;
  box-shadow: 9px 0 0 currentColor, -9px 0 0 currentColor;
  content: "";
  transform: rotate(45deg) scaleY(0.78);
}

.file-chip {
  justify-self: end;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  margin-bottom: 16px;
  padding: 0 16px;
  border-radius: 14px;
  background: #e9e9eb;
  font-weight: 760;
}

.file-chip .mini-doc {
  width: 22px;
  height: 22px;
}

.prompt-bubble {
  margin: 0 0 28px;
  padding: 22px;
  border-radius: 22px;
  background: #000;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 650;
  line-height: 1.35;
}

.response-block {
  padding-top: 22px;
  border-top: 1px solid rgba(8, 8, 8, 0.14);
}

.response-block strong {
  font-size: 1.24rem;
  font-weight: 880;
}

.response-block p {
  margin: 14px 0 22px;
  color: rgba(8, 8, 8, 0.66);
  line-height: 1.55;
}

.risk-table {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  overflow: hidden;
  border: 1px solid rgba(8, 8, 8, 0.12);
  border-radius: 10px;
  background: #f0f0f4;
}

.risk-table span {
  min-height: 44px;
  padding: 13px;
  border-right: 1px solid rgba(8, 8, 8, 0.1);
  font-weight: 820;
}

.risk-table span:last-child {
  border-right: 0;
}

.component-todo-ui h3 {
  margin: 12px 0 24px;
  font-size: clamp(2rem, 3.7vw, 3.1rem);
  line-height: 1;
}

.week-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  text-align: center;
}

.week-strip span,
.week-strip strong {
  padding: 11px 0;
  border-radius: 12px;
  color: rgba(8, 8, 8, 0.46);
  line-height: 1.35;
}

.week-strip strong {
  background: #dedede;
  color: #080808;
}

.segment-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 48px;
  margin-bottom: 22px;
  padding: 4px;
  border-radius: 999px;
  background: #ededee;
  text-align: center;
}

.segment-control strong,
.segment-control span {
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 820;
}

.segment-control strong {
  background: #fff;
}

.task-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: center;
  min-height: 122px;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid rgba(8, 8, 8, 0.14);
  border-radius: 22px;
  background: #f2f2f6;
}

.task-card > span {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(8, 8, 8, 0.42);
  border-radius: 50%;
}

.task-card strong {
  display: block;
  overflow: hidden;
  font-size: 1.2rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-card p {
  margin: 11px 0 0;
  color: #ff5f66;
  font-weight: 820;
}

.task-card em {
  color: rgba(8, 8, 8, 0.48);
  font-style: normal;
  font-size: 1.4rem;
  font-weight: 900;
}

.calendar-chip {
  display: grid;
  align-content: space-between;
  width: 46%;
  min-height: 150px;
  margin-left: auto;
  padding: 18px;
  border-radius: 14px;
  background: #000;
  color: #fff;
}

.calendar-chip strong,
.calendar-chip span {
  font-weight: 860;
}

.feature-card {
  position: relative;
  min-height: 258px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(
      145deg,
      rgba(255, 127, 24, 0.08),
      transparent 42%
    ),
    var(--panel);
}

.feature-card::before,
.price-card::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0 1px,
    transparent 1px 5px
  );
  content: "";
}

.feature-large {
  grid-row: span 3;
  display: grid;
  align-content: space-between;
  min-height: 720px;
}

.feature-card span {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
  color: rgba(246, 243, 238, 0.38);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-card h3,
.workflow-card h3 {
  position: relative;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.5rem, 2.2vw, 2.15rem);
  font-weight: 780;
  line-height: 1.12;
}

.feature-card p,
.workflow-card p {
  position: relative;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.feature-screenshot {
  position: relative;
  width: min(100%, 340px);
  margin: 48px auto 0;
  overflow: hidden;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.feature-screenshot img {
  width: 100%;
}

.pet-dock {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.pet-dock.compact {
  justify-content: start;
}

.pet-dock span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(246, 243, 238, 0.72);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 800;
}

.pet-token {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-style: normal;
}

.pet-token svg {
  width: 22px;
  height: 22px;
  image-rendering: pixelated;
}

.workflow-section {
  background: #050505;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.workflow-card {
  display: grid;
  gap: 28px;
  align-content: start;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.workflow-card .phone-frame {
  justify-self: center;
  width: min(100%, 246px);
}

.cta-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  margin: 0;
  padding: clamp(76px, 8vw, 112px) clamp(20px, 8vw, 120px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(255, 127, 24, 0.14), transparent 45%),
    var(--bg);
}

.cta-section > div:first-child {
  width: min(100%, 760px);
}

.cta-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.pricing-hero {
  padding-top: clamp(74px, 7vw, 92px);
}

.pricing-intro h1 {
  font-size: clamp(2.9rem, 4.6vw, 4.7rem);
}

.pricing-intro p {
  color: rgba(246, 243, 238, 0.5);
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  margin-top: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 800;
}

.billing-toggle span,
.billing-toggle strong {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 0 14px;
}

.billing-toggle span {
  color: rgba(246, 243, 238, 0.74);
}

.billing-toggle strong {
  background: var(--orange);
  color: #080604;
}

.pricing-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 1080px);
  margin: clamp(40px, 4.8vw, 54px) auto 0;
  border: 1px dashed rgba(246, 243, 238, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.price-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 520px;
  padding: 28px 18px 22px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
}

.price-card:last-child {
  border-right: 0;
}

.price-card.popular {
  border-top: 5px solid var(--orange);
  background: linear-gradient(
      160deg,
      rgba(255, 127, 24, 0.13),
      rgba(0, 0, 0, 0) 45%
    ),
    rgba(13, 13, 13, 0.94);
}

.popular-label {
  position: absolute;
  top: 22px;
  right: 38px;
  min-height: 22px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 127, 24, 0.45);
  color: #ffc081;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 22px;
}

.price-card h2 {
  position: relative;
  margin: 0;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 850;
}

.price-card > p {
  position: relative;
  min-height: 0;
  margin: 20px 10px 0 0;
  color: rgba(246, 243, 238, 0.82);
  font-size: 0.98rem;
  font-weight: 590;
  line-height: 1.25;
}

.price-card > h2 + p {
  min-height: 42px;
}

.price {
  position: relative;
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 16px;
}

.price span {
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(2.25rem, 4vw, 3.3rem);
  font-weight: 650;
  line-height: 1;
}

.price small {
  margin-bottom: 8px;
  color: rgba(246, 243, 238, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.price-card hr {
  position: relative;
  width: 100%;
  height: 1px;
  margin: 24px 0 26px;
  border: 0;
  background: var(--line);
}

.price-card ul {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 128px;
  margin: 22px 0 24px;
  padding: 0;
  color: rgba(246, 243, 238, 0.42);
  font-size: 0.94rem;
  font-weight: 650;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 26px;
}

.price-card li::before {
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.price-button {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 40px;
  margin-top: auto;
  border: 1px solid var(--line-strong);
  color: rgba(246, 243, 238, 0.9);
  font-size: 0.92rem;
  font-weight: 850;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.price-button:hover,
.price-button:focus-visible {
  border-color: var(--orange);
  color: #ffb15f;
  outline: none;
}

.price-button.filled {
  border-color: var(--orange);
  background: var(--orange);
  color: #080604;
}

.price-button.filled:hover,
.price-button.filled:focus-visible {
  background: #ffa04a;
  color: #080604;
}

.todo-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.todo-copy {
  justify-items: start;
  text-align: left;
}

.todo-copy p:not(.beta-pill) {
  margin-left: 0;
}

.todo-hero-stack {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 20px;
  align-items: start;
  justify-content: center;
}

.todo-hero-stack .phone-frame {
  width: 100%;
}

.todo-hero-stack .phone-frame:nth-child(2) {
  margin-top: 70px;
}

.todo-detail-section {
  background: #050505;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
    row-gap: 0;
    padding-right: 24px;
    padding-left: 24px;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: start;
    gap: 26px;
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav a {
    padding: 15px 0;
  }

  .window-body {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .screen-stack {
    display: none;
  }

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

  .trust-rail span,
  .trust-rail strong {
    border-bottom: 1px solid var(--line);
  }

  .trust-rail > :nth-child(3n) {
    border-right: 0;
  }

  .feature-grid,
  .component-showcase,
  .workflow-grid,
  .pricing-grid,
  .todo-hero {
    grid-template-columns: 1fr;
  }

  .feature-large {
    grid-row: auto;
    min-height: 0;
  }

  .price-card,
  .price-card:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .price-card:last-child {
    border-bottom: 0;
  }

  .cta-section {
    display: grid;
  }

  .cta-actions {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  [id] {
    scroll-margin-top: 116px;
  }

  .site-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 0;
    padding: 12px 14px 0;
  }

  .brand-logo {
    width: 144px;
  }

  .header-action {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.8rem;
  }

  .header-action svg {
    width: 15px;
    height: 15px;
  }

  .site-nav {
    width: calc(100% + 28px);
    margin-right: -14px;
    margin-left: -14px;
    padding: 0 14px;
    gap: 22px;
    font-size: 0.84rem;
  }

  .hero-section,
  .pricing-hero,
  .todo-hero,
  .feature-section,
  .component-section,
  .workflow-section,
  .todo-detail-section,
  .cta-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-section,
  .pricing-hero,
  .todo-hero {
    min-height: 0;
    padding-top: 66px;
  }

  .hero-content h1,
  .todo-copy h1 {
    font-size: clamp(2.55rem, 12vw, 3.8rem);
  }

  .pricing-intro h1 {
    font-size: clamp(2.7rem, 13vw, 3.7rem);
  }

  .hero-content p:not(.beta-pill),
  .pricing-intro p,
  .todo-copy p:not(.beta-pill) {
    font-size: 0.98rem;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .button,
  .price-button {
    width: 100%;
  }

  .trust-rail {
    grid-template-columns: 1fr;
    margin-top: 56px;
  }

  .trust-rail span,
  .trust-rail strong {
    border-right: 0;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .agent-sidebar {
    display: none;
  }

  .code-panel {
    padding: 26px 14px;
  }

  .code-panel ol {
    padding-left: 34px;
    font-size: 0.68rem;
  }

  .section-heading h2,
  .cta-section h2 {
    font-size: clamp(2rem, 10vw, 3.15rem);
  }

  .feature-card,
  .component-phone,
  .workflow-card,
  .price-card {
    padding: 24px;
  }

  .component-phone {
    min-height: 0;
  }

  .component-showcase {
    gap: 14px;
  }

  .mini-brand {
    display: grid;
    justify-items: start;
  }

  .mini-brand img {
    width: 150px;
  }

  .mini-actions {
    min-height: 46px;
  }

  .prompt-bubble {
    font-size: 1.02rem;
  }

  .calendar-chip {
    width: 62%;
  }

  .feature-screenshot {
    width: min(100%, 280px);
  }

  .pricing-grid {
    border-right: 1px dashed rgba(246, 243, 238, 0.18);
    border-left: 1px dashed rgba(246, 243, 238, 0.18);
  }

  .price-card {
    min-height: 0;
  }

  .popular-label {
    position: static;
    width: fit-content;
    margin-bottom: 18px;
  }

  .todo-copy {
    justify-items: center;
    text-align: center;
  }

  .todo-copy p:not(.beta-pill) {
    margin-right: auto;
    margin-left: auto;
  }

  .pet-dock.compact {
    justify-content: center;
  }

  .todo-hero-stack {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .todo-hero-stack .phone-frame {
    width: min(100%, 280px);
  }

  .todo-hero-stack .phone-frame:nth-child(2) {
    margin-top: 0;
  }
}
