/* Shared inner-page styles: page header, forms, contact layout. */
.page-head { padding: 150px 0 40px; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.02em; line-height: 1.08; max-width: 18ch; margin-top: 10px; }
.page-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 56ch; margin-top: 16px; }

.contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 28px; padding-bottom: 96px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 36px); }
.panel h2 { font-size: 22px; letter-spacing: -.01em; }
.panel > p { color: var(--muted); margin-top: 6px; line-height: 1.6; }

.form { display: grid; gap: 20px; margin-top: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field > legend { font-size: 14px; font-weight: 600; color: var(--text); padding: 0; }
.field .opt { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--text);
  background: var(--raised); border: 1px solid var(--line-strong); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #e5484d; }
.field__err { color: #e5484d; font-size: 14px; min-height: 0; }
:root[data-theme="light"] .field__err { color: #c42b31; }
.field__err:empty { display: none; }
.field__hint { color: var(--faint); font-size: 13px; }

.chips { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip-opt span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px;
  background: var(--raised); border: 1px solid var(--line-strong); color: var(--muted); transition: all .2s;
}
.chip-opt:hover span { border-color: var(--accent); color: var(--text); }
.chip-opt input:checked + span { background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: var(--accent); color: var(--text); }
.chip-opt input:focus-visible + span { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; min-width: 200px; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.form__note { color: var(--faint); font-size: 13px; line-height: 1.5; }

.alert { border-radius: 16px; padding: 16px 18px; border: 1px solid var(--line-strong); margin-top: 20px; line-height: 1.55; }
.alert--ok { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.alert--err { border-color: #e5484d; background: color-mix(in srgb, #e5484d 10%, transparent); }
.alert strong { display: block; margin-bottom: 2px; }

.channels { display: grid; gap: 14px; margin-top: 20px; }
.channel { display: flex; gap: 14px; align-items: center; min-height: 64px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--raised); color: var(--text); text-decoration: none; transition: border-color .2s, background .2s; }
.channel:hover { border-color: var(--accent); }
.channel__ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--icon-bg); color: var(--icon-ink); }
.channel b { display: block; font-size: 15px; }
.channel small { display: block; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.contact__aside { display: grid; gap: 20px; }
.contact__aside .ph { border-radius: 20px; }
.next-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; counter-reset: s; }
.next-steps li { counter-increment: s; display: flex; gap: 12px; color: var(--muted); line-height: 1.5; }
.next-steps li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--icon-bg); color: var(--icon-ink); }

@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .page-head { padding-top: 120px; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
}
/* Image placeholder slots (same as home.css) */
.ph {
  position: relative; margin: 0; width: 100%; aspect-ratio: var(--ar, 16 / 10);
  border-radius: 20px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(18, 194, 240, .2), transparent 60%),
    linear-gradient(135deg, var(--raised), var(--surface));
  border: 1px dashed var(--line-strong);
}
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, var(--hover-weak) 14px 15px);
}
.ph img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.ph:has(img) { border-style: solid; border-color: var(--line); }
.ph__cap {
  position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 6px;
  padding: 16px; text-align: center; color: var(--muted);
}
.ph__cap svg { color: var(--accent); }
.ph__cap strong { font: 600 14px/1.3 var(--display); color: var(--text); }
.ph__cap span { font-size: 12px; line-height: 1.4; color: var(--faint); overflow-wrap: anywhere; }

/* ---------- About ---------- */
.about-story { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: 24px; }
.about-story h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; line-height: 1.15; margin: 10px 0 18px; }
.about-story p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.75; max-width: 62ch; margin-bottom: 16px; }
.facts dl { margin: 18px 0 0; display: grid; gap: 16px; }
.facts dl > div { display: flex; gap: 14px; align-items: flex-start; }
.facts dt { font-size: 13px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.facts dd { margin: 2px 0 0; font-weight: 600; line-height: 1.4; }
.notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.note { padding: 26px 24px; border-radius: 26px; }
.note h3 { font-size: 19px; letter-spacing: -.015em; }
.note p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 8px; }
.path { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 28px; max-width: 760px; }
.path::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line-strong); }
.path li { position: relative; }
.path__dot { position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.path h3 { font-size: 20px; letter-spacing: -.015em; }
.path p { color: var(--muted); line-height: 1.7; margin-top: 6px; max-width: 62ch; }
.about-team { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 28px; }
.person__role { color: var(--accent); font-weight: 600; font-size: 14px; }

/* ---------- Pricing ---------- */
.plan__price { font: 700 clamp(22px, 2.4vw, 28px)/1.2 var(--display); letter-spacing: -.02em; color: var(--text); }
.ptable { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--surface); }
.ptable__row { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr .9fr; gap: 18px; padding: 18px 24px; align-items: center; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.ptable__row:first-child { border-top: 0; }
.ptable__row b { font-size: 16px; }
.ptable__row span { color: var(--muted); }
.ptable__row span:nth-child(3) { color: var(--text); font-weight: 600; }
.ptable__head { background: var(--raised); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.ptable__head span { color: var(--faint) !important; font-weight: 600 !important; }
.ptable__note { margin-top: 16px; max-width: 80ch; }
.payflow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: p; }
.payflow li { padding: 26px 24px; border-radius: 26px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; align-content: start; }
.payflow li.is-key { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.payflow__n { font: 700 28px/1 var(--display); color: var(--accent); letter-spacing: -.02em; }
.payflow h3 { font-size: 18px; }
.payflow p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.term { padding: 24px; border-radius: 24px; }
.term h3 { font-size: 17px; letter-spacing: -.01em; }
.term p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 8px; }
.faq__list { display: grid; gap: 12px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; min-height: 56px; font-weight: 600; position: relative; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; font-size: 24px; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 18px; }
.faq details p { padding: 0 22px 20px; color: var(--muted); line-height: 1.7; }

@media (max-width: 1000px) {
  .notes, .terms, .payflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-story { grid-template-columns: 1fr; }
  .ptable__head { display: none; }
  .ptable__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
  .ptable__row span[data-label]::before { content: attr(data-label) ": "; color: var(--faint); }
}
@media (max-width: 560px) {
  .notes, .terms, .payflow, .about-team { grid-template-columns: 1fr; }
  .about-story p:not(.eyebrow) { font-size: 16px; }
}

/* ---------- Icons and effects shared by inner pages ---------- */
.ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: inline-grid; place-items: center; background: var(--icon-bg); color: var(--icon-ink); border: 1px solid var(--line); }
.page-hero { position: relative; padding: 150px 0 56px; overflow: hidden; isolation: isolate; }
.page-hero .fx--flow { z-index: -1; opacity: .5; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.02em; line-height: 1.08; margin-top: 10px; max-width: 18ch; }
.page-hero .lead { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 54ch; margin-top: 16px; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vm__card { padding: 30px 28px; border-radius: 28px; display: grid; gap: 12px; align-content: start; }
.vm__card h3 { font-size: 22px; letter-spacing: -.015em; }
.vm__card p { color: var(--muted); line-height: 1.7; }
.note .ico, .term .ico { margin-bottom: 14px; }
.path-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.path-side { position: sticky; top: 120px; }
.path__dot { display: grid; place-items: center; left: -36px; top: 0; width: 30px; height: 30px; border: 2px solid var(--accent); color: var(--accent); background: var(--bg); }
.path { padding-left: 36px; }
.path::before { left: 14px; }
.path__year { display: inline-block; font: 700 13px/1 var(--display); color: var(--accent); letter-spacing: .08em; margin-bottom: 6px; }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.payflow li .ico { margin-bottom: 4px; }
.plan .ico { margin-bottom: 2px; }
@media (max-width: 1000px) {
  .page-hero__grid, .path-wrap, .vm { grid-template-columns: 1fr; }
  .path-side { position: static; max-width: 420px; }
}
@media (max-width: 560px) {
  .page-hero { padding-top: 120px; }
  .strip { grid-template-columns: 1fr; }
  .page-hero .lead { font-size: 16px; }
}
.page-hero--solo { padding-bottom: 36px; }
.page-hero--solo p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 56ch; margin-top: 16px; }
.page-hero--solo h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.02em; line-height: 1.08; max-width: 18ch; margin-top: 10px; }
.banner .ph { border-radius: 28px; }

/* Generative canvases (same rules as home.css, so pages that skip home.css still size them correctly) */
.fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: -1; }
.fx--flow { opacity: .5; -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 100%); }
