@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope-variable.ttf') format('truetype');
}

/* Literata variable subsets (Cyrillic + Latin), roman and italic. */
@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/literata-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/literata-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: Literata;
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/literata-italic-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Literata;
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/literata-italic-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;
}


:root {
  color-scheme: light;
  --porcelain: #f5f0ea;
  --white: #ffffff;
  --ink: #241f27;
  --ink-soft: #3f3942;
  --body: #4b4450;
  --muted: #6a6270;
  --rosewood: #7c3a30;
  --rule: rgb(124 58 48 / .2);
  --rule-strong: rgb(124 58 48 / .3);
  --lilac: #d9ccff;
  --lilac-soft: #efe9ff;
  --amethyst: #8b6ff0;
  --amethyst-deep: #6a4fd6;
  --open-circle: #b9b2bc;
  --error: #a3261b;
  --serif: Literata, Georgia, 'Times New Roman', serif;
  font-family: Manrope, system-ui, Arial, sans-serif;
  color: var(--ink);
  background: var(--porcelain);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-width: 280px; font-size: 16px; line-height: 1.6; background: var(--porcelain); -webkit-font-smoothing: antialiased; }
a { color: var(--rosewood); }
a:hover { color: var(--ink); }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--lilac); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amethyst-deep); outline-offset: 3px; }
.shell { width: min(1200px, 100% - 40px); margin-inline: auto; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
svg { flex: none; }

.nowrap { white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--porcelain); }
.skip-link:focus { top: 16px; }

/* Buttons: ink for navigation, amethyst for the package call to action. */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 10px; font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .18s, transform .18s; }
.button-ink { background: var(--ink); color: var(--porcelain); }
.button-ink:hover { background: #3a323e; color: var(--porcelain); }
.button-large { min-height: 56px; padding: 0 26px; border-radius: 12px; font-size: 16px; }
.button-accent { min-height: 58px; padding: 0 28px; border-radius: 14px; background: var(--amethyst); color: #fff; font-size: 17px; font-weight: 700; }
.button-accent:hover { background: #7a5ce6; color: #fff; }
.button .arrow, .button .tg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.button:hover .arrow { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--rule); background: rgb(245 240 234 / .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; }
.wordmark { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; min-height: 44px; color: var(--ink); text-decoration: none; }
.wordmark:hover { color: var(--ink); }
.wordmark-name { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; white-space: nowrap; }
.amp { color: var(--amethyst); }
.wordmark-tagline { font-family: var(--serif); font-size: clamp(14px, 1.4vw, 18px); font-style: italic; font-weight: 400; line-height: 1.3; color: var(--muted); }

/* Hero */
.hero-inner { display: flex; flex-direction: column; align-items: center; max-width: 960px; padding-block: clamp(36px, 5vw, 64px) clamp(40px, 6vw, 72px); text-align: center; }
.pill { display: inline-flex; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px; background: var(--lilac); font-size: 14px; font-weight: 600; line-height: 1.4; }
h1 { font-size: clamp(34px, 5.2vw, 62px); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.highlight { padding: 0 4px; margin: 0 -4px; font-style: italic; font-weight: 500; background: linear-gradient(transparent 58%, var(--lilac) 58%); }
.lead { display: flex; flex-direction: column; gap: 12px; max-width: 660px; margin: 20px 0 28px; font-size: clamp(17px, 1.6vw, 19px); color: var(--body); }
.hero-hint { max-width: 520px; margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.hero-facts { width: 100%; max-width: 900px; margin-top: 32px; padding: 22px clamp(18px, 3vw, 28px); border: 1px solid var(--rule); border-radius: 18px; background: var(--white); text-align: left; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px 24px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink-soft); }
.facts li { display: flex; align-items: flex-start; gap: 10px; }
.facts svg { width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--amethyst); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.band { padding-block: clamp(44px, 6vw, 72px); }
.band-white { background: var(--white); border-block: 1px solid var(--rule); }
.section-lead { max-width: 680px; margin-top: 14px; font-size: clamp(17px, 1.6vw, 19px); color: var(--body); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 28px; }
.card { padding: 24px; border: 1px solid var(--rule); border-radius: 16px; background: var(--porcelain); }
.card h3 { margin-top: 16px; font-size: 20px; line-height: 1.25; }
.card p { margin-top: 8px; font-size: 16px; color: var(--body); }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lilac); }
.icon-tile svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Operate package */
.package { padding: clamp(22px, 4vw, 48px); border: 2px solid var(--amethyst); border-radius: 24px; background: var(--white); }
.package-name { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--amethyst); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.package-head h2 { margin-top: 16px; max-width: 820px; }
.package-intro { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin-top: 16px; font-size: clamp(17px, 1.6vw, 19px); color: var(--body); }
.modules { margin-top: 24px; border-top: 1px solid var(--rule); }
.module { display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 24px); padding-block: 22px; border-bottom: 1px solid var(--rule); }
.module-mark { display: flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lilac); font-family: var(--serif); font-size: 18px; font-weight: 700; }
.module-body { flex: 1 1 auto; min-width: 0; }
.module h3 { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -.015em; }
.module-summary { max-width: 760px; margin-top: 8px; font-size: 16px; color: var(--body); }
.module-note { display: inline-flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 8px 14px; border-radius: 10px; background: var(--lilac-soft); font-size: 15px; font-weight: 600; line-height: 1.45; }
.module-note svg { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--amethyst-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Disclosure: native <details>, so it works by keyboard and touch without script. */
.more { margin-top: 14px; }
.more summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 16px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; user-select: none; transition: border-color .15s, background-color .15s; }
.more summary::-webkit-details-marker { display: none; }
.more summary:hover { border-color: var(--amethyst); }
.more-label, .more-count { white-space: nowrap; }
.more-count { font-weight: 500; color: var(--muted); }
.chevron { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
details[open] > summary .chevron { transform: rotate(180deg); }
.more[open] summary { border-color: var(--amethyst); background: var(--lilac-soft); }
.more .checklist { margin-top: 18px; max-width: 820px; }

.package-foot { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.yours { flex: 1 1 380px; min-width: 0; padding: 24px; border-radius: 16px; background: var(--porcelain); }
.yours h3 { font-size: 21px; line-height: 1.25; }

.estimate { flex: 1 1 320px; min-width: 0; padding: 20px 24px; border: 1px dashed var(--rule-strong); border-radius: 16px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.estimate h3 { font-family: Manrope, system-ui, Arial, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.estimate p { margin-top: 8px; }

.plan-cta { display: flex; justify-content: center; margin-top: 28px; }

/* Notes-style checklist: a filled tick for work we do, an empty circle for the client's part. */
.checklist { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; font-size: 16px; line-height: 1.45; }
.checklist > li { position: relative; padding-left: 34px; }
/* The tick is drawn with borders: the site's CSP allows no data: images. */
.checklist > li::before { content: ''; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--amethyst); }
.checklist > li::after { content: ''; position: absolute; left: 8px; top: 5px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2.5px 2.5px 0; border-radius: 1px; transform: rotate(45deg); }
.checklist-open > li::before { box-sizing: border-box; background: none; border: 1.5px solid var(--open-circle); }
.checklist-open > li::after { content: none; }

/* Process: the request step spans a row above four columns on desktop (two on tablets); a vertical sequence on phones. */
.process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.process-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid var(--rule); border-radius: 16px; background: var(--porcelain); }
.process-step h3 { margin-top: 16px; font-size: 20px; line-height: 1.25; }
.process-step p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--body); }
/* The first step is the visitor's: highlighted, with the call to action. */
.process-step-start { grid-column: 1 / -1; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 16px; align-items: center; border: 2px solid var(--amethyst); background: var(--lilac-soft); }
.process-step-start h3 { grid-column: 2; grid-row: 1; margin-top: 0; }
.process-step-start p { grid-column: 2; grid-row: 2; }
.process-step-start .process-mark { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
.process-cta { grid-column: 3; grid-row: 1 / span 2; }
.process-mark { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--amethyst); color: #fff; font-family: var(--serif); font-size: 18px; font-weight: 700; }
/* A short connector in the gap leads from one step to the next. */
.process-step + .process-step::before { content: ''; position: absolute; left: -17px; top: 41px; width: 18px; height: 2px; background: var(--amethyst); }
/* The row under the request step starts fresh. */
.process-step:nth-child(2)::before { content: none; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; margin-top: 28px; }
.person { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 28px; padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--rule); border-radius: 18px; background: var(--white); }
.person img { flex: none; width: clamp(112px, 11vw, 148px); height: clamp(112px, 11vw, 148px); border: 1px solid var(--rule); border-radius: 50%; object-fit: cover; object-position: center 25%; }
.person > div { flex: 1 1 240px; min-width: 0; }
.person h3 { font-size: clamp(24px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -.02em; }
.person-role { margin-top: 6px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--rosewood); }
.person-bio { margin-top: 14px; color: var(--ink-soft); }
.person-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 18px; padding: 0 16px; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--white); font-size: 15px; font-weight: 600; color: var(--amethyst-deep); text-decoration: none; transition: border-color .15s, background-color .15s; }
.person-link:hover { border-color: var(--amethyst); background: var(--lilac-soft); color: var(--ink); }
.person-link .ext { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Request form */
.request { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px clamp(32px, 5vw, 72px); }
.request-copy { flex: 1 1 300px; min-width: 0; }
.request-promise { display: inline-flex; align-items: flex-start; gap: 8px; margin-top: 16px; padding: 10px 14px; border-radius: 12px; background: var(--lilac-soft); font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.request-promise svg { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--amethyst-deep); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lead-form { display: flex; flex: 1.6 1 560px; flex-direction: column; gap: 28px; min-width: 0; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--rule); border-radius: 20px; background: var(--porcelain); }
.question { min-width: 0; margin: 0; padding: 0; border: 0; scroll-margin-top: 120px; }
.question legend { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; padding: 0; font-size: 17px; font-weight: 700; line-height: 1.4; }
.q-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-top: -1px; border-radius: 50%; background: var(--ink); color: var(--porcelain); font-size: 13px; flex: none; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.option { position: relative; display: flex; }
.option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.option-box { display: flex; flex: 1; align-items: flex-start; gap: 12px; min-height: 56px; padding: 15px 16px; border: 1.5px solid var(--rule-strong); border-radius: 14px; background: var(--white); font-size: 16px; font-weight: 500; line-height: 1.35; pointer-events: none; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.option-dot { position: relative; flex: none; width: 22px; height: 22px; margin-top: -1px; border: 1.5px solid var(--open-circle); border-radius: 50%; background: var(--white); }
.option-text { display: flex; flex-direction: column; gap: 2px; }
.option-text strong { font-weight: 700; }
.option-sub { font-size: 14px; font-weight: 500; color: var(--muted); }
.option:hover .option-box { border-color: var(--amethyst); }
.option input:checked + .option-box { border-color: var(--amethyst-deep); background: var(--lilac-soft); box-shadow: inset 0 0 0 1px var(--amethyst-deep); font-weight: 600; }
.option input:checked + .option-box .option-dot { border-color: var(--amethyst-deep); background: var(--amethyst-deep); }
.option input:checked + .option-box .option-dot::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.option input:checked + .option-box .option-sub { color: var(--body); }
.option input:focus-visible + .option-box { outline: 2px solid var(--amethyst-deep); outline-offset: 2px; }
.has-error .option-box { border-color: var(--error); }
.other-field { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.other-field label { font-size: 15px; font-weight: 600; line-height: 1.4; }
.other-field input { width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--rule-strong); border-radius: 14px; background: var(--white); color: var(--ink); font-size: 16px; }
.other-field input:hover { border-color: var(--amethyst); }
.other-field input:focus { border-color: var(--amethyst-deep); outline: none; box-shadow: 0 0 0 3px var(--lilac); }
.q-error { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--error); }
.q-error::before { content: '!'; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--error); color: #fff; font-size: 13px; font-weight: 700; flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 24px; border-top: 1px solid var(--rule); }
.form-note { flex: 1 1 220px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.form-fallback { padding: 12px 16px; border-radius: 12px; background: var(--lilac-soft); font-size: 15px; line-height: 1.5; color: var(--ink); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; padding-block: 26px; font-size: 14px; color: var(--muted); }
.footer-name { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--ink); }
.footer-tagline { font-family: var(--serif); font-size: 15px; font-style: italic; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); }
.footer-year { margin-left: auto; }

@media (max-width: 1100px) {
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step:nth-child(even)::before { content: none; }
}

@media (max-width: 640px) {
  .process-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .process-step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding: 18px; }
  .process-step h3 { grid-column: 2; grid-row: 1; align-self: center; margin-top: 0; font-size: 19px; }
  .process-step p { grid-column: 2; grid-row: 2; }
  .process-mark { grid-column: 1; grid-row: 1; }
  .process-step + .process-step::before, .process-step:nth-child(even)::before { content: ''; left: 37px; top: -13px; width: 2px; height: 14px; }
  .process-step-start { grid-template-columns: 40px minmax(0, 1fr); }
  .process-step-start .process-mark { grid-row: 1; }
  .process-step-start .process-cta { grid-column: 1 / -1; grid-row: 3; width: 100%; margin-top: 14px; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .masthead { gap: 8px; padding-block: 10px; }
  .wordmark-name { font-size: 17px; }
  .wordmark-tagline { font-size: 12.5px; }
  .button-header { flex: 0 1 132px; min-height: 48px; padding: 6px 10px; font-size: 13px; line-height: 1.2; }
  .hero-inner { text-align: left; align-items: flex-start; }
  .hero-hint { max-width: none; }
  .hero-inner > .button { width: 100%; }
  .package { padding: 22px 18px; border-radius: 20px; }
  .module { flex-direction: column; gap: 12px; }
  .module-mark { width: 34px; height: 34px; font-size: 16px; }
  .more summary { width: 100%; gap: 8px; padding-inline: 14px 12px; font-size: 14.5px; }
  .more-count { margin-left: auto; }
  .yours { padding: 20px 18px; }
  .estimate { padding: 18px; }
  .plan-cta .button { width: 100%; }
  .person-link { width: 100%; justify-content: center; }
  .form-actions .button { width: 100%; padding-inline: 16px; }
  .footer-year { margin-left: 0; }
}

/* The smallest phones: the call to action moves under the wordmark so neither is cut off. */
@media (max-width: 359px) {
  .site-header { position: static; }
  .masthead { flex-wrap: wrap; }
  .wordmark { flex: 1 1 100%; }
  .button-header { flex: 1 1 100%; min-height: 44px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .button .arrow, .chevron, .option-box, .more summary, .person-link { transition: none; }
}
