@font-face {
  font-family: "Aileron";
  src: url("/assets/fonts/Aileron-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Aileron";
  src: url("/assets/fonts/Aileron-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Aileron";
  src: url("/assets/fonts/Aileron-Black.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #161916;
  --ink-soft: #303630;
  --muted: #606860;
  --paper: #f1f2ee;
  --surface: #fbfcfa;
  --surface-muted: #e6e9e3;
  --accent: #ef6749;
  --accent-hover: #d85338;
  --line: #d1d6cf;
  --line-strong: #aeb6ad;
  --dark: #202421;
  --content: 1320px;
  font-family: "Aileron", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }

.skip-link {
  position: fixed;
  z-index: 30;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }
.site-header,
main,
.site-footer { width: min(var(--content), calc(100% - 56px)); margin-inline: auto; }

.site-header {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.wordmark img { border-radius: 8px; }
.wordmark b { color: var(--muted); font-weight: 600; }
.site-header nav,
.site-footer nav { display: flex; align-items: center; gap: 24px; }
.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms ease;
}

.site-header nav a:hover,
.site-footer nav a:hover { color: var(--ink); }
.header-action {
  justify-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent-hover);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.header-action:hover { background: var(--accent-hover); }
.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(420px, 0.76fr) minmax(620px, 1.24fr);
  align-items: center;
  gap: clamp(52px, 6vw, 96px);
  padding: 80px 0 74px;
  border-bottom: 1px solid var(--line-strong);
}

.hero-copy { position: relative; z-index: 1; max-width: 590px; }
.rename-note {
  max-width: 410px;
  margin: 0 0 24px;
  padding-left: 13px;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  font-size: 14px;
  font-weight: 600;
}

h1,
h2 { line-height: 1.04; letter-spacing: -0.036em; }
h1 { max-width: 690px; margin-bottom: 26px; font-size: clamp(48px, 5.3vw, 74px); font-weight: 600; }
h2 { font-size: clamp(32px, 3.8vw, 50px); font-weight: 600; }
h3 { margin-bottom: 6px; font-size: 19px; letter-spacing: -0.025em; }
.hero-lead {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.55;
}

.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.primary-action,
.text-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; text-decoration: none; }
.primary-action {
  min-height: 52px;
  padding: 0 19px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent-hover);
  border-radius: 4px;
  transition: background-color 150ms ease;
}

.primary-action:hover { background: var(--accent-hover); }
.text-action { min-height: 44px; border-bottom: 1px solid var(--ink); }
.platform-list {
  display: flex;
  flex-wrap: wrap;
  margin: 34px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  list-style: none;
}

.platform-list li + li::before { content: "/"; margin: 0 10px; color: var(--line-strong); }
.hero-visual {
  min-width: 0;
  margin: 0;
}

.screenshot-stage {
  position: relative;
  overflow: visible;
}

.screenshot-stage img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  box-shadow:
    0 18px 40px -16px rgba(22, 25, 22, 0.38),
    0 3px 8px rgba(22, 25, 22, 0.12);
}
.prompt-rail {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-strong);
}

.prompt-rail span { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.prompt-rail p { margin: 0; font-size: 15px; }
.prompt-rail strong { color: var(--muted); font-size: 13px; white-space: nowrap; }
.section { padding: 122px 0 130px; }
.section-intro {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(56px, 9vw, 130px);
  align-items: end;
  margin-bottom: 72px;
}

.section-intro h2 { max-width: 790px; margin-bottom: 0; }
.section-intro p,
.showcase-item > div p,
.platforms > div > p { color: var(--muted); font-size: 17px; }
.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  list-style: none;
}

.workflow-list li { display: grid; grid-template-columns: 32px 1fr; gap: 15px; padding: 27px 28px 30px 0; }
.workflow-list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.workflow-list li > span { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.workflow-list p { margin: 0; color: var(--muted); font-size: 14px; }

.showcase { display: grid; grid-template-columns: 1fr; padding-top: 0; }
.showcase-item {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(300px, 0.38fr) minmax(0, 0.62fr);
  align-items: center;
  gap: clamp(46px, 7vw, 100px);
  padding: 72px 0;
  border-top: 1px solid var(--line-strong);
}

.showcase-item:last-child { border-bottom: 1px solid var(--line-strong); }
.showcase-item:nth-child(even) { grid-template-columns: minmax(0, 0.62fr) minmax(300px, 0.38fr); }
.showcase-item:nth-child(even) > div:first-child { order: 2; }
.showcase-item > div:first-child { max-width: 470px; }
.showcase-item h2 { margin-bottom: 17px; font-size: clamp(30px, 3.3vw, 44px); }
.showcase-item > div:first-child p { max-width: 450px; margin-bottom: 0; }
.showcase-visual { width: 100%; max-width: none; }

.showcase-item--dark { color: var(--ink); background: transparent; }
.showcase-item--dark > div p { color: var(--muted); }
.platforms {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(70px, 11vw, 160px);
}

.platforms > div p { max-width: 560px; margin-bottom: 25px; }
.platforms dl { margin: 0; border-top: 1px solid var(--line-strong); }
.platforms dl > div { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.platforms dt { font-weight: 600; }
.platforms dd { margin: 0; color: var(--muted); }
.closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 50px;
  margin-bottom: 104px;
  padding: 70px 0 0;
  border-top: 3px solid var(--accent);
}

.closing h2 { max-width: 820px; margin-bottom: 12px; }
.closing p { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 17px; }
.not-found { min-height: 58vh; margin-top: 12vh; }
.not-found h1 { margin-bottom: 14px; }
.site-footer {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.site-footer p { margin: 0; color: var(--muted); font-size: 13px; }
.site-footer nav { justify-self: end; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { max-width: 780px; }
  .hero-visual { width: min(920px, calc(100% - 14px)); margin-right: 0; }
  .section-intro,
  .platforms { grid-template-columns: 1fr; gap: 50px; }
  .showcase-item { grid-template-columns: 1fr; gap: 34px; }
  .showcase-item:nth-child(even) { grid-template-columns: 1fr; }
  .showcase-item:nth-child(even) > div:first-child { order: 0; }
  .showcase-item > div:first-child { max-width: 720px; }
}

@media (max-width: 720px) {
  .site-header,
  main,
  .site-footer { width: min(100% - 28px, var(--content)); }
  .site-header { min-height: 66px; }
  .wordmark { font-size: 16px; }
  .wordmark img { width: 30px; height: 30px; }
  .header-action { min-height: 38px; padding-inline: 12px; font-size: 13px; }
  .hero { gap: 50px; padding: 52px 0 62px; }
  h1 { font-size: clamp(42px, 12vw, 56px); }
  .hero-visual { width: 100%; }
  .screenshot-stage img { border-radius: 9px; }
  .prompt-rail { grid-template-columns: 1fr; gap: 8px; min-height: 0; padding: 20px 0 23px; }
  .prompt-rail strong { white-space: normal; }
  .section { padding: 86px 0 94px; }
  .section-intro { margin-bottom: 50px; }
  .workflow-list { grid-template-columns: 1fr; }
  .workflow-list li,
  .workflow-list li + li { padding: 22px 0; border-left: 0; }
  .workflow-list li + li { border-top: 1px solid var(--line); }
  .showcase-item { padding: 56px 0; }
  .platforms dl > div { grid-template-columns: 1fr; gap: 4px; }
  .closing { grid-template-columns: 1fr; align-items: start; margin-bottom: 76px; padding-top: 50px; }
  .not-found { min-height: 62vh; margin-top: 8vh; }
  .site-footer { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .site-footer nav { justify-self: start; flex-wrap: wrap; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
