:root {
  --yellow: #ffc20e;
  --black: #000;
  --white: #fff;
  --grey: #595959;
  --rule: #d6d6d6;
  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --gutter: 32px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font: 400 18px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.wrap { width: min(1320px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 20; padding: 10px 16px; background: var(--black); color: var(--yellow); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Type */
.mark { font-weight: 900; font-stretch: 125%; font-size: 28px; letter-spacing: -0.03em; line-height: 1; text-decoration: none; }
h1, h2, .core-mark { font-weight: 900; font-stretch: 125%; letter-spacing: -0.035em; }
h1 { font-size: clamp(38px, 4.5vw, 74px); line-height: 0.95; }
h2 { font-size: clamp(34px, 4.2vw, 64px); line-height: 0.98; }
h3 { font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.08; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 24px;
  border: 3px solid var(--black);
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  transition: background-color .15s, color .15s;
}
.btn-black { background: var(--black); color: var(--yellow); }
.btn-black:hover { background: #262626; }
.btn-line:hover { background: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn-yellow:hover { background: var(--white); border-color: var(--white); }
.btn-big { font-size: 20px; padding: 20px 30px; }

/* Hero */
.hero { background: var(--yellow); min-height: min(100vh, 1040px); display: flex; flex-direction: column; overflow: hidden; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding-block: 22px; position: relative; z-index: 3; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 16px; }
.site-header nav a { text-decoration: none; }
.nav-secondary:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-cta { background: var(--black); color: var(--yellow); padding: 11px 16px; }
.nav-cta:hover { background: #262626; }

.hero-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 24px;
  padding-bottom: 40px;
}
.hero-copy { position: relative; z-index: 2; padding-block: 24px; }
.lede { font-size: 20px; line-height: 1.5; font-weight: 500; max-width: 29em; margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-board {
  position: relative;
  height: min(76vh, 780px);
  min-height: 460px;
  margin-right: calc(-1 * max(var(--gutter), (100vw - 1320px) / 2));
}
.hero-board.is-fallback { background: url(img/vcfront-gen3-mono.webp) center / contain no-repeat; margin-right: 0; }

/* Problem */
.problem { background: var(--black); color: var(--white); padding-block: 120px; }
.problem h2 { max-width: 14em; }
.problem-lede { font-size: 22px; line-height: 1.5; color: #cfcfcf; max-width: 34em; margin-top: 30px; }
.options { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 3px solid var(--white); }
.option { padding: 32px 36px 40px 0; }
.option + .option { padding-left: 36px; border-left: 1px solid #3d3d3d; }
.option h3 { font-size: 28px; }
.option p { color: #bdbdbd; margin-top: 14px; font-size: 18px; }
.option-sev10 { background: var(--yellow); color: var(--black); border-left: 0 !important; padding-right: 36px; }
.option-sev10 p { color: var(--black); font-weight: 500; }

/* How it works */
.how { padding-block: 120px; }
.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: end; margin-bottom: 72px; }
.section-head p { color: var(--grey); font-size: 19px; }

.flow { --link: 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); column-gap: var(--link); align-items: stretch; }
.flow-in, .flow-out { display: grid; gap: 12px; align-content: center; }
.flow-in li, .flow-out li { position: relative; border: 3px solid var(--black); padding: 14px 18px; background: var(--white); }
.flow b { display: block; font-weight: 800; font-stretch: 110%; font-size: 18px; }
.flow li span { display: block; color: var(--grey); font-size: 15px; margin-top: 2px; }
.flow-out li { background: var(--yellow); }
.flow-out li span { color: #3b3100; }
.flow-in li::after, .flow-out li::before {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(var(--link) + 3px);
  height: 3px;
  margin-top: -1.5px;
  background: repeating-linear-gradient(90deg, var(--black) 0 10px, transparent 10px 18px);
  background-size: 18px 3px;
  animation: flow 0.9s linear infinite;
}
.flow-in li::after { left: 100%; }
.flow-out li::before { right: 100%; }
@keyframes flow { from { background-position: 0 0; } to { background-position: 18px 0; } }

.flow-core { display: flex; }
.core { flex: 1; background: var(--black); color: var(--white); padding: 34px 32px; display: flex; flex-direction: column; justify-content: center; }
.core-mark { color: var(--yellow); font-size: 64px; line-height: 0.9; }
.core-label { font-weight: 700; font-size: 17px; margin-top: 10px; }
.core ul { margin-top: 26px; border-top: 1px solid #3d3d3d; }
.core li { padding: 11px 0; border-bottom: 1px solid #3d3d3d; font-size: 16px; color: #dcdcdc; }
.core li:last-child { color: var(--yellow); font-weight: 600; }

/* Services */
.services { background: var(--yellow); padding-block: 120px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service { border: 3px solid var(--black); padding: 44px 44px 48px; display: flex; flex-direction: column; background: var(--yellow); }
.service-kind { font-weight: 700; font-size: 16px; }
.service h3 { font-size: clamp(30px, 3vw, 44px); font-weight: 900; font-stretch: 125%; letter-spacing: -0.035em; margin-top: 16px; }
.service > p:not(.service-kind) { margin-top: 18px; font-size: 18px; max-width: 30em; }
.service ul { margin: 28px 0 36px; border-top: 2px solid var(--black); }
.service li { padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .25); font-weight: 600; }
.service .btn { margin-top: auto; align-self: flex-start; }
.service-dark { background: var(--black); color: var(--white); }
.service-dark .service-kind { color: var(--yellow); }
.service-dark ul { border-top-color: var(--yellow); }
.service-dark li { border-bottom-color: #3d3d3d; }
.service-dark > p:not(.service-kind) { color: #cfcfcf; }

/* Founder */
.founder { padding-block: 120px; }
.founder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.founder-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 3px solid var(--black); }
.founder-copy > p:first-of-type { margin-top: 24px; font-size: 19px; color: #262626; max-width: 34em; }
.record { margin-top: 32px; border-top: 3px solid var(--black); }
.record li { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-weight: 600; }
.record li span:last-child { color: var(--grey); font-weight: 400; white-space: nowrap; }
.founder-links { display: flex; gap: 28px; margin-top: 28px; font-weight: 700; }
.founder-links a { text-decoration-thickness: 2px; text-underline-offset: 6px; }
.founder-links a:hover { background: var(--yellow); }

/* Contact */
.contact { background: var(--yellow); padding-block: 128px; }
.contact h2 { font-size: clamp(44px, 7vw, 112px); line-height: 0.92; }
.contact p { font-size: 21px; font-weight: 500; max-width: 30em; margin: 28px 0 40px; }
.contact .contact-mail { font-size: 16px; font-weight: 600; margin: 18px 0 0; }

.site-footer { display: flex; justify-content: space-between; align-items: center; padding-block: 28px; font-size: 15px; }
.site-footer .mark { font-size: 20px; }

/* Tablet */
@media (max-width: 1080px) {
  .hero-body { grid-template-columns: 1fr; gap: 0; }
  .hero-board { margin-right: 0; height: 62vh; min-height: 380px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .flow { grid-template-columns: 1fr; row-gap: 48px; }
  .flow-in li::after, .flow-out li::before { display: none; }
  .flow-core { position: relative; }
  .flow-core::before, .flow-core::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 3px;
    height: 48px;
    margin-left: -1.5px;
    background: repeating-linear-gradient(180deg, var(--black) 0 10px, transparent 10px 18px);
  }
  .flow-core::before { bottom: 100%; }
  .flow-core::after { top: 100%; }
  .service-grid, .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 620px; }
  .nav-secondary { display: none; }
}

/* Phone */
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  .mark { font-size: 24px; }
  .lede { font-size: 18px; }
  .hero-board { height: 52vh; min-height: 320px; }
  .problem, .how, .services, .founder { padding-block: 72px; }
  .problem-lede { font-size: 19px; }
  .options { grid-template-columns: 1fr; margin-top: 48px; }
  .option, .option + .option { padding: 24px 0; border-left: 0; }
  .option + .option { border-top: 1px solid #3d3d3d; }
  .option-sev10 { padding: 24px 20px !important; }
  .service { padding: 28px 22px 32px; }
  .core { padding: 26px 22px; }
  .core-mark { font-size: 48px; }
  .record li { flex-direction: column; gap: 2px; }
  .contact { padding-block: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow-in li::after, .flow-out li::before { animation: none; }
  * { transition: none !important; }
}
