:root {
  --ink: #17150f;
  --ink-soft: #4d493f;
  --paper: #f3efe5;
  --paper-deep: #e5ddcc;
  --orange: #df5d2f;
  --orange-dark: #b33f1f;
  --line: rgba(23, 21, 15, 0.18);
  --white: #fffdf8;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 21, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 21, 15, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 3px;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 15px;
  letter-spacing: -0.04em;
}

.header-note,
.eyebrow,
.section-label,
.facts span,
.detail-grid span {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
  font-weight: 800;
}

.header-note {
  color: var(--ink-soft);
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
  padding: 88px 0 92px;
}

.eyebrow {
  color: var(--orange-dark);
  margin-bottom: 22px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: clamp(58px, 7.2vw, 96px);
  line-height: 0.93;
}

h2 {
  font-size: clamp(39px, 5vw, 64px);
  line-height: 1;
}

.lede {
  max-width: 630px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.52;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.facts span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--orange);
}

.button-primary {
  color: var(--paper);
  background: var(--ink);
}

.button-secondary {
  background: transparent;
}

.workflow {
  padding: 26px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 4px;
  box-shadow: 18px 18px 0 var(--orange);
  transform: rotate(0.7deg);
}

.workflow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.status {
  color: #c8c0b0;
}

.status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  background: #79ad73;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(121, 173, 115, 0.14);
}

.workflow-track {
  position: relative;
  height: 3px;
  margin-bottom: 2px;
  background: rgba(243, 239, 229, 0.16);
}

.track-fill {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--orange);
}

.workflow ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 3px 12px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(243, 239, 229, 0.13);
}

.workflow li:last-child {
  border-bottom: 0;
}

.workflow li > span {
  grid-row: span 2;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.workflow strong {
  font-size: 17px;
}

.workflow small {
  color: #a9a191;
  font-size: 13px;
}

.section {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-label {
  padding-top: 8px;
  color: var(--orange-dark);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 90px);
}

.prose {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.prose p:last-child {
  margin-bottom: 0;
}

.example-intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: end;
  margin-bottom: 48px;
}

.example-intro h2,
.example-intro p {
  margin-bottom: 0;
}

.example-intro p {
  max-width: 530px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.example-card {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.68);
}

.example-number {
  margin-bottom: 54px;
  color: var(--orange-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.example-card h3 {
  min-height: 64px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.08;
}

.example-card .request {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.operator-work {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.operator-work span {
  display: block;
  margin-bottom: 10px;
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.operator-work p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.55;
}

.number-list,
.apply-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.number-list {
  border-top: 1px solid var(--line);
}

.number-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.number-list span {
  color: var(--orange-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.number-list p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  min-height: 330px;
  padding: 25px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.66);
}

.card-dark {
  color: var(--paper);
  background: var(--ink);
}

.card-index {
  margin-bottom: 84px;
  color: var(--orange);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.card h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
}

.card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.card-dark p {
  color: #bdb5a5;
}

.tools-note {
  grid-column: 2;
  max-width: 830px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.detail-grid div {
  min-height: 145px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.5);
}

.detail-grid span {
  display: block;
  margin-bottom: 30px;
  color: var(--orange-dark);
}

.detail-grid strong {
  display: block;
  max-width: 380px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

.apply {
  margin: 40px 0 0;
  padding: clamp(40px, 7vw, 84px);
  color: var(--paper);
  background: var(--orange-dark);
}

.apply .eyebrow {
  color: #ffd2bf;
}

.apply h2 {
  margin-bottom: 14px;
}

.apply > div:first-child > p {
  color: #f0c1ae;
  font-size: 18px;
}

.apply-list {
  margin: 45px 0;
  border-top: 1px solid rgba(255, 253, 248, 0.25);
}

.apply-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.25);
}

.apply-list span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.apply-list p {
  max-width: 780px;
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.apply-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.apply-bottom p {
  max-width: 620px;
  margin: 0;
  color: #f0c1ae;
  line-height: 1.6;
}

.button-light {
  flex: 0 0 auto;
  color: var(--ink);
  border-color: var(--paper);
  background: var(--paper);
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 34px 0 48px;
  color: var(--ink-soft);
  font-size: 13px;
}

footer a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .workflow {
    max-width: 640px;
    transform: none;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-label {
    padding-top: 0;
  }

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

  .example-intro {
    grid-template-columns: 1fr;
  }

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

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

  .example-number {
    margin-bottom: 36px;
  }

  .example-card h3 {
    min-height: 0;
  }

  .operator-work {
    margin-top: 36px;
  }

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

  .card {
    min-height: 0;
  }

  .card-index {
    margin-bottom: 40px;
  }

  .tools-note {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 30px), var(--max));
  }

  .site-header {
    min-height: 70px;
  }

  .header-note {
    display: none;
  }

  .hero {
    gap: 54px;
    padding: 62px 0 72px;
  }

  h1 {
    font-size: clamp(52px, 18vw, 76px);
  }

  .workflow {
    padding: 20px;
    box-shadow: 8px 8px 0 var(--orange);
  }

  .workflow-head {
    gap: 20px;
  }

  .section {
    padding: 68px 0;
  }

  .number-list li {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

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

  .apply {
    width: calc(100% + 30px);
    margin-left: -15px;
    padding: 52px 24px;
  }

  .apply-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  footer {
    gap: 8px;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
