/* filmod.pl
   Look and layout after the reference site raycfu.com: light zinc page, Inter with
   tight headings, small JetBrains Mono labels, white cards with a hairline border,
   a floating pill header, blue actions, teal prices. Values were measured on the
   reference (sizes, radii, colours); content, pictures and brand are our own. */

@font-face { font-family: 'Inter'; src: url('/fonts/Inter-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; 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: 'Inter'; src: url('/fonts/Inter-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-display: swap; 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/JetBrainsMono-latin.woff2') format('woff2'); font-weight: 100 800; font-display: swap; 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: 'JetBrains Mono'; src: url('/fonts/JetBrainsMono-latin-ext.woff2') format('woff2'); font-weight: 100 800; font-display: swap; 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #fafafa;
  --card: #ffffff;
  --ink: #18181b;
  --ink-2: #52525b;
  --muted: #71717a;
  --line: #e4e4e7;
  --line-2: #d4d4d8;
  --tile: #f4f4f5;
  --slate: #f1f5f9;
  --slate-line: #e2e8f0;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --teal: #0f766e;
  --teal-bg: #f0fdfa;
  --check: #0d9488;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1160px;
  --gutter: 20px;
  --r-card: 20px;
  --r-btn: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd, fieldset { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }
::selection { background: #e4e4e7; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
:target { scroll-margin-top: 110px; }
.i { width: 1em; height: 1em; flex: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -4rem; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 16px; }

.eyebrow { font-family: var(--mono); font-size: 10px; line-height: 16px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); }
.eyebrow .on { color: var(--teal); }
.h1 { font-size: clamp(2.5rem, 1.4rem + 3.2vw, 3.625rem); line-height: 1.1; letter-spacing: -0.055em; font-weight: 600; }
.h1 .soft { color: var(--muted); }
.h2, .head { font-size: clamp(1.875rem, 1.35rem + 1.5vw, 2.375rem); line-height: 1.15; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance; }
.h3 { font-size: 18px; line-height: 1.5; letter-spacing: -0.03em; font-weight: 550; }
.lead { font-size: 16px; line-height: 1.85; color: var(--ink-2); max-width: 34rem; }
.text { font-size: 15px; line-height: 1.7; color: var(--ink-2); max-width: 32rem; }
.small { font-size: 13px; line-height: 1.6; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px; border-radius: var(--r-btn); background: var(--blue); color: #fff; font-size: 14px; font-weight: 500; border: 0; cursor: pointer; white-space: nowrap; transition: background-color 160ms ease, transform 120ms var(--ease); }
.btn .i { width: 16px; height: 16px; }
.btn:active { transform: scale(0.98); }
.btn-text { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 4px; font-size: 14px; font-weight: 500; color: var(--ink); }
.btn-text .i { width: 15px; height: 15px; transition: transform 160ms var(--ease); }
.btn-dark { display: inline-flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.btn-dark .i { width: 14px; height: 14px; }
.link-blue { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 14px; font-weight: 500; }
.link-blue .i { width: 16px; height: 16px; transition: transform 160ms var(--ease); }
.link-plain { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; text-decoration-color: var(--line-2); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--blue-hover); }
  .btn-text:hover .i, .link-blue:hover .i { transform: translate(2px, -2px); }
  .link-blue:hover .i.arrow { transform: translateX(3px); }
  .btn-dark:hover { background: #27272a; }
  .link-plain:hover { text-decoration-color: currentColor; }
}

/* ---------- fields ---------- */
input[type="text"], input[type="email"], select, textarea { width: 100%; min-height: 46px; padding: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 9px; font-size: 14px; color: var(--ink); }
textarea { resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #8b8b94; opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
label { font-size: 13px; font-weight: 500; }

/* ---------- header: the floating pill ---------- */
.top-wrap { position: sticky; top: 14px; z-index: 20; padding-top: 24px; margin-top: -14px; }
.top { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 10px 12px 10px 18px; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); border: 1px solid var(--line); border-radius: 100px; box-shadow: 0 6px 24px rgba(24, 24, 27, 0.04); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 650; letter-spacing: -0.03em; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--tile); object-fit: cover; }
.top-links { display: flex; gap: 28px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.top-links a { padding: 10px 0; }
.top-links a[aria-current="page"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .top-links a:hover { color: var(--ink); } }
@media (max-width: 47.99em) {
  .top { padding: 8px 14px 8px 10px; height: 56px; }
  .top .btn-dark { display: none; }
  .top-links { gap: 16px; font-size: 12.5px; }
  .brand { font-size: 15px; }
}

/* ---------- sections and rules ---------- */
.section { padding-block: 90px; border-top: 1px solid var(--line); }
.section.first { border-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .side { display: grid; gap: 14px; justify-items: start; max-width: 15rem; }
.section-head .side p { font-size: 13px; line-height: 1.7; color: var(--muted); }
@media (max-width: 47.99em) { .section { padding-block: 64px; } }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-top: 76px; padding-bottom: 76px; }
.hero-photo { position: relative; justify-self: center; width: min(100%, 400px); }
.hero-photo .pic { border-radius: 24px; overflow: hidden; background: var(--tile); aspect-ratio: 400 / 420; }
.hero-photo .pic img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag { position: absolute; left: 14px; right: 14px; bottom: -24px; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 12px; font-weight: 500; box-shadow: 0 10px 30px rgba(24, 24, 27, 0.06); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--check); }
.hero-text { display: grid; gap: 24px; justify-items: start; }
.hero-text .h1 { margin-top: -6px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 6px; }
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 12px; color: var(--ink-2); }
.social a { display: inline-flex; align-items: center; gap: 6px; }
.social .i { width: 16px; height: 16px; }
@media (max-width: 63.99em) {
  .hero { grid-template-columns: 1fr; gap: 64px; padding-top: 32px; text-align: center; }
  .hero-text { justify-items: center; }
  .hero-text .lead { margin-inline: auto; }
  .actions, .social { justify-content: center; }
}

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; font-size: 12px; font-weight: 500; background: #fff; border: 1px solid var(--line); }
.chip .i { width: 15px; height: 15px; }
.chip-free { padding: 4px 8px; border: 0; border-radius: 6px; background: var(--teal-bg); color: var(--teal); font-size: 11px; font-weight: 500; }
.tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tile); color: var(--ink-2); }
.tile .i { width: 20px; height: 20px; }

/* where to start: featured guide + intentions + the word field */
.start { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; padding-top: 52px; padding-bottom: 100px; align-items: start; }
.featured { overflow: hidden; }
.featured .pic { position: relative; aspect-ratio: 696 / 386; background: var(--tile); }
.featured .pic img { width: 100%; height: 100%; object-fit: cover; }
.featured .pic .chip { position: absolute; top: 22px; left: 22px; box-shadow: 0 4px 14px rgba(24, 24, 27, 0.06); }
.featured .body { padding: 34px 34px 40px; display: grid; gap: 18px; justify-items: start; }
.featured .h2 { font-size: clamp(1.875rem, 1.3rem + 1.6vw, 2.375rem); }
.featured .text { max-width: 30rem; }
.side-stack { display: grid; gap: 24px; }
.intents { padding: 25px 24px 10px; }
.intents .h3 { font-size: 22px; letter-spacing: -0.04em; font-weight: 600; margin-top: 10px; margin-bottom: 8px; }
.intent { display: grid; grid-template-columns: 20px 1fr 16px; gap: 14px; align-items: center; padding: 19px 0; border-top: 1px solid var(--line); }
.intent-list li:first-child .intent { border-top: 0; }
.intent .i { width: 18px; height: 18px; color: var(--ink-2); }
.intent .t { display: block; font-size: 13px; font-weight: 500; }
.intent .s { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.intent .go { width: 14px; height: 14px; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .intent:hover .t { text-decoration: underline; text-underline-offset: 3px; } }
.lookup { padding: 26px; background: var(--slate); border: 1px solid var(--slate-line); border-radius: 18px; }
.lookup > .i { width: 20px; height: 20px; color: var(--ink-2); }
.lookup .h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.03em; margin-top: 14px; }
.lookup .sub { font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.word { margin-top: 18px; }
.word-row { display: flex; gap: 8px; }
.word-row input { flex: 1; min-width: 0; }
.word-go { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border: 0; border-radius: 9px; background: var(--blue); color: #fff; cursor: pointer; }
.word-go .i { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .word-go:hover { background: var(--blue-hover); } }
.word-msg { min-height: 1.4em; margin-top: 8px; font-size: 12px; color: var(--ink-2); }
@media (max-width: 63.99em) { .start { grid-template-columns: 1fr; } }

/* guide library */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin-top: 34px; }
.guides > li { display: grid; }
.guide { display: grid; grid-template-rows: auto auto auto auto 1fr auto; padding: 25px; transition: border-color 160ms ease, transform 200ms var(--ease); }
.guide .top-row { display: flex; justify-content: space-between; align-items: flex-start; }
.guide .kind { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 30px; }
.guide .h3 { margin-top: 6px; }
.guide .desc { font-size: 12.5px; line-height: 1.8; color: var(--muted); margin-top: 6px; }
.guide .foot-row { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.guide .foot-row .i { width: 14px; height: 14px; }
.guides li[hidden] { display: none; }
.guides li.match .guide { border-color: var(--blue); }
@media (hover: hover) and (pointer: fine) { .guide:hover { border-color: var(--line-2); transform: translateY(-2px); } }
@media (max-width: 63.99em) { .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 47.99em) { .guides { grid-template-columns: 1fr; } }
.library-search { margin-top: 34px; max-width: 36rem; }

/* split sections: text on one side, a picture card on the other */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split .copy { display: grid; gap: 22px; justify-items: start; }
.split .copy .eyebrow { margin-bottom: -4px; }
.checks { display: grid; gap: 14px; margin-top: 4px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.checks .i { width: 17px; height: 17px; color: var(--check); margin-top: 2px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.price strong { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; color: var(--teal); }
.price span { font-size: 13px; color: var(--muted); }
.note { font-size: 11.5px; color: var(--muted); margin-top: -8px; }
.photo-card { overflow: hidden; }
.photo-card .pic { aspect-ratio: 3 / 2; background: var(--tile); }
.photo-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.photo-card .cap { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 18px; font-size: 12px; color: var(--ink-2); }
.photo-card .cap .i { width: 16px; height: 16px; color: var(--blue); }
.plain-pic { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 2; background: var(--tile); }
.plain-pic img { width: 100%; height: 100%; object-fit: cover; }
.features { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-inline: 4px; font-size: 11.5px; color: var(--ink-2); }
.features span { display: inline-flex; align-items: center; gap: 8px; }
.features .i { width: 17px; height: 17px; }
.info-card { margin-top: 18px; padding: 24px 26px; display: grid; gap: 10px; }
.info-card .q { font-size: 16px; line-height: 1.7; letter-spacing: -0.01em; }
@media (hover: hover) and (pointer: fine) { .info-card:hover { border-color: var(--line-2); } }
.info-card .by { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 12px; color: var(--muted); }
.info-card .by .i { width: 16px; height: 16px; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 8px; background: var(--tile); font-size: 12px; color: var(--ink-2); }
.tag .i { width: 15px; height: 15px; }
.consult { overflow: hidden; }
.consult .pic { aspect-ratio: 3 / 2; background: var(--tile); }
.consult .pic img { width: 100%; height: 100%; object-fit: cover; }
.after { margin-top: 20px; }
.word-box { width: min(100%, 30rem); }
.consult .panel { padding: 22px 24px 18px; }
.consult .who { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.consult .who .t { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.consult .who .s { font-size: 11px; color: var(--muted); margin-top: 2px; }
.consult .who .i { width: 22px; height: 22px; color: var(--blue); }
.consult .eyebrow { margin-top: 20px; margin-bottom: 6px; }
.consult .rows li { display: grid; grid-template-columns: 24px 1fr 16px; gap: 8px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.consult .rows .n { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.consult .rows .i { width: 15px; height: 15px; color: var(--check); }
.consult .when { display: flex; align-items: center; gap: 12px; padding-top: 16px; font-size: 11.5px; color: var(--ink-2); }
.consult .when .i { width: 18px; height: 18px; color: var(--blue); }
@media (max-width: 63.99em) {
  .split { grid-template-columns: 1fr; gap: 48px; }
}

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; }
.faq .intro { display: grid; gap: 16px; align-content: start; justify-items: start; }
.faq .intro > p:not(.eyebrow) { font-size: 14px; color: var(--muted); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { width: 18px; height: 18px; color: var(--ink-2); transition: transform 200ms var(--ease); }
.faq-list details[open] summary .i { transform: rotate(45deg); }
.faq-list .answer { padding-bottom: 26px; font-size: 14px; line-height: 1.75; color: var(--ink-2); max-width: 36rem; }
@media (max-width: 63.99em) { .faq { grid-template-columns: 1fr; gap: 32px; } }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 36px 0 30px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { font-size: 17px; font-weight: 650; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 10px; }
.foot-tag { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12.5px; color: var(--ink-2); }
.foot-legal { display: grid; gap: 10px; margin-top: 32px; font-size: 11.5px; color: var(--muted); }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover, .foot-legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }

/* ---------- inner pages ---------- */
.page-top { padding-top: 64px; padding-bottom: 90px; }
.narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.notice { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; padding-top: 72px; padding-bottom: 90px; display: grid; gap: 22px; justify-items: start; }
.notice .head, .page-head .head { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); }
.page-head { display: grid; gap: 18px; justify-items: start; margin-bottom: 44px; }
.article-head { display: grid; gap: 16px; justify-items: start; margin-bottom: 44px; }
.article-head .meta { font-size: 12px; color: var(--muted); }
.prose { font-size: 16.5px; line-height: 1.8; color: #27272a; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 24px; line-height: 1.3; letter-spacing: -0.03em; font-weight: 600; margin-top: 2.2em; color: var(--ink); }
.prose h3 { font-size: 18px; line-height: 1.4; letter-spacing: -0.02em; font-weight: 600; margin-top: 1.8em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose code { font-family: var(--mono); font-size: 0.86em; background: var(--tile); border: 1px solid var(--line); padding: 0.08em 0.35em; border-radius: 6px; }
.prose pre { background: #18181b; color: #f4f4f5; padding: 18px 20px; overflow-x: auto; font-size: 13.5px; line-height: 1.65; border-radius: 14px; }
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; }
.prose blockquote { padding: 4px 0 4px 18px; border-left: 3px solid var(--line-2); color: var(--ink-2); }
.table-wrap { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; }
.next { margin-top: 64px; padding: 30px; display: grid; gap: 18px; justify-items: start; }
.next .t { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; max-width: 26ch; }

/* courses list and product pages */
.course-rows { display: grid; gap: 14px; margin-top: 34px; }
.course-rows a { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 24px; }
.course-rows .title { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.course-rows .muted { grid-column: 1; font-size: 13px; line-height: 1.7; }
.course-rows .val { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 22px; font-weight: 600; color: var(--teal); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .course-rows a:hover { border-color: var(--line-2); } }
.sale .price { margin-top: 0; }
.sale .prose { margin-top: 40px; }
.sale-h { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; margin-top: 48px; }
.lesson-list { margin-top: 16px; counter-reset: lesson; }
.lesson-list li { counter-increment: lesson; border-top: 1px solid var(--line); }
.lesson-list li:last-child { border-bottom: 1px solid var(--line); }
.lesson-list li > *, .lesson-list a { display: grid; grid-template-columns: 36px 1fr; gap: 2px 0; padding: 16px 0; }
.lesson-list a::before, .lesson-list li > .lesson-title::before { content: counter(lesson, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 3px; }
.lesson-list li:not(:has(a)) { display: grid; grid-template-columns: 36px 1fr; padding: 16px 0; }
.lesson-list li:not(:has(a))::before { content: counter(lesson, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 3px; }
.lesson-list li:not(:has(a)) > * { display: block; padding: 0; }
.lesson-list li:not(:has(a)) > .lesson-title::before { content: none; }
.lesson-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.lesson-list .muted { font-size: 13px; line-height: 1.6; }
.order { margin-top: 48px; padding: 30px; display: grid; gap: 20px; }
.order .h2 { font-size: 26px; }
.order-form { display: grid; gap: 20px; }
.order fieldset { border: 0; padding: 0; display: grid; gap: 14px; }
.order legend { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
.check label { font-size: 14px; font-weight: 400; line-height: 1.6; }
.order .btn { justify-self: start; }
.order .small { color: var(--muted); }

/* calendar */
.calendar { width: 100%; display: grid; gap: 10px; }
.calendar iframe { width: 100%; height: 760px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
@media (max-width: 47.99em) { .calendar iframe { height: 1080px; } }
.calendar-off { padding: 20px; border: 1px dashed var(--line-2); border-radius: 14px; font-size: 14px; color: var(--ink-2); }

/* project form page */
.project-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; padding: 30px; }
.project-form .wide { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 47.99em) { .project-form { grid-template-columns: 1fr; padding: 22px; } }

/* search results and recovery */
.results { display: grid; gap: 12px; width: 100%; }
.results a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 500; }
.results .small { color: var(--muted); font-weight: 400; }
.recover-form { display: grid; gap: 10px; width: min(100%, 34rem); }

/* course viewer */
.course-grid { display: grid; grid-template-columns: 250px 1fr; gap: 56px; padding-top: 48px; padding-bottom: 90px; }
.course-nav { position: sticky; top: 110px; align-self: start; display: grid; gap: 14px; font-size: 13px; }
.course-nav ol { list-style: decimal-leading-zero; padding-left: 2.2em; display: grid; gap: 8px; color: var(--ink-2); }
.course-nav [aria-current="page"] { color: var(--ink); font-weight: 600; }
.lesson-steps { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.course-home { padding-top: 64px; padding-bottom: 90px; display: grid; gap: 22px; }
@media (max-width: 47.99em) { .course-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; } .course-nav { position: static; } }

/* ---------- motion: small, once, and off for reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 700ms var(--ease); }
  .js .guides > li:nth-child(3n+2)[data-reveal] { transition-delay: 70ms; }
  .js .guides > li:nth-child(3n)[data-reveal] { transition-delay: 140ms; }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .faq-list details[open] .answer { animation: rise 320ms var(--ease); }
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- guide page: crumbs, author, help, more ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: 12px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.author { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); width: 100%; }
.author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--tile); }
.author .t { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }
.author .s { font-size: 12px; color: var(--muted); }
.author .btn-text { margin-left: auto; }
.help { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 40px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 13px; color: var(--ink-2); }
.help .i { flex: none; width: 18px; height: 18px; color: var(--blue); margin-top: 2px; }
.more { margin-top: 64px; }
.more-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.more-list { display: grid; gap: 12px; list-style: none; padding: 0; }
.more-list .card { display: grid; gap: 6px; padding: 18px 20px; }
.more-list .kind { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.11em; color: var(--muted); }
.more-list .title { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.more-list .foot-row { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--blue); }
.more-list .foot-row .i { width: 14px; height: 14px; }
@media (max-width: 47.99em) { .author .s { display: none; } }
