/* Anticipative theme. Tokens first; components below in page order. */

/* Fonts ship with the theme (latin subsets from Google Fonts, OFL): no third-party request blocks the first paint. */
@font-face { font-family: "Geist"; font-weight: 400 600; font-display: swap; src: url("../fonts/geist-latin.woff2") format("woff2"); }
/* Helvetica Neue sized to Geist’s measured width (1.014×), so text doesn't reflow, and the page doesn't shift, when Geist swaps in. */
@font-face { font-family: "Geist Fallback"; font-display: swap; src: local("Helvetica Neue"), local("HelveticaNeue"), local("Arial"); size-adjust: 101.4%; }

:root {
    --cream: #F5F1E8;
    --cream-deep: #EFE9DD;
    --cream-foot: #F0EBE0;
    --paper: #FBF9F4;
    --ink: #141413;
    --ink-soft: #3D3A34;
    --muted: #6B665B;
    --faint: #9A9384;
    --rule: #DCD4C3;
    --rule-strong: #CFC6B2;
    /* Brand: the A mark's ribbon, amber to flame to coral. Graphics only; text uses --accent-text. */
    --amber: #FFAD51;
    --flame: #E4503C;
    --coral: #FF6170;
    --ribbon: linear-gradient(90deg, var(--amber) 0%, #FE9E4D 30%, var(--flame) 65%, var(--coral) 100%);
    --accent: var(--ghost-accent-color, #C2301F);
    --accent-text: #C2301F;
    --ok: #2F6B4A;
    --info: #2F5E8C;

    --sans: var(--gh-font-body, "Geist", "Geist Fallback", system-ui, sans-serif);
    /* One typeface. --mono and --serif stay as aliases so older rules and articles keep working. */
    --mono: var(--sans);
    --serif: var(--sans);

    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(64px, 8vw, 96px);
    --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "ss01";
    overflow-wrap: break-word;
}
img, video, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[id] { scroll-margin-top: 88px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 30; padding: 10px 14px; background: var(--ink); color: var(--cream); border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* Type */
.display { font-weight: 600; letter-spacing: -0.04em; line-height: 0.98; margin: 0; }
.h1 { font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; margin: 0; font-size: clamp(36px, 4.8vw, 64px); text-wrap: balance; }
.platform-title { font-size: clamp(22px, 5.8vw, 64px); }
.platform-title span { display: block; white-space: nowrap; }
.h2 { font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; margin: 0; font-size: clamp(26px, 2.8vw, 38px); }
.h3 { font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; margin: 0; font-size: 18px; }
.label { font-size: 13px; font-weight: 500; color: var(--muted); }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.idx { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.lead { margin: 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-soft); max-width: 34em; }
.body { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.note { margin: 0; font-size: 13px; color: var(--muted); }

/* Layout */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section) 0; }
.section-end { padding-block: var(--section); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px clamp(40px, 7vw, 96px); align-items: start; }
.grid-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 40px; }
.stack-8, .stack-10, .stack-14, .stack-20 { display: flex; flex-direction: column; }
.stack-8 { gap: 8px; } .stack-10 { gap: 10px; } .stack-14 { gap: 14px; } .stack-20 { gap: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rule { border-top: 1px solid var(--rule); }
.rule-ink { border-top: 1px solid var(--ink); }
.page-intro { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 20px; }
.page-intro--center { align-items: center; text-align: center; }
.page-intro--center .lead { margin-inline: auto; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 640px; margin-bottom: 40px; }

/* Ribbon: a 2px brand line marking what is current or important */
.ribbon-top { position: relative; }
.ribbon-top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ribbon); }

/* Controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--radius); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; border: 1px solid var(--ink); transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-line:hover { border-color: var(--ink); }
.textlink { font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--rule-strong); padding-bottom: 2px; }
.textlink:hover { border-bottom-color: var(--ink); }
.inp { width: 100%; min-height: 44px; border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: 0 12px; font: inherit; font-size: 16px; background: var(--paper); color: var(--ink); }
.inp:focus { border-color: var(--ink); background: #fff; }
textarea.inp { padding: 12px; min-height: 128px; resize: vertical; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; }
.field .opt { color: var(--muted); font-weight: 400; }

.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 3px 8px; border-radius: 99px; border: 1px solid currentColor; white-space: nowrap; line-height: 1.4; color: var(--accent-text); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stack-20 > .status { align-self: flex-start; }
.status--live { color: var(--ok); }
.status--live::before { background: currentColor; }
.status--soon { color: var(--muted); }
.status--soon::before { background: none; box-shadow: inset 0 0 0 1px currentColor; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.site-header__logo { display: flex; align-items: center; min-height: 44px; flex: none; }
.site-header__logo img { display: block; height: 48px; width: auto; margin-left: -4px; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.nav { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.navlink { display: inline-block; font-size: 14px; font-weight: 500; color: var(--ink-soft); padding: 12px 0; border-bottom: 1px solid transparent; }
.navlink:hover { color: var(--ink); }
.navlink.is-current { color: var(--ink); border-bottom: 0; background: linear-gradient(var(--ink), var(--ink)) no-repeat left bottom / 100% 2px; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 20px; height: 1.5px; background: currentColor; margin: 0 auto; transition: transform .2s, opacity .2s; }
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; } .menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
    .site-header__logo img { height: 44px; }
    .menu-toggle { display: block; }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 20px; padding: 8px var(--gutter) 24px; background: var(--cream); border-bottom: 1px solid var(--rule); box-shadow: 0 24px 32px -24px rgba(70, 50, 28, .25); }
    .site-nav.is-open { display: flex; }
    .nav { flex-direction: column; align-items: stretch; gap: 0; }
    .nav li { border-bottom: 1px solid var(--rule); }
    .navlink { display: block; font-size: 17px; padding: 14px 0; border: 0; }
    .navlink.is-current { color: var(--accent-text); background: none; }
    .no-js .menu-toggle { display: none; }
    .no-js .site-nav { display: flex; position: static; padding: 0 0 16px; box-shadow: none; border: 0; }
    .no-js .site-header__bar { flex-wrap: wrap; }
}

/* Plates and products */
.plate { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #F7F3EA 0%, #ECE6D9 70%, #E6DFD0 100%); border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; }
.obj { display: block; height: auto; filter: drop-shadow(0 28px 22px rgba(70, 50, 28, .16)) drop-shadow(0 4px 5px rgba(70, 50, 28, .12)); }
.obj--sm { filter: drop-shadow(0 14px 12px rgba(70, 50, 28, .14)) drop-shadow(0 2px 3px rgba(70, 50, 28, .12)); }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 0 24px; border-bottom: 1px solid var(--rule); }
.spec { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; }
.spec .v { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; font-feature-settings: "tnum"; }

/* Home: hero. The product on the first screen: a real stock-check screen with the IRD8032 in front of it. */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 72px); align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero__title { font-size: clamp(38px, 3.7vw, 54px); line-height: 1.04; text-wrap: pretty; }
/* The reader sits under the table's bottom-left corner, never on its data: the screen stays readable. */
.hero__visual { position: relative; margin: 0; }
.hero__facts { margin: -8px 0 0; font-size: 14px; color: var(--ink-soft); }
.hero__visual .shot { width: 100%; max-width: 630px; margin-left: auto; }
.hero__reader { position: relative; display: block; width: 30%; max-width: 180px; height: auto; margin: -10px 0 0 -4px; filter: drop-shadow(0 20px 18px rgba(40, 30, 20, .22)) drop-shadow(0 3px 5px rgba(40, 30, 20, .16)); }
.hero__caption { position: absolute; right: 0; bottom: 12px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .hero__reader { width: 34%; } .hero__caption { bottom: 8px; } }

/* Product screenshots: real screens, shown close to actual size so the text stays readable. */
.shot { display: block; width: 100%; height: auto; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 2px rgba(20, 20, 19, .05), 0 18px 40px -18px rgba(20, 20, 19, .25); }
.crop { margin: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.crop .shot { max-width: var(--w); }
/* Phones get their own narrower crops (picture sources), so nothing scrolls sideways. */
.crop picture, .hero__visual picture { display: block; }
@media (max-width: 600px) { .crop .shot { max-width: 100%; width: auto; } .hero__visual .shot { width: 100%; } }

/* Platform: features as a varied grid, not equal cards. */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.tile { grid-column: span 12; display: flex; flex-direction: column; gap: 20px; padding: 24px 0 0; border-top: 1px solid var(--ink); overflow: hidden; }
.tile__text { display: flex; flex-direction: column; gap: 8px; max-width: 34em; }
.tile--7 { grid-column: span 7; } .tile--5 { grid-column: span 5; } .tile--6 { grid-column: span 6; }
.platform-hero { display: flex; flex-direction: column; gap: 12px; max-width: 1160px; margin-inline: auto; }
@media (max-width: 1000px) { .tile--7, .tile--5, .tile--6 { grid-column: span 12; } }

/* Lists of rows (workflows, status, explore) */
.rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.rows > li, .rows > a { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 8px 40px; padding: 24px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.rows .h2 { font-size: clamp(22px, 2vw, 28px); }
.row-status { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.steps li { padding: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps--4 { grid-template-columns: 1fr; } }
.steps .status { align-self: flex-start; }
/* Home: operations a business visitor recognises, photo first. */
.ops { padding-block: clamp(32px, 4vw, 48px) 0; }
/* Home: the two gaps existing software leaves open. The figure leads; one line explains it. */
.gaps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px clamp(32px, 5vw, 72px); margin-top: 32px; }
.gap { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid var(--ink); }
.gap__big { margin: 0 0 4px; font-size: clamp(48px, 6vw, 88px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--ink); font-feature-settings: "tnum"; }
.guide { padding-top: 32px; }
.guide__person { display: flex; align-items: center; gap: 20px; }
.guide__person .portrait { width: 88px; margin: 0; flex: none; }
.guide .actions { margin-top: 4px; }
.ops__head { gap: 12px; margin-bottom: 28px; }
/* Platform: how it works, one row per step with its availability. */
.workflow__plate { aspect-ratio: 1; max-height: 520px; padding: 48px; }
.workflow__plate img { max-width: 78%; max-height: 74%; width: auto; height: auto; }
.workflow { margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.workflow li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.workflow .idx { padding-top: 4px; }
.workflow .status { align-self: flex-start; }
.ops__list { border-top: 0; gap: 32px 24px; }
.ops__list li { padding: 0; }
.ops__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 8px; filter: grayscale(1) sepia(.16) contrast(1.06); } /* one documentary treatment for stock photos shot in different light */
@media (max-width: 560px) { .ops__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } .ops__list .h3 { font-size: 15px; line-height: 1.25; } .ops__list .body { font-size: 13px; line-height: 1.45; } }

.band { background: var(--cream-deep); border-block: 1px solid var(--rule); }
.band__inner { padding-block: clamp(64px, 8vw, 96px); }

/* Blog cards */
.post-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.post-row { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr) minmax(0, 200px); gap: 12px 40px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.post-row__title { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 400; margin: 0; }
.post-row a:hover .post-row__title { color: var(--accent-text); }
.post-row__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 1px solid var(--rule); }
@media (max-width: 720px) { .post-row { grid-template-columns: 1fr; } .post-row__img { grid-row: 1; } }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; }

/* Article */
.article-head { padding-block: clamp(48px, 7vw, 96px) 40px; display: flex; flex-direction: column; gap: 24px; max-width: 880px; }
.article-head .lead { max-width: 40em; }
.article-title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.03em; margin: 0; font-variation-settings: "opsz" 72; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 16px; border-top: 1px solid var(--rule); }
.byline img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.article-feature { max-width: 1040px; margin: 0 auto clamp(40px, 5vw, 64px); }
.article-feature img { display: block; width: 100%; max-height: 640px; object-fit: cover; border: 1px solid var(--rule); background: #ECE6D9; }
.article-feature figcaption { margin-top: 10px; }

.content { --measure: 680px; display: grid; grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [wide-start] minmax(0, 120px) [main-start] min(var(--measure), calc(100% - 2 * var(--gutter))) [main-end] minmax(0, 120px) [wide-end] minmax(var(--gutter), 1fr) [full-end]; font-size: clamp(17px, 1.3vw, 18px); line-height: 1.7; color: var(--ink-soft); }
.content > * { grid-column: main; margin: 0 0 1.25em; }
.content > .kg-width-wide { grid-column: wide; }
.content > .kg-width-full { grid-column: full; }
.content > .kg-width-wide img, .content > .kg-width-full img { width: 100%; }
.content h2, .content h3, .content h4 { color: var(--ink); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin-top: 1.8em; margin-bottom: .5em; }
.content h2 { font-size: clamp(24px, 2.4vw, 30px); }
.content h3 { font-size: 21px; }
.content h4 { font-size: 18px; }
.content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.content a:hover { color: var(--accent-text); }
.content strong { color: var(--ink); font-weight: 600; }
.content ul, .content ol { padding-left: 1.3em; }
.content li { margin: .35em 0; }
.content li::marker { color: var(--accent); }
.content blockquote:not([class]) { margin-block: 1.6em; padding: 0 0 0 24px; border-left: 3px solid; border-image: linear-gradient(180deg, var(--amber), var(--flame), var(--coral)) 1; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; color: var(--ink); }
.content blockquote.kg-blockquote-alt { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.2; text-align: center; color: var(--ink); margin-block: 1.6em; }
.content hr { border: 0; border-top: 1px solid var(--rule); margin-block: 2.4em; }
.content hr + * { margin-top: 0; }
.content code { font-family: var(--mono); font-size: .86em; background: var(--cream-deep); padding: .1em .35em; border-radius: 4px; }
.content pre { background: var(--ink); color: var(--cream); padding: 20px 24px; border-radius: var(--radius); overflow-x: auto; font-size: 14px; line-height: 1.6; }
.content pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.content figure { margin-block: 2em; }
.content figure img { display: block; margin-inline: auto; }
.content figcaption, .article-feature figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }
.content table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.content th, .content td { text-align: left; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--rule); }
.content .kg-embed-card iframe, .content iframe { max-width: 100%; }
.content .kg-callout-card { border-radius: var(--radius); }
.content .kg-bookmark-card a.kg-bookmark-container { text-decoration: none; border-color: var(--rule); border-radius: var(--radius); }
.content .kg-btn-accent, .content .kg-header-card-button { background: var(--ink); }
.article-foot { padding-block: 48px var(--section); }
.article-foot__inner { max-width: 680px; margin-inline: auto; display: flex; flex-direction: column; gap: 40px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: 13px; color: var(--ink-soft); border: 1px solid var(--rule-strong); border-radius: 99px; padding: 4px 10px; }
.tags a:hover { border-color: var(--ink); }
.subscribe-box { padding: 32px; background: var(--cream-deep); border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 16px; }

/* Newsletter form */
.subscribe { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.subscribe__row { display: flex; flex-wrap: wrap; gap: 8px; }
.subscribe__row .inp { flex: 1 1 160px; width: auto; min-width: 0; }
.subscribe__busy, .subscribe__msg { display: none; }
.subscribe__msg { margin: 0; font-size: 14px; }
.subscribe__ok { color: var(--ok); }
.subscribe__err { color: var(--accent-text); }
.subscribe.loading .subscribe__idle { display: none; }
.subscribe.loading .subscribe__busy { display: inline; }
.subscribe.loading button { opacity: .7; pointer-events: none; }
.subscribe.success .subscribe__row { display: none; }
.subscribe.success .subscribe__ok, .subscribe.error .subscribe__err { display: block; }

/* Pilot waitlist (Pricing) */
.pilot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(32px, 5vw, 64px); align-items: start; padding-block: var(--section) 0; scroll-margin-top: 80px; }
.pilot__intro { padding-top: 28px; }
.pilot__form { padding: 32px; background: var(--cream-deep); border: 1px solid var(--rule); gap: 18px; }
.pilot__choices { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pilot__choices legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 500; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--paper); font-size: 15px; cursor: pointer; transition: border-color .15s; }
.choice:hover { border-color: var(--ink); }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.choice .note { margin-left: auto; font-feature-settings: "tnum"; }
.pilot__form.success .pilot__choices, .pilot__form.success .field, .pilot__form.success .check { display: none; }
/* Checklist (lead generator): numbered by the list itself; steps open for members. */
.checklist { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 72px); align-items: start; padding-bottom: var(--section); }
.checklist__list { margin: 0; padding: 0; list-style: none; counter-reset: c; border-top: 1px solid var(--ink); }
.checklist__list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 6px 12px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.checklist__list li::before { counter-increment: c; content: counter(c) "."; grid-row: span 2; color: var(--muted); font-size: 15px; padding-top: 2px; }
.checklist__end { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; }
@media (max-width: 760px) { .checklist { grid-template-columns: 1fr; } }

/* Pricing: what every Starter includes. Equal plates so frames and captions line up. */
.includes { display: flex; flex-direction: column; gap: 16px; }
.includes__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.includes__item { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.includes__item .plate { aspect-ratio: 4 / 3; padding: 16px; }
.includes__item .obj { max-width: 82%; max-height: 82%; width: auto; }
.includes__item--app .plate { padding: 14px 0 0 14px; align-items: stretch; justify-content: flex-start; }
.includes__item--app .shot { width: 130%; max-width: none; height: auto; align-self: flex-start; border-radius: 6px 0 0 0; }
.includes__item strong { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .includes__list { grid-template-columns: 1fr 1fr; } }
.price-list__pilot { display: inline-block; margin-top: 10px; }
.cta__link { align-self: center; }
.ink .textlink { color: var(--cream); border-bottom-color: rgba(255,255,255,.35); }
.ink .textlink:hover { border-bottom-color: var(--cream); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
@media (max-width: 760px) { .pilot { grid-template-columns: 1fr; } .pilot__intro { padding-top: 0; } .pilot__form { padding: 20px; } .pilot__form .subscribe__row .btn { flex: 1 1 100%; } }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); background: var(--cream-foot); }
.site-footer__inner { padding-block: 56px 28px; display: flex; flex-direction: column; gap: 48px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 40px; }
.site-footer__grid > :last-child { grid-column: span 2; }
@media (max-width: 760px) { .site-footer__grid > :last-child { grid-column: auto; } }
.site-footer nav a { font-size: 14px; color: var(--ink-soft); }
.site-footer nav a:hover { color: var(--ink); }
.site-footer__logo { display: block; height: 48px; width: auto; align-self: flex-start; margin-left: -4px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--rule); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 16px 24px; }

/* Hardware */
.tabs { display: flex; flex-wrap: wrap; gap: 0 28px; border-bottom: 1px solid var(--rule); }
.tabs [role="tab"] { all: unset; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--muted); padding: 14px 0; margin-bottom: -1px; border-bottom: 1px solid transparent; }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-color: var(--ink); border-bottom-width: 2px; }
.tabs [role="tab"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.no-js .tabs { display: none; }
.product { padding-top: 40px; }
.no-js .product[hidden] { display: grid !important; }
.product__plate { aspect-ratio: 1; max-height: 520px; width: 100%; padding: 48px; }
.product__plate img { max-width: 80%; max-height: 74%; width: auto; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--ink); }
.spec-grid .spec { border-bottom: 1px solid var(--rule); }

.picker fieldset { border: 0; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 8px; }
.picker legend { padding: 0; margin-bottom: 12px; }
.picker label { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 16px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--paper); cursor: pointer; font-size: 15px; }
.picker label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.picker input { accent-color: var(--accent); margin: 0; }
.picker-result { border-top: 1px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 16px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 20px 14px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.tbl thead th { font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--ink); }
.tbl tbody th { font-size: 14px; font-weight: 500; color: var(--muted); padding-top: 16px; width: 150px; }

/* Price list: name, what's included, price. Phones put the price beside the name and the contents below. */
.price-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.price-list li { display: grid; grid-template-columns: minmax(160px, 240px) minmax(0, 1fr) auto; align-items: baseline; gap: 6px 32px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.price-list__price { font-size: 18px; font-weight: 500; font-feature-settings: "tnum"; text-align: right; white-space: nowrap; }
.price-list__split { display: block; margin-top: 6px; }
.contact-options { display: grid; gap: 12px; }
.contact-option { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--ink); border-radius: var(--radius); color: inherit; text-decoration: none; transition: background .15s; }
.contact-option:hover, .contact-option:focus-visible { background: var(--cream-deep); }
.contact-person { display: flex; align-items: center; gap: 20px; }
.contact-person .portrait { width: 80px; margin: 0; flex: none; }
.inquiry { padding: 24px; background: var(--cream-deep); border: 1px solid var(--rule); }
.inquiry .subscribe__row .btn { width: 100%; justify-content: center; }
.about { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 72px); }
.about > * { max-width: 760px; }
.about > .about__team { max-width: none; }
.about__block { display: flex; flex-direction: column; gap: 16px; }
.about__block.rule-ink { padding-top: 28px; }
.about__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px 48px; }
.tag-stock { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; margin: 0 0 64px; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.tag-stock li { display: flex; flex-direction: column; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 760px) {
    .price-list li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "items items"; }
    .price-list__name { grid-area: name; } .price-list__items { grid-area: items; } .price-list__price { grid-area: price; }
}

.tag-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 48px 24px; }
.tag-grid .plate { aspect-ratio: 4 / 3; padding: 28px; margin-bottom: 6px; }
.tag-grid .plate img { max-width: 74%; max-height: 78%; width: auto; }
@media (max-width: 560px) {
    .tag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
    .tag-grid .plate { padding: 14px; }
    .tag-grid .h3 { font-size: 15px; line-height: 1.25; }
    .tag-grid .body { font-size: 13px; line-height: 1.45; }
}

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 32px clamp(40px, 7vw, 96px); align-items: start; }
.faq__toc { position: sticky; top: 96px; display: flex; flex-direction: column; }
.faq__toc a { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--ink-soft); }
.faq__toc a:hover { color: var(--ink); }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } .faq__toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; } .faq__toc .label { width: 100%; } .faq__toc a { border: 1px solid var(--rule-strong); border-radius: 99px; padding: 6px 12px; font-size: 14px; } }
.faq-group + .faq-group { margin-top: 56px; }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--mono); color: var(--muted); font-size: 16px; }
.qa[open] summary::after { content: "−"; }
.qa p { margin: 0 0 24px; max-width: 680px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* About */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 48px 32px; }
.portrait { width: 112px; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #E6DFD0; margin-bottom: 14px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 760px) { .portrait { width: 88px; } }

/* Contact */
.contact-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "intro form" "process form"; gap: 32px clamp(40px, 7vw, 96px); }
.contact-intro { grid-area: intro; }
.contact-form { grid-area: form; }
.contact-process { grid-area: process; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "process"; } }
.next-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.next-steps li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.next-steps li::before { counter-increment: s; content: counter(s) "."; font-size: 15px; color: var(--muted); padding-top: 0; }

/* Error */
.error-page { min-height: 50vh; }

/* Ink bands: dark sections led by the ribbon (end-to-end story, closing CTA) */
.ink { --ink-soft: #CFC8BA; --muted: #A39C8E; --rule: #34312C; background: var(--ink); color: var(--cream); }
.ink .h1, .ink .h2, .ink .h3 { color: var(--cream); }
.ink .btn-ink { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.ink .btn-ink:hover { background: var(--flame); border-color: var(--flame); color: #fff; }
.ink .idx { color: var(--amber); }

/* CTA */
.cta-band { margin-top: var(--section); position: relative; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ribbon); }
.cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px 64px; align-items: end; padding-block: clamp(64px, 8vw, 104px); }
.cta__title { font-size: clamp(30px, 3.6vw, 48px); }
.cta-band + .site-footer { border-top: 0; }

/* End to end: tags, readers, app, console joined by the ribbon */
.e2e__inner { padding-block: clamp(72px, 9vw, 120px); display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.e2e__chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; position: relative; }
.e2e__chain::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--ribbon); }
.e2e__chain li { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 36px; }
.e2e__chain li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid var(--amber); box-sizing: border-box; }
.e2e__chain li:nth-child(2)::before { border-color: #FE9E4D; }
.e2e__chain li:nth-child(3)::before { border-color: var(--flame); }
.e2e__chain li:nth-child(4)::before { border-color: var(--coral); }
@media (max-width: 760px) {
    .e2e__chain { grid-template-columns: 1fr; gap: 28px; padding-left: 36px; }
    .e2e__chain::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--amber), var(--flame), var(--coral)); }
    .e2e__chain li { padding-top: 0; }
    .e2e__chain li::before { left: -36px; top: 3px; }
}

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

/* Privacy notice: long-form text beside the FAQ-style section list */
.legal { max-width: 680px; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.legal h2 { color: var(--ink); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.2; margin: 56px 0 14px; scroll-margin-top: 96px; }
.legal > div > h2:first-child { margin-top: 0; }
.legal p, .legal ul { margin: 0 0 1em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin: .45em 0; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal a:hover { color: var(--accent-text); }
.legal-lang { margin-top: 88px; padding-top: 40px; border-top: 1px solid var(--rule-strong); scroll-margin-top: 96px; }
.legal-lang .label + h2 { margin-top: 12px; }

.page-intro__row{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}
.blog-search{background:none;border:0;border-bottom:1px solid var(--rule-strong);cursor:pointer;font:inherit;font-size:14px;font-weight:500;padding:0 0 2px;color:var(--ink)}
.blog-search:hover{border-bottom-color:var(--ink)}
.blog-feature{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:start;padding:36px 0 44px;border-bottom:1px solid var(--rule)}
.blog-feature__img{display:block;aspect-ratio:4/3;overflow:hidden;border:1px solid var(--rule);background:#ECE6D9}
.blog-feature__img img{width:100%;height:100%;object-fit:cover;display:block}
.blog-feature:not(:has(.blog-feature__img)){grid-template-columns:1fr}
.blog-feature .h2 a:hover{color:var(--accent-text)}
.blog-more{display:block;margin:44px 0 14px;font-size:15px;font-weight:500}
.in-short{max-width:680px;margin:0 auto 28px;width:calc(100% - 2 * var(--gutter));padding:16px 20px;border:1px solid var(--rule);background:var(--paper)}
.in-short p{margin:6px 0 0;font-size:17px;line-height:1.6;color:var(--ink)}
.article-contact{margin-top:14px}
@media (max-width:800px){.blog-feature{grid-template-columns:1fr;gap:20px}.page-intro__row{flex-direction:column;align-items:flex-start}}

.article-feature{max-width:760px}
.article-feature img{height:auto;max-height:none;object-fit:contain}
