:root {
  --hatch-paper: #fffaf1;
  --hatch-paper-2: #f5eddf;
  --hatch-ink: #1b1b1b;
  --hatch-muted: #625f59;
  --hatch-blue: #145cff;
  --hatch-blue-dark: #0a3bb0;
  --hatch-coral: #ff6b57;
  --hatch-line: #cfc6b7;
  --hatch-radius: 18px;
  --hatch-shadow: 8px 8px 0 var(--hatch-ink);
}

html { scroll-padding-top: 90px; }
body.hatchsite { overflow-x: hidden; background: var(--hatch-paper); color: var(--hatch-ink); }
.hatchsite code { overflow-wrap: anywhere; }
.hatchsite a { color: var(--hatch-blue-dark); }
.hatchsite a:focus-visible,
.hatchsite button:focus-visible,
.hatchsite input:focus-visible,
.hatchsite select:focus-visible,
.hatchsite textarea:focus-visible,
.hatchsite summary:focus-visible { outline: 3px solid var(--hatch-blue); outline-offset: 3px; }
.hatch-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.hatch-kicker { color: var(--hatch-blue-dark); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hatch-section { padding: clamp(72px, 9vw, 128px) 0; border-top: 1px solid var(--hatch-line); }
.hatch-section--blue { background: var(--hatch-blue); color: #fff; border-color: var(--hatch-blue); }
.hatch-section--ink { background: var(--hatch-ink); color: #fff; border-color: var(--hatch-ink); }
.hatch-section--soft { background: var(--hatch-paper-2); }
.hatch-heading { max-width: 820px; margin-bottom: 42px; }
.hatch-heading h2 { font-size: clamp(2.15rem, 5vw, 4.5rem); letter-spacing: -.055em; line-height: .98; }
.hatch-heading p { max-width: 650px; color: var(--hatch-muted); font-size: 1.08rem; }
.hatch-section--blue .hatch-heading p,
.hatch-section--ink .hatch-heading p { color: rgba(255,255,255,.78); }
.hatch-section--blue .hatch-heading p { color: rgba(255,255,255,.96); }

/* Header and local logo */
.hatch-header { position: sticky; z-index: 300; top: 0; background: rgba(255,250,241,.94); border-bottom: 1px solid var(--hatch-line); backdrop-filter: blur(12px); }
.hatch-header__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hatch-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--hatch-ink) !important; text-decoration: none !important; flex-shrink: 0; }
.hatch-logo__mark { width: 44px; height: 44px; flex: none; }
.hatch-logo__type { display: grid; line-height: 1; }
.hatch-logo__word { font-size: 1.35rem; font-weight: 900; letter-spacing: -.045em; }
.hatch-logo__by { margin-top: 5px; font-size: .58rem; letter-spacing: .04em; color: var(--hatch-muted); }
.hatch-nav { display: flex; align-items: center; gap: 28px; }
.hatch-nav a { color: var(--hatch-ink); font-size: .9rem; font-weight: 750; text-decoration: none; }
.hatch-nav a:hover { color: var(--hatch-blue-dark); }
.hatch-nav .hatch-nav__cta { padding: 10px 17px; color: #fff; background: var(--hatch-ink); border-radius: 999px; }
.hatch-menu { display: none; width: 46px; height: 44px; border: 1px solid var(--hatch-ink); border-radius: 50%; background: transparent; color: var(--hatch-ink); cursor: pointer; }
.hatch-menu svg { width: 22px; margin: auto; }

/* Buttons */
.hatch-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hatch-btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; border: 2px solid var(--hatch-ink); border-radius: 999px; padding: 11px 22px; background: var(--hatch-ink); color: #fff !important; font: inherit; font-weight: 800; text-decoration: none !important; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }
.hatch-btn:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--hatch-coral); }
.hatch-btn--blue { background: var(--hatch-blue); border-color: var(--hatch-blue); }
.hatch-btn--paper { color: var(--hatch-ink) !important; background: var(--hatch-paper); }
.hatch-btn--outline { color: var(--hatch-ink) !important; background: transparent; }
.hatch-btn[disabled] { cursor: wait; opacity: .65; }

/* Home hero */
.hatch-hero { min-height: 750px; display: grid; align-items: center; padding: clamp(70px, 9vw, 120px) 0; }
.hatch-hero__grid { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(370px,.98fr); gap: clamp(42px,7vw,100px); align-items: center; }
.hatch-hero h1 { max-width: 690px; font-size: clamp(3.2rem, 7.2vw, 6.8rem); line-height: .87; letter-spacing: -.075em; }
.hatch-hero h1 em { color: var(--hatch-blue); font-family: Georgia,serif; font-weight: 400; }
.hatch-hero__copy { max-width: 610px; font-size: 1.16rem; color: var(--hatch-muted); }
.hatch-hero__note { margin-top: 22px; font-size: .84rem; font-weight: 700; }
.hero-preview { position: relative; justify-self: end; width: min(100%, 500px); padding: 20px 20px 0; border: 2px solid var(--hatch-ink); border-radius: 26px; background: #fff; box-shadow: var(--hatch-shadow); transform: rotate(2deg); }
.hero-preview:before { content: ''; display: block; width: 54px; height: 7px; margin: 0 auto 14px; border-radius: 20px; background: var(--hatch-ink); }
.hero-preview img { width: 100%; height: 520px; object-fit: cover; object-position: top; border-radius: 10px 10px 0 0; }
.hero-preview__tag { position: absolute; right: -28px; bottom: 48px; padding: 12px 16px; background: var(--hatch-coral); border: 2px solid var(--hatch-ink); font-weight: 850; transform: rotate(-5deg); }

/* Equal path choice */
.path-grid { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--hatch-ink); }
.path-card { padding: clamp(30px,5vw,64px); background: var(--hatch-paper); }
.path-card + .path-card { border-left: 2px solid var(--hatch-ink); background: #fff; }
.path-card__num { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 32px; border: 2px solid var(--hatch-ink); border-radius: 50%; font-weight: 900; }
.path-card h3 { font-size: clamp(2rem,4vw,3.5rem); letter-spacing: -.05em; }
.path-card p { max-width: 500px; color: var(--hatch-muted); }
.path-card ul { min-height: 120px; padding-left: 1.2em; }

/* Phone gallery */
.phone-shell { position: relative; }
.phone-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(500px,44%); gap: 24px; overflow-x: auto; padding: 6px 6px 28px; scroll-padding-inline: 6px; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; }
.phone-track::-webkit-scrollbar { display: none; }
.phone-card { display: grid; min-width: 0; min-height: 790px; grid-template-rows: 570px 1fr; border: 2px solid var(--hatch-ink); background: #fff; box-shadow: 8px 8px 0 var(--hatch-ink); overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
.phone-card__info { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; order: 2; padding: 28px 30px 32px; }
.phone-card__number { font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.phone-card h3 { margin: 28px 0 10px; font-size: clamp(2.7rem,4vw,4.25rem); line-height: .88; letter-spacing: -.07em; }
.phone-card__info p { max-width: 360px; margin: 0 0 24px; color: var(--hatch-muted); font-size: .96rem; }
.phone-card__info .hatch-btn { font-size: .88rem; }
.phone-stage { position: relative; display: grid; min-width: 0; place-items: center; order: 1; padding: 30px 30px 0; border-bottom: 2px solid var(--hatch-ink); background: #dce7ff; overflow: hidden; isolation: isolate; }
.phone-stage:before { content: attr(data-trade); position: absolute; z-index: -1; inset: auto auto 14px 50%; color: rgba(27,27,27,.1); font-size: clamp(6rem,13vw,11rem); font-weight: 950; letter-spacing: -.08em; line-height: .8; transform: translateX(-50%); white-space: nowrap; }
.phone-card:nth-child(2n) .phone-stage { background: #ffd8d1; }
.phone-card:nth-child(3n) .phone-stage { background: #f5eddf; }
.phone-frame { width: min(390px,100%); padding: 13px 11px 0; border: 2px solid var(--hatch-ink); border-radius: 40px 40px 0 0; background: var(--hatch-ink); box-shadow: 10px 10px 0 rgba(27,27,27,.22); overflow: hidden; align-self: end; }
.phone-frame:before { content: ''; display: block; width: 72px; height: 7px; margin: 0 auto 11px; border-radius: 20px; background: #666; }
.phone-frame img { display: block; width: 100%; height: 510px; object-fit: cover; object-position: top; background: linear-gradient(135deg,#fff 0 48%,#eee8dd 48% 52%,#fff 52% 100%); }
.phone-controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 24px; }
.phone-arrows { display: flex; gap: 9px; }
.phone-arrow { width: 48px; height: 48px; border: 2px solid var(--hatch-ink); border-radius: 50%; background: var(--hatch-paper); color: var(--hatch-ink); cursor: pointer; font-size: 1.4rem; transition: color .16s ease, background .16s ease; }
.phone-arrow:hover:not(:disabled) { color: #fff; background: var(--hatch-ink); }
.phone-arrow:disabled { cursor: default; opacity: .35; }
.phone-progress { flex: 1; height: 5px; background: var(--hatch-line); }
.phone-progress span { display: block; width: 16.666%; height: 100%; background: var(--hatch-blue); transition: transform .2s ease; transform-origin: left; }
.phone-count { min-width: 48px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* Templates */
.filter-row { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-btn { padding: 8px 15px; border: 1px solid var(--hatch-ink); border-radius: 999px; background: transparent; color: var(--hatch-ink); font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; }
.filter-btn[aria-pressed="true"] { background: var(--hatch-ink); color: #fff; }
.template-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.template-card { display: flex; min-height: 210px; flex-direction: column; padding: 22px; border: 1px solid var(--hatch-line); color: var(--hatch-ink) !important; background: var(--hatch-paper); text-decoration: none !important; transition: border-color .16s ease, transform .16s ease; }
.template-card:hover { border-color: var(--hatch-ink); transform: translateY(-3px); }
.template-card[hidden] { display: none; }
.trade-icon { width: 48px; height: 48px; margin-bottom: 28px; color: var(--hatch-blue); }
.trade-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.template-card h3 { margin: auto 0 3px; font-size: 1.05rem; }
.template-card span { color: var(--hatch-muted); font-size: .8rem; }
.template-status { color: var(--hatch-muted); }

/* Editorial cards */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--hatch-line); border: 1px solid var(--hatch-line); }
.feature { padding: 34px; background: var(--hatch-paper); }
.feature h3 { font-size: 1.25rem; }
.feature p { margin: 0; color: var(--hatch-muted); }
.process-list { counter-reset: process; border-top: 1px solid currentColor; }
.process-row { counter-increment: process; display: grid; grid-template-columns: 80px 1fr 1fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid currentColor; align-items: start; }
.process-row:before { content: '0' counter(process); color: var(--hatch-coral); font-weight: 900; }
.process-row h3 { margin: 0; font-size: 1.45rem; }
.process-row p { margin: 0; color: rgba(255,255,255,.75); }
.revision-callout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.revision-callout__big { font-size: clamp(5rem,14vw,11rem); color: var(--hatch-coral); font-weight: 900; letter-spacing: -.1em; line-height: .75; }
.revision-callout h2 { font-size: clamp(2.1rem,5vw,4.5rem); letter-spacing: -.055em; }

/* Price and ownership */
.price-grid { display: grid; grid-template-columns: .9fr 1.1fr; border: 2px solid var(--hatch-ink); }
.price-main { padding: clamp(32px,6vw,70px); background: var(--hatch-blue); color: #fff; }
.price-main__amount { font-size: clamp(3.7rem,9vw,7rem); font-weight: 900; letter-spacing: -.08em; line-height: .88; }
.price-main__amount small { font-size: 1rem; letter-spacing: 0; }
.price-main p { color: rgba(255,255,255,.96); }
.price-details { padding: clamp(32px,6vw,70px); background: #fff; }
.price-details h3 { font-size: 2rem; }
.price-details ul { padding-left: 1.15em; }
.ownership-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ownership-card { padding: 28px; border-top: 3px solid var(--hatch-ink); }
.ownership-card strong { display: block; margin-bottom: 10px; font-size: 1.15rem; }

/* FAQ and forms */
.faq { max-width: 900px; }
.faq details { border-top: 1px solid var(--hatch-line); }
.faq details:last-child { border-bottom: 1px solid var(--hatch-line); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 23px 46px 23px 0; font-size: 1.1rem; font-weight: 850; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: '+'; position: absolute; right: 4px; font-size: 1.5rem; }
.faq details[open] summary:after { content: '−'; }
.faq details p { max-width: 720px; padding-bottom: 22px; color: var(--hatch-muted); }
.signup-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.signup-tab { padding: 10px 18px; border: 2px solid #fff; border-radius: 999px; background: transparent; color: #fff; font: inherit; font-weight: 850; cursor: pointer; }
.signup-tab[aria-selected="true"] { color: var(--hatch-ink); background: #fff; }
.signup-panel { max-width: 840px; }
.signup-panel[hidden] { display: none; }
.hatch-form { display: grid; gap: 17px; padding: clamp(24px,5vw,48px); background: var(--hatch-paper); color: var(--hatch-ink); }
.hatch-fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.hatch-form label { display: block; font-size: .85rem; font-weight: 800; }
.hatch-form input,
.hatch-form select,
.hatch-form textarea { width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid #8d887e; border-radius: 4px; background: #fff; color: var(--hatch-ink); font: inherit; }
.hatch-form textarea { resize: vertical; }
.hatch-form .helptext { color: var(--hatch-muted); }
.hatch-result { margin-top: 20px; padding: 28px; color: var(--hatch-ink); background: #e6f3e9; border: 2px solid #2a713c; }
.hatch-result dl { display: grid; grid-template-columns: 130px 1fr; gap: 7px 12px; }
.hatch-result dd { margin: 0; overflow-wrap: anywhere; }
.hatch-result__payment { margin-top: 24px; padding-top: 20px; border-top: 1px solid #8bb897; }
.hatch-result__payment p { max-width: 62ch; }
.hatch-error { margin-top: 14px; padding: 14px; color: #8c1d10; background: #ffebe8; border: 1px solid #b93b2c; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* How it works */
.guide-hero { padding: clamp(80px,11vw,150px) 0 80px; }
.guide-hero h1 { max-width: 950px; font-size: clamp(3.8rem,9vw,8.4rem); line-height: .85; letter-spacing: -.08em; }
.guide-hero p { max-width: 660px; color: var(--hatch-muted); font-size: 1.2rem; }
.guide-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.guide-path { padding: clamp(28px,5vw,54px); border: 2px solid var(--hatch-ink); }
.guide-path:nth-child(2) { background: var(--hatch-coral); }
.guide-path h2 { font-size: clamp(2rem,4vw,3.5rem); letter-spacing: -.05em; }
.guide-path ol { padding-left: 1.3em; }
.guide-facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--hatch-line); border: 1px solid var(--hatch-line); }
.guide-fact { padding: 32px; background: var(--hatch-paper); }
.guide-fact h3 { font-size: 1.35rem; }

.hatch-footer { padding: 52px 0; background: var(--hatch-ink); color: #aaa59e; }
.hatch-footer__inner { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.hatch-footer a { color: #fff; }
.hatch-footer p { margin: 0; font-size: .82rem; }

@media (max-width: 950px) {
  .hatch-menu { display: inline-flex; align-items: center; justify-content: center; }
  .hatch-nav { position: fixed; inset: 78px 0 auto; display: none; gap: 0; padding: 10px 20px 24px; background: var(--hatch-paper); border-bottom: 2px solid var(--hatch-ink); }
  .hatch-nav[data-open="true"] { display: grid; }
  .hatch-nav a { padding: 15px 4px; border-bottom: 1px solid var(--hatch-line); }
  .hatch-nav .hatch-nav__cta { margin-top: 10px; text-align: center; border: 0; }
  .hatch-hero__grid { grid-template-columns: 1fr; }
  .hero-preview { justify-self: center; width: min(560px, 92%); transform: rotate(1deg); }
  .template-grid { grid-template-columns: repeat(3,1fr); }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 720px) {
  .hatch-wrap { width: min(100% - 28px, 1180px); }
  .hatch-header__inner { min-height: 70px; }
  .hatch-nav { inset-block-start: 70px; }
  .hatch-logo__by { display: none; }
  .hatch-logo__word { font-size: 1rem; letter-spacing: -.035em; }
  .hatch-hero { min-height: 0; padding-top: 68px; }
  .hatch-hero h1 { font-size: clamp(3.3rem,16vw,5.4rem); }
  .hero-preview img { height: 430px; }
  .hero-preview__tag { right: -8px; }
  .path-grid,
  .guide-paths,
  .price-grid,
  .revision-callout { grid-template-columns: 1fr; }
  .path-card + .path-card { border-left: 0; border-top: 2px solid var(--hatch-ink); }
  .path-card ul { min-height: 0; }
  .template-grid { grid-template-columns: repeat(2,1fr); }
  .feature-grid,
  .ownership-grid,
  .guide-facts { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 44px 1fr; }
  .process-row p { grid-column: 2; }
  .revision-callout { gap: 40px; }
  .hatch-fields-2 { grid-template-columns: 1fr; }
  .phone-arrows { display: none; }
  .phone-track { grid-auto-columns: 100%; gap: 16px; padding: 4px 4px 20px; scroll-padding-inline: 4px; }
  .phone-card { min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto auto; box-shadow: 5px 5px 0 var(--hatch-ink); }
  .phone-card__info { min-height: 255px; padding: 26px 24px 28px; }
  .phone-card h3 { margin: 38px 0 10px; font-size: clamp(2.75rem,14vw,4rem); }
  .phone-card__info p { margin-bottom: 22px; font-size: .94rem; }
  .phone-card__info .hatch-btn { min-height: 46px; padding: 9px 17px; }
  .phone-stage { min-height: 555px; padding: 26px 22px 0; border-left: 0; }
  .phone-stage:before { bottom: 14px; font-size: 5.8rem; }
  .phone-frame { width: min(330px,100%); border-radius: 34px 34px 0 0; box-shadow: 7px 7px 0 rgba(27,27,27,.22); }
  .phone-frame img { height: 500px; }
  .phone-controls { gap: 14px; margin-top: 18px; }
  .hatch-footer__inner { display: grid; align-items: start; }
}

@media (max-width: 420px) {
  .hatch-header__inner { gap: 10px; }
  .hatch-logo { gap: 7px; }
  .hatch-logo__mark { width: 34px; height: 34px; }
  .hatch-logo__word { font-size: .86rem; }
  .template-grid { grid-template-columns: 1fr; }
  .template-card { min-height: 170px; }
  .trade-icon { margin-bottom: 18px; }
  .signup-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .signup-tab { padding-inline: 10px; }
  .hatch-result dl { display: block; }
  .hatch-result dt { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
