/*
 * Second Order landing page, page-scoped styles.
 *
 * Rebuilt 2026-09-21 (second pass) from the Claude Design
 * "second-order-landing-standalone" artefact: ink hero with the product shot,
 * light paper ground, Manrope headings, Instrument Sans body. Teal is the
 * only saturated colour on light ground (primary button, links, one figure
 * per view); mint plays that role on ink.
 *
 * Fonts are bundled under assets/secondorder/fonts (Google Fonts, OFL).
 * The page uses the site's global header and footer parts; the header takes
 * the ink ground here so it reads as one block with the hero.
 */

/* ---------- Fonts ---------- */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("secondorder/fonts/manrope-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("secondorder/fonts/manrope-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Instrument Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("secondorder/fonts/instrument-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Instrument Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("secondorder/fonts/instrument-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:where(.secondorder-page, body:has(.secondorder-page) .ozone-header) {
	--so-teal:          #0F6E63;
	--so-teal-dark:     #0A4F47;
	--so-teal-tint:     #E3F1EE;
	--so-teal-tint-2:   #C6E4DE;
	--so-mint:          #5FD4C4;
	--so-ink:           #15181D;
	--so-ink-2:         #4A515C;
	--so-ink-3:         #7B8492;
	--so-line:          #D9DEE4;
	--so-bg:            #F4F6F7;
	--so-surface:       #FFFFFF;
	--so-ink-on-dark:   #F4F5F7;
	--so-muted-on-dark: #B4BBC6;
	--so-font-heading:  "Manrope", "Helvetica Neue", Arial, sans-serif;
	--so-font-body:     "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
	--so-wrap: none;
	--so-gutter: 0px;
}
body:has(.secondorder-page) .ozone-header { background-color: var(--so-ink); }

/* ---------- Page ground and resets ---------- */
.secondorder-page {
	background-color: var(--so-bg);
	color: var(--so-ink);
	font-family: var(--so-font-body);
	font-size: 15px;
	line-height: 1.55;
	letter-spacing: normal;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.secondorder-page .wp-block-group.alignfull { max-width: none; }
.secondorder-page :where(.is-layout-flow, .is-layout-constrained) > *,
.secondorder-page.is-layout-flow > * { margin-block-start: 0; margin-block-end: 0; }
.secondorder-page :where(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; }
.secondorder-page p { letter-spacing: normal; }
.secondorder-page a { color: var(--so-teal); text-decoration: none; }
.secondorder-page a:hover { color: var(--so-teal-dark); }

/* ---------- Layout primitives ---------- */
.secondorder-section { border-bottom: 1px solid var(--so-line); }
.secondorder-section--surface { background: var(--so-surface); }
.secondorder-section--bg { background: var(--so-bg); }
.so-wrap { width: 80%; max-width: var(--so-wrap); margin: 0 auto; padding: 80px 0; box-sizing: border-box; }
.so-wrap--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: start; }

.secondorder-page p.secondorder-eyebrow,
.secondorder-eyebrow {
	font-family: var(--so-font-body);
	font-size: 11px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--so-ink-3);
	margin: 0 0 24px;
}
/* Section eyebrows: the five labels above the Manrope headlines, as on /revive:
   larger, ink, with a teal rule on the same baseline. */
.secondorder-page p.secondorder-eyebrow--section,
.secondorder-eyebrow--section {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--so-font-body);
	font-size: 19px;
	font-weight: 500;
	letter-spacing: .08em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--so-ink);
	margin: 0 0 12px;
	white-space: nowrap;
}
.secondorder-eyebrow--section::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--so-teal);
	flex: none;
}
@media (max-width: 640px) {
	.secondorder-page p.secondorder-eyebrow--section,
	.secondorder-eyebrow--section { font-size: 15px; letter-spacing: .1em; white-space: normal; }
	.secondorder-eyebrow--section::before { width: 22px; }
}

body .secondorder-page h2.wp-block-heading,
body .secondorder-page h2 {
	font-family: var(--so-font-heading);
	font-weight: 800;
	font-size: 40px;
	line-height: 1.12;
	letter-spacing: -.03em;
	color: var(--so-ink);
	max-width: 20ch;
	margin: 0 0 24px;
	text-wrap: balance;
}
body .secondorder-page h3.wp-block-heading,
body .secondorder-page h3 {
	font-family: var(--so-font-heading);
	font-weight: 700;
	font-size: 21px;
	line-height: 1.25;
	letter-spacing: -.015em;
	color: var(--so-ink);
	margin: 0;
}
.secondorder-page p.secondorder-lead { font-size: 17px; line-height: 27px; color: var(--so-ink-2); margin: 0; }
.secondorder-page p.secondorder-body { font-size: 15px; line-height: 24px; color: var(--so-ink-2); margin: 0; }
.secondorder-page p.secondorder-caption { font-size: 13px; line-height: 20px; color: var(--so-ink-3); margin: 0; }
.secondorder-page p.secondorder-fine { font-size: 12px; line-height: 18px; color: var(--so-ink-3); margin: 0; }
.secondorder-page p.secondorder-figure {
	font-family: var(--so-font-heading);
	font-weight: 800;
	font-size: 44px;
	line-height: 1;
	letter-spacing: -.03em;
	font-variant-numeric: tabular-nums;
	color: var(--so-ink);
	margin: 12px 0 0;
}

/* Buttons: 44px controls, 6px radius, teal primary and teal-tint outline. */
.secondorder-page .wp-block-buttons { gap: 12px; }
.secondorder-page .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	box-sizing: border-box;
	font-family: var(--so-font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	color: #fff;
	background: var(--so-teal);
	border: 1px solid var(--so-teal);
	border-radius: 6px;
	padding: 0 20px;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.secondorder-page .wp-block-button__link:hover { background: var(--so-teal-dark); border-color: var(--so-teal-dark); color: #fff; }
.secondorder-page .is-style-outline .wp-block-button__link { color: var(--so-teal); background: transparent; border-color: var(--so-teal-tint-2); }
.secondorder-page .is-style-outline .wp-block-button__link:hover { background: var(--so-teal-tint); color: var(--so-teal-dark); }
.secondorder-page form { display: contents; }

/* ---------- Hero ---------- */
.secondorder-hero { background: var(--so-ink); color: var(--so-ink-on-dark); }
.secondorder-hero .so-wrap { padding: 64px 0 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; }
.secondorder-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.secondorder-page .secondorder-hero p.secondorder-eyebrow { color: var(--so-mint); margin: 0; }
.secondorder-hero__logo { height: 44px; width: auto; display: block; }
.secondorder-page p.secondorder-hero__case { font-size: 13px; color: var(--so-muted-on-dark); margin: 0; }
.secondorder-page .secondorder-hero__case a { color: var(--so-mint); }
body .secondorder-page h1.secondorder-hero__title {
	font-family: var(--so-font-heading);
	font-weight: 800;
	font-size: 60px;
	line-height: 1.05;
	letter-spacing: -.035em;
	color: var(--so-ink-on-dark);
	margin: 0;
	text-wrap: balance;
}
.secondorder-page p.secondorder-hero__lead { font-size: 17px; line-height: 27px; color: var(--so-muted-on-dark); max-width: 52ch; margin: 0; }
.secondorder-page .secondorder-hero a { color: var(--so-mint); }
.secondorder-page .secondorder-hero a.wp-block-button__link { color: #fff; }
.secondorder-hero .is-style-outline .wp-block-button__link { color: var(--so-mint); border-color: var(--so-teal-tint-2); }
.secondorder-hero .is-style-outline .wp-block-button__link:hover { background: rgba(95, 212, 196, .12); color: var(--so-mint); }
.secondorder-page p.secondorder-hero__note { font-size: 12px; line-height: 18px; color: var(--so-muted-on-dark); max-width: 48ch; margin: 0; }
.secondorder-hero__shot { min-width: 0; background: var(--so-surface); border-radius: 8px; padding: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.secondorder-hero__shot .wp-block-image { margin: 0; }
.secondorder-hero__shot img { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--so-line); }
.secondorder-hero__shot .wp-block-video { margin: 0; }
.secondorder-hero__shot video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 4px; border: 1px solid var(--so-line); background: var(--so-surface); }

/* ---------- The challenge ---------- */
.secondorder-page p.secondorder-problem__figure {
	font-family: var(--so-font-heading);
	font-weight: 800;
	font-size: 96px;
	line-height: .95;
	letter-spacing: -.03em;
	font-variant-numeric: tabular-nums;
	color: var(--so-ink);
	margin: 0;
}
.secondorder-page .secondorder-problem__bench p.secondorder-lead { max-width: 44ch; margin-top: 16px; }
.secondorder-page .secondorder-problem__bench p.secondorder-fine { max-width: 56ch; margin-top: 24px; }
.secondorder-page .secondorder-problem__copy p.secondorder-lead { margin: 0 0 16px; }
.secondorder-page .secondorder-problem__copy p.secondorder-lead:last-child { margin-bottom: 0; }

/* ---------- Results ---------- */
body .secondorder-page h2.secondorder-h2--two { max-width: none; text-wrap: initial; }
@media (min-width: 901px) { .secondorder-h2__line { display: block; } }
.secondorder-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.secondorder-stat { min-width: 0; background: var(--so-surface); border: 1px solid var(--so-line); border-radius: 6px; padding: 28px; box-sizing: border-box; }
.secondorder-page p.secondorder-stat__value {
	font-family: var(--so-font-heading);
	font-weight: 800;
	font-size: 56px;
	line-height: 1;
	letter-spacing: -.03em;
	font-variant-numeric: tabular-nums;
	color: var(--so-ink);
	margin: 0;
}
.secondorder-page p.secondorder-stat__value--hero { color: var(--so-teal); }
.secondorder-page p.secondorder-stat__label { margin: 12px 0 0; font-size: 15px; font-weight: 600; color: var(--so-ink); }
.secondorder-page p.secondorder-stat__note { margin: 6px 0 0; font-size: 13px; line-height: 20px; color: var(--so-ink-3); }

/* ---------- What we built ---------- */
.secondorder-page .secondorder-built p.secondorder-lead { max-width: 78ch; margin: 0 0 48px; }
.secondorder-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--so-line); border: 1px solid var(--so-line); border-radius: 6px; overflow: hidden; }
.secondorder-feature { background: var(--so-surface); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.secondorder-feature__icon { display: flex; justify-content: center; }
.secondorder-feature__icon svg { display: block; width: 36px; height: 36px; color: var(--so-ink); }

/* ---------- Seats ---------- */
.secondorder-page .secondorder-fit p.secondorder-lead { max-width: 66ch; margin: 0 0 40px; }
.secondorder-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: stretch; }
.secondorder-plan { min-width: 0; background: var(--so-surface); border: 1px solid var(--so-line); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 20px; box-sizing: border-box; }
.secondorder-plan .secondorder-eyebrow { margin: 0; }
.secondorder-page .secondorder-plan p.secondorder-caption { margin-top: 8px; }
.secondorder-plan__body { display: flex; flex-direction: column; gap: 14px; }
.secondorder-plan__cta { margin-top: auto; }
.secondorder-plan__cta .wp-block-buttons, .secondorder-plan__cta .wp-block-button, .secondorder-plan__cta .wp-block-button__link { width: 100%; }
.secondorder-keep { margin-top: 24px; background: var(--so-surface); border: 1px solid var(--so-line); border-radius: 6px; padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; align-items: start; }
.secondorder-keep .secondorder-eyebrow { margin: 0; }
.secondorder-page .secondorder-keep p.secondorder-caption { margin-top: 8px; }
.secondorder-page .secondorder-keep p.secondorder-body { max-width: 76ch; }
.secondorder-fit__ask { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.secondorder-page .secondorder-fit__ask p.secondorder-body { flex: 1 1 320px; min-width: 0; }
.secondorder-page p.secondorder-fit__terms { margin-top: 24px; font-size: 13px; line-height: 21px; color: var(--so-ink-3); max-width: 80ch; }

/* ---------- Getting started ---------- */
.secondorder-page .secondorder-start h2 { margin-bottom: 16px; max-width: 28ch; }
.secondorder-page .secondorder-start p.secondorder-lead { max-width: 66ch; margin: 0 0 40px; }
.secondorder-weeks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1px; background: var(--so-line); border: 1px solid var(--so-line); border-radius: 6px; overflow: hidden; }
.secondorder-week { background: var(--so-surface); padding: 24px; }
.secondorder-page .secondorder-week p.secondorder-eyebrow { margin-bottom: 12px; }

/* ---------- Questions ---------- */
.secondorder-faq .so-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
body .secondorder-page .secondorder-faq h2 { max-width: 16ch; margin: 0; }
.secondorder-faq__list { border-top: 1px solid var(--so-line); }
.secondorder-page .wp-block-details { border-bottom: 1px solid var(--so-line); margin: 0; padding: 0; background: transparent; }
.secondorder-page .wp-block-details > summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 16px;
	font-family: var(--so-font-heading);
	font-weight: 700;
	font-size: 17px;
	line-height: 1.35;
	letter-spacing: -.01em;
	color: var(--so-ink);
}
.secondorder-page .wp-block-details > summary::-webkit-details-marker { display: none; }
.secondorder-page .wp-block-details > summary::after {
	content: "";
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--so-ink);
	border-bottom: 2px solid var(--so-ink);
	transform: rotate(-45deg);
	transition: transform .15s;
}
.secondorder-page .wp-block-details[open] > summary::after { transform: rotate(45deg); }
.secondorder-page .wp-block-details > p { margin: 0; padding: 0 16px 20px; font-size: 15px; line-height: 24px; color: var(--so-ink-2); max-width: 88ch; }

/* ---------- CTA ---------- */
.secondorder-cta { border-bottom: 0; }
.secondorder-cta .so-wrap { padding: 72px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center; }
.secondorder-cta__copy, .secondorder-cta__actions { min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
body .secondorder-page .secondorder-cta h2 { margin: 0; }
.secondorder-page .secondorder-cta p.secondorder-body { max-width: 56ch; }
.secondorder-page .secondorder-cta p.secondorder-fine { max-width: 52ch; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	body .secondorder-page h1.secondorder-hero__title { font-size: 44px; }
	.secondorder-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.secondorder-faq .so-wrap { grid-template-columns: minmax(0, 1fr); }
	.secondorder-page p.secondorder-problem__figure { font-size: 72px; }
	.secondorder-stats { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.secondorder-features { grid-template-columns: minmax(0, 1fr); }
	.so-wrap { padding-top: 56px; padding-bottom: 56px; }
	.secondorder-hero .so-wrap { padding-top: 40px; padding-bottom: 48px; }
	body .secondorder-page h1.secondorder-hero__title { font-size: 38px; }
	body .secondorder-page h2.wp-block-heading, body .secondorder-page h2 { font-size: 30px; }
	.secondorder-page p.secondorder-stat__value { font-size: 44px; }
	.secondorder-page .wp-block-button { width: 100%; }
	.secondorder-page .wp-block-button__link { width: 100%; }
}
