/* ==========================================================================
   Seidr Labs · websites.html
   Page-only pieces: what-you-get cards, the two plans, the cost-over-time
   explorer, the process path, straight answers and the enquiry clearing.
   ========================================================================== */

main [id] { scroll-margin-top: 96px; }

/* ---------- hero ---------- */
.page-websites .page-hero h1 { max-width: 12ch; }
.hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 560px; }
.hero-price .big { font-family: var(--f-display); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--sap); }
.hero-price .big small { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); margin-right: 8px; vertical-align: .4em; }
.hero-price .then { color: var(--mist); font-size: .95rem; }
.hero-price .then b { color: var(--bone); font-weight: 600; white-space: nowrap; }

/* ---------- cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .prod-grid { grid-template-columns: 1fr; } }
/* two across on tablets: a last odd card spans the row, its list beside the copy */
@media (min-width: 721px) and (max-width: 1100px) {
  .prod-grid > .prod:last-child:nth-child(odd) {
    grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(24px, 4vw, 48px); align-content: start;
  }
  .prod-grid > .prod:last-child:nth-child(odd) > * { grid-column: 1; }
  .prod-grid > .prod:last-child:nth-child(odd) > .ticks { grid-column: 2; grid-row: 2 / span 3; align-self: center; }
}
.prod {
  --c: var(--sap);
  position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-l); border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--c) 8%, transparent), transparent 65%), linear-gradient(180deg, var(--moss), var(--night-2));
  transition: border-color .35s;
}
.prod::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 13%, transparent), transparent 60%); opacity: 0; transition: opacity .4s; }
.prod:hover { border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.prod:hover::before { opacity: 1; }
.prod > * { position: relative; }
.prod-rune { font-size: 2.3rem; color: var(--c); text-shadow: 0 0 22px color-mix(in srgb, var(--c) 55%, transparent); transition: transform .6s var(--ease-spring); align-self: flex-start; }
.prod:hover .prod-rune { transform: rotate(-8deg) scale(1.1); }
.prod h3 { font-size: clamp(1.7rem, 2.2vw, 2.1rem); }
.prod .sub { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c); margin-top: -6px; }
.prod p { color: var(--mist); font-size: .94rem; }
.prod p strong { color: var(--bone); }
.prod .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .9rem; color: var(--mist); }
.ticks li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; }
.ticks li::before { content: ""; width: 9px; height: 9px; margin-top: .45em; border-radius: 2px; transform: rotate(45deg); border: 1.5px solid var(--c, var(--aurora)); box-shadow: 0 0 8px color-mix(in srgb, var(--c, var(--aurora)) 50%, transparent); }
.ticks strong { color: var(--bone); font-weight: 600; }

.aside-line { margin-top: 28px; color: var(--mist); font-size: .95rem; }
.aside-line a { color: var(--sap); }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }
.plan { gap: 18px; padding: clamp(24px, 3vw, 40px); }
.plan .plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.plan .price .from { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.plan .price .amt { font-family: var(--f-display); font-size: clamp(3.4rem, 6vw, 5rem); line-height: .9; color: var(--bone); letter-spacing: -.02em; }
.plan .price .per { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; color: var(--c); }
.plan.is-lit { border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 25%, transparent), 0 30px 80px -40px var(--c); }
.plan { transition: border-color .35s, box-shadow .5s var(--ease); }

/* ---------- cost over time ---------- */
.explorer { margin-top: 16px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(22px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .explorer { grid-template-columns: 1fr; } }
.explorer h3 { font-size: var(--t-h3); margin-top: 12px; }
.explorer .ctrl { display: grid; gap: 10px; margin-top: 22px; }
.explorer .ctrl label { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); display: flex; justify-content: space-between; gap: 10px; }
.explorer .ctrl label b { color: var(--sap); font-weight: 500; }
.explorer input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.explorer input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--sap) var(--fill, 50%), var(--line-2) var(--fill, 50%)); }
.explorer input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--sap) var(--fill, 50%), var(--line-2) var(--fill, 50%)); }
.explorer input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--sap); border: 3px solid var(--night); box-shadow: 0 0 0 1px var(--sap), 0 0 18px var(--sap); }
.explorer input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--sap); border: 3px solid var(--night); box-shadow: 0 0 0 1px var(--sap), 0 0 18px var(--sap); }
.explorer input[type="range"]:focus-visible { outline: 2px solid var(--sap); outline-offset: 4px; border-radius: 6px; }
.explorer .ticks-row { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .75rem; color: var(--mist-2); padding-inline: 4px; }
.total { margin-top: 22px; display: grid; gap: 4px; }
.total .label { color: var(--mist-2); }
.total output { font-family: var(--f-display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--sap); }
.total output small { font-size: .45em; font-style: italic; color: var(--mist); margin-left: 6px; }
.explorer .form-note { margin-top: 14px; max-width: 52ch; }

.years { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: clamp(8px, 1.4vw, 16px); height: 240px; padding: 0 4px; border-bottom: 1px solid var(--line-2); }
.years { --bh: 180px; }
.year { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; height: 100%; min-width: 0; transition: opacity .45s var(--ease); }
.year .v { font-family: var(--f-mono); font-size: .75rem; color: var(--mist); white-space: nowrap; }
.year .bar { width: 100%; max-width: 64px; height: calc(var(--bh) * var(--k)); border-radius: 10px 10px 2px 2px; background: linear-gradient(180deg, var(--sap), var(--sap-deep)); box-shadow: 0 0 30px -8px var(--sap); transform-origin: bottom; transition: transform .6s var(--ease-spring), opacity .45s, background .4s; }
.year.host .bar { background: linear-gradient(180deg, var(--aurora), var(--aurora-deep)); box-shadow: 0 0 30px -8px var(--aurora); }
.year.off .bar { transform: scaleY(.35); background: var(--line-2); box-shadow: none; opacity: .35; }
.year.off .v { color: var(--mist-2); }   /* the bar fades out; its price stays readable */
.years-axis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); padding: 10px 4px 0; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mist-2); text-align: center; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: .82rem; color: var(--mist); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--sap); }
.legend i.h { background: var(--aurora); }
@media (max-width: 460px) { .years { height: 190px; --bh: 140px; } .year .v { font-size: .75rem; } }

/* ---------- process path ---------- */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.path::before { content: ""; position: absolute; left: 26px; right: 26px; top: 49px; height: 1px; background: linear-gradient(90deg, transparent, var(--aurora-deep), var(--sap-deep), transparent); opacity: .7; }
.path .step { position: relative; align-content: start; background: linear-gradient(180deg, var(--night-2), #081012); transition: border-color .35s, transform .5s var(--ease); }
.path .step:hover { border-color: var(--line-2); transform: translateY(-4px); }
.path .step .n { display: flex; align-items: center; gap: 12px; }
.path .step .n .rune { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--aurora) 35%, transparent); background: var(--night); font-size: 1.4rem; box-shadow: 0 0 24px -6px var(--aurora); }
.path .step .n .label { color: var(--mist-2); }
@media (max-width: 860px) {
  .path { grid-template-columns: 1fr; }
  .path::before { left: 48px; right: auto; top: 30px; bottom: 30px; width: 1px; height: auto; background: linear-gradient(180deg, var(--aurora-deep), var(--sap-deep)); }
}

/* ---------- straight answers ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 30px minmax(0, 1fr) 28px; gap: 14px; align-items: center;
  padding: 20px 4px; font-family: var(--f-display); font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.2; color: var(--bone);
  transition: color .25s; text-wrap: balance;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .rune { font-size: 1.1rem; color: var(--mist-2); transition: color .3s, text-shadow .3s; }
.faq summary::after { content: "+"; justify-self: end; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--f-body); font-size: 1rem; color: var(--sap); transition: transform .4s var(--ease), background .3s, border-color .3s; }
.faq summary:hover { color: var(--sap); }
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(243, 183, 95, .12); border-color: var(--sap); }
.faq details[open] summary .rune { color: var(--sap); text-shadow: 0 0 12px var(--sap); }
.faq .answer { padding: 0 46px 22px 48px; color: var(--mist); max-width: 70ch; }
.faq .answer a { color: var(--sap); }
.faq details[open] .answer { animation: ansIn .45s var(--ease); }
@keyframes ansIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 520px) { .faq summary { grid-template-columns: 22px minmax(0, 1fr) 28px; gap: 10px; } .faq .answer { padding: 0 4px 20px 36px; } }

/* ---------- enquiry clearing ---------- */
.enquire-sec { overflow: hidden; border-top: 1px solid var(--line); background: radial-gradient(70% 60% at 15% 20%, rgba(243, 183, 95, .06), transparent 70%), var(--night); }
.enquire-sec canvas.firefield { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.enquire-sec .container { position: relative; z-index: 2; }
.enquire-side { display: grid; gap: 22px; }
.enquire-side h2 { font-size: var(--t-h2); }
.enquire-side .panel { display: grid; gap: 16px; }
.call-line { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--f-display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--bone); }
.call-line .rune { font-size: 1.2rem; color: var(--sap); }
.call-line:hover { color: var(--sap); }

.form-card .field label em { font-style: normal; color: var(--mist-2); text-transform: none; letter-spacing: 0; font-family: var(--f-body); font-size: .78rem; }
.form-card select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--sap) 50%), linear-gradient(-45deg, transparent 50%, var(--sap) 50%);
  background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat;
}
.form-card select option { background: #0a1316; color: var(--bone); }
.form-card .field.picked select { animation: picked 1.4s var(--ease); }
@keyframes picked { 0% { box-shadow: 0 0 0 0 rgba(243, 183, 95, 0); } 25% { box-shadow: 0 0 0 6px rgba(243, 183, 95, .28); border-color: var(--sap); } 100% { box-shadow: 0 0 0 0 rgba(243, 183, 95, 0); } }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-actions .form-note { max-width: 36ch; }
.form-card button[type="submit"]:disabled { opacity: .65; cursor: progress; }
.form-card .form-note a { color: var(--mist); }

@media (max-width: 520px) { .prod .actions .btn { flex: 1 1 auto; justify-content: center; } }

/* prices and phone numbers read as lining figures, never old-style */
.hero-price .big, .plan .price .amt, .total output, .call-line, .year .v { font-variant-numeric: lining-nums tabular-nums; }
.page-websites .page-hero h1 { max-width: 15ch; }
.page-websites .page-hero h1 em { display: block; }

/* in-page jumps use a down-right arrow, so it nudges down-right on hover */
.btn[href^="#"]:hover .arr { transform: translate(3px, 3px); }
