@font-face {
  font-family: "Pretendard";
  src: url("assets/PretendardVariable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f8f4ed;
  --paper-deep: #f2ece3;
  --ink: #1a1815;
  --muted: #716a61;
  --rule: #d8d0c5;
  --orange: #f05a28;
  --sage: #728278;
  --max: 1440px;
  --gutter: clamp(22px, 5vw, 76px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  height: 84px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, height 180ms ease;
}

.site-header.is-scrolled {
  height: 70px;
  border-color: color-mix(in srgb, var(--rule), transparent 18%);
  background: color-mix(in srgb, var(--paper), transparent 6%);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 22px; font-weight: 760; letter-spacing: -0.03em; }
.brand-icon { width: 36px; height: 36px; }

.desktop-nav { display: flex; gap: clamp(24px, 3vw, 48px); font-size: 14px; font-weight: 650; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--orange); content: ""; transition: right 180ms ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }

.header-cta { justify-self: end; opacity: 0; visibility: hidden; transform: translateY(-4px); pointer-events: none; transition: opacity 180ms ease, transform 180ms ease, visibility 180ms; }
.site-header.is-scrolled .header-cta { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button > span { display: inline-block; transition: transform 160ms ease; }
.button:hover > span { transform: translateX(4px); }
.button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid color-mix(in srgb, var(--orange), transparent 45%); outline-offset: 3px; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--orange); border-color: var(--orange); }

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(560px, 1.15fr);
  align-items: center;
  min-height: min(1000px, 100svh);
  max-width: var(--max);
  margin: 0 auto;
  padding: 118px var(--gutter) 52px;
  overflow: hidden;
}

.eyebrow, .section-index { margin: 0 0 24px; color: var(--orange); font-size: 13px; font-weight: 760; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1, .problem h2, .section-heading h2, .execution-copy h2, .completion-heading h2, .beta-copy h2 { margin: 0; font-size: clamp(48px, 5.45vw, 82px); font-weight: 780; line-height: 1.05; letter-spacing: -0.065em; }
.hero h1 { font-size: clamp(48px, 4.7vw, 72px); }
.hero-description { max-width: 520px; margin: 34px 0 0; color: var(--muted); font-size: clamp(18px, 1.45vw, 22px); letter-spacing: -0.025em; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 36px; }

.reveal { transition: opacity 680ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.can-reveal { opacity: 0; transform: translateY(22px); }
.reveal.can-reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero-visual.can-reveal, .execution-device.can-reveal { transition-delay: 100ms; }
.workflow-step:nth-child(2).can-reveal { transition-delay: 70ms; }
.workflow-step:nth-child(3).can-reveal { transition-delay: 140ms; }

.hero-visual { position: relative; height: clamp(560px, 64vw, 760px); min-width: 0; }
.device { margin: 0; background: transparent; }
.device img { display: block; width: 100%; height: auto; }
.hero-device { position: absolute; width: clamp(220px, 21vw, 310px); }
.device-home { z-index: 3; top: 4%; left: 34%; }
.device-plan { z-index: 2; top: 18%; left: 3%; width: clamp(190px, 18vw, 268px); transform: rotate(-2.5deg); }
.device-run { z-index: 2; top: 18%; right: -4%; width: clamp(190px, 18vw, 268px); transform: rotate(2.5deg); }

.problem {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 32px;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(120px, 14vw, 210px) var(--gutter);
  border-top: 1px solid var(--rule);
}
.problem h2 { font-size: clamp(46px, 5vw, 74px); }
.problem-copy { padding-bottom: 7px; color: var(--muted); font-size: clamp(19px, 1.5vw, 23px); }
.problem-copy p { margin: 0 0 18px; }
.problem-copy strong { color: var(--ink); font-weight: 720; }

.section-pad { max-width: var(--max); margin: 0 auto; padding: clamp(108px, 12vw, 180px) var(--gutter); }
.section-heading { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 32px; align-items: start; margin-bottom: 94px; }
.section-heading .section-index { margin-top: 14px; }
.section-heading h2 { font-size: clamp(50px, 5vw, 76px); }
.section-heading > p:last-child { max-width: 380px; margin: 16px 0 0; color: var(--muted); font-size: 19px; }

.workflow { border-top: 1px solid var(--rule); }
.workflow-list { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; min-height: 920px; margin: 0; padding: 0; list-style: none; }
.workflow-step { display: flex; flex-direction: column; gap: 32px; }
.step-input { grid-column: 1 / span 3; padding-top: 250px; }
.step-plan { grid-column: 5 / span 4; padding-top: 110px; }
.step-focus { grid-column: 10 / span 3; }
.step-copy { min-height: 220px; }
.step-number { display: block; margin-bottom: 22px; color: var(--orange); font-size: 25px; font-weight: 760; }
.step-number::after { display: inline-block; width: 42px; height: 1px; margin: 0 0 8px 14px; background: var(--orange); content: ""; }
.step-copy h3 { margin: 0 0 18px; font-size: clamp(25px, 2.1vw, 34px); line-height: 1.15; letter-spacing: -0.045em; }
.step-copy p { margin: 0; color: var(--muted); font-size: 16px; }
.workflow-device { width: 100%; }

.execution-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: center;
  min-height: 940px;
  padding: clamp(70px, 8vw, 118px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.execution-band.can-reveal { opacity: 0.72; transform: translateY(36px); }
.execution-band.can-reveal.is-visible { opacity: 1; transform: translateY(0); }
.execution-copy { position: relative; z-index: 2; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.execution-copy h2 { font-size: clamp(64px, 7.1vw, 104px); }
.execution-copy > p:not(.eyebrow) { margin: 34px 0 0; color: #cfc8bf; font-size: 22px; }
.execution-wordmark { margin-top: auto; color: var(--orange); font-size: 29px; font-weight: 760; }
.text-accent { color: var(--orange); }
.execution-device { position: relative; z-index: 2; width: min(100%, 390px); justify-self: end; }

.completion-heading { max-width: 940px; margin: 0 auto 84px; text-align: center; }
.completion-heading h2 { font-size: clamp(52px, 5.7vw, 82px); }
.completion-heading > p:last-child { max-width: 620px; margin: 28px auto 0; color: var(--muted); font-size: 19px; }
.completion-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(14px, 2.5vw, 38px); align-items: center; }
.completion-device { overflow: visible; }
.completion-device figcaption { padding: 18px 8px 4px; background: var(--paper); color: var(--muted); text-align: center; font-size: 14px; }
.flow-arrow { color: var(--orange); font-size: 36px; font-weight: 400; }

.difference { border-top: 1px solid var(--rule); }
.difference .section-heading { display: block; }
.section-heading.compact { margin-bottom: 64px; }
.difference-list { border-top: 1px solid var(--ink); }
.difference-row { display: grid; grid-template-columns: 0.18fr 0.9fr 0.9fr; gap: 28px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--rule); }
.difference-row > span { color: var(--orange); font-weight: 750; }
.difference-row h3 { margin: 0; font-size: clamp(25px, 2.1vw, 34px); letter-spacing: -0.04em; }
.difference-row p { margin: 0; color: var(--muted); font-size: 18px; }

.faq { display: grid; grid-template-columns: 0.9fr 1.2fr; gap: clamp(60px, 9vw, 150px); border-top: 1px solid var(--rule); }
.faq .section-heading { display: block; margin: 0; }
.faq .section-heading h2 { font-size: clamp(48px, 4.5vw, 68px); }
.faq-list { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--rule); }
summary { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-size: 19px; font-weight: 650; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { color: var(--orange); font-size: 24px; font-weight: 400; content: "+"; }
details[open] summary::after { content: "−"; }
details p { max-width: 680px; margin: -4px 52px 28px 0; color: var(--muted); }

.beta {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(60px, 10vw, 150px);
  max-width: none;
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
}
.beta-copy { max-width: 650px; justify-self: end; }
.beta-copy h2 { font-size: clamp(48px, 4.8vw, 72px); }
.beta-copy > p:not(.section-index) { max-width: 570px; margin: 30px 0 0; color: var(--muted); font-size: 19px; }
.beta-form { width: min(100%, 600px); }
.beta-form > label:not(.consent), .beta-form legend { display: block; margin: 0 0 10px; font-weight: 680; }
.beta-form input[type="email"] { width: 100%; height: 58px; margin-bottom: 24px; padding: 0 17px; border: 1px solid var(--rule); border-radius: 8px; background: color-mix(in srgb, white, var(--paper) 30%); color: var(--ink); }
.beta-form fieldset { margin: 0 0 22px; padding: 0; border: 0; }
.platform-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.platform-options label { position: relative; cursor: pointer; }
.platform-options input { position: absolute; opacity: 0; }
.platform-options span { display: flex; height: 58px; align-items: center; padding: 0 17px; border: 1px solid var(--rule); border-radius: 8px; background: color-mix(in srgb, white, var(--paper) 30%); }
.platform-options span::before { width: 16px; height: 16px; margin-right: 10px; border: 1px solid var(--rule); border-radius: 50%; content: ""; }
.platform-options input:checked + span { border-color: var(--orange); color: var(--orange); }
.platform-options input:checked + span::before { border: 5px solid var(--orange); }
.platform-options input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--orange), transparent 45%); outline-offset: 3px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 20px; color: var(--muted); font-size: 14px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange); }
.consent em { color: var(--orange); font-style: normal; }
.submit-button { width: 100%; border: 0; }
.form-status { min-height: 25px; margin: 12px 0 0; color: var(--orange); font-size: 14px; font-weight: 620; }

.site-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 38px var(--gutter); border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; }
.site-footer .brand { color: var(--ink); }

@media (hover: hover) {
  .workflow-device, .completion-device { transition: transform 220ms ease; }
  .workflow-device:hover, .completion-device:hover { transform: translateY(-4px); }
}

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 0.8fr 1.2fr; }
  .hero h1 { font-size: clamp(45px, 5.7vw, 64px); }
  .problem { grid-template-columns: 1.2fr 0.8fr; }
  .section-heading { grid-template-columns: 1fr 0.8fr; }
  .workflow-list { min-height: 800px; }
  .step-input { grid-column: 1 / span 4; padding-top: 210px; }
  .step-plan { grid-column: 5 / span 4; padding-top: 100px; }
  .step-focus { grid-column: 9 / span 4; }
  .execution-band { min-height: 760px; }
  .beta { gap: 60px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .site-header { height: 68px; }
  .site-header.is-scrolled { height: 62px; }
  .brand { font-size: 19px; }
  .brand-icon { width: 30px; height: 30px; }
  .header-cta { min-height: 42px; padding: 0 14px; font-size: 13px; }

  .hero { display: block; min-height: auto; padding-top: 128px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(43px, 12vw, 62px); line-height: 1.08; }
  .hero-description { margin-top: 24px; font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; margin-top: 28px; }
  .hero-actions > span { max-width: none; }
  .hero-visual { height: 550px; margin-top: 58px; }
  .hero-device { width: 53vw; }
  .device-home { top: 0; left: 24%; }
  .device-plan { top: 18%; left: -12%; width: 45vw; }
  .device-run { top: 18%; right: -12%; width: 45vw; }

  .problem { display: block; padding-top: 100px; padding-bottom: 100px; }
  .problem h2 { font-size: 46px; }
  .problem-copy { margin-top: 42px; font-size: 18px; }

  .section-pad { padding-top: 100px; padding-bottom: 100px; }
  .section-heading { display: block; margin-bottom: 64px; }
  .section-heading h2 { font-size: 48px; }
  .section-heading > p:last-child { margin-top: 26px; font-size: 17px; }

  .workflow-list { display: block; min-height: 0; }
  .workflow-step { display: grid; grid-template-columns: 0.76fr 1fr; gap: 20px; align-items: center; padding: 0 0 90px; }
  .workflow-step:last-child { padding-bottom: 0; }
  .step-copy { min-height: 0; }
  .step-copy h3 { font-size: 25px; }
  .step-copy p { font-size: 14px; }
  .execution-band { display: block; min-height: auto; padding: 70px var(--gutter); }
  .execution-copy h2 { font-size: 58px; }
  .execution-wordmark { margin-top: 44px; }
  .execution-device { width: min(82%, 330px); margin: 70px auto 0; }

  .completion-heading { text-align: left; }
  .completion-heading h2 { font-size: 47px; }
  .completion-heading > p:last-child { margin-left: 0; }
  .completion-flow { grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 18px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 20px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .completion-device { scroll-snap-align: center; }
  .flow-arrow { display: none; }

  .difference-row { grid-template-columns: 42px 1fr; gap: 14px; }
  .difference-row p { grid-column: 2; font-size: 16px; }

  .faq { display: block; }
  .faq .section-heading { margin-bottom: 58px; }
  summary { min-height: 82px; font-size: 17px; }

  .beta { display: block; }
  .beta-copy { margin-bottom: 58px; }
  .beta-copy h2 { font-size: 45px; }
  .beta-copy > p:not(.section-index) { font-size: 17px; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal.can-reveal, .execution-band.can-reveal { opacity: 1; transform: none; }
}
