/* Santra website. One motif: the cut santra. Flat fills only; the fruit's own colours are the palette. */

:root {
  --ground: #F6F5F3;      /* bone */
  --step: #EDEAE6;        /* stone, one tone deeper */
  --ink: #2A1405;         /* deep brown */
  --muted: #6A4527;
  --accent: #FF7A1A;      /* juice */
  --on-accent: #2A1405;
  --peel: #E9801F;
  --flesh: #FFA53D;
  --flesh-lit: #FFD089;
  --deep: #2A1405;        /* the dark panel */
  --on-deep: #F1F0EE;
  --sac: rgba(255, 238, 200, 0.42);
  --sac-dark: rgba(168, 68, 0, 0.14);
  --pith: #FFF7EA;
  --fibre: rgba(214, 178, 130, 0.45);
  --gland: rgba(255, 216, 160, 0.55);
  --gland-dark: rgba(122, 52, 6, 0.32);

  --font: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.2rem + 2.8vw, 3.5rem);
  --step-display: clamp(3rem, 1rem + 4.4vw, 5.25rem);

  --margin: clamp(12px, 2vw, 28px);
  --radius: 28px;
  --gap: 8px;
  --section: clamp(88px, 10vw, 160px);
  --page: 1240px;
  --wide: 1680px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #170C05;
    --step: #25150A;
    --ink: #FCEBD8;
    --muted: #DDBE9C;
    --accent: #FF8A2E;
    --on-accent: #1E0E04;
    --peel: #D8701A;
    --flesh: #F29233;
    --flesh-lit: #FFC56E;
    --deep: #0E0603;
    --on-deep: #F2ECE5;
    --pith: #F7E9D4;
    --sac: rgba(255, 232, 190, 0.32);
    --gland: rgba(255, 210, 150, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.04em; line-height: 0.98; }
h3 { letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; max-width: 68ch; }
a { color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
kbd {
  font: inherit;
  font-weight: 600;
  padding: 0.06em 0.42em 0.1em;
  border-radius: 0.4em;
  background: var(--flesh);
  color: var(--on-accent);
  white-space: nowrap;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--flesh-lit); color: #2A1405; }

.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 999px; z-index: 10; }

/* Buttons: one shape (round, like the fruit), one fill. */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease);
}
.button:hover { background: var(--flesh); transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(0.98); }
.button.small { padding: 0.55em 1.1em; font-size: var(--step-small); }
.button.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.button.ghost:hover { background: rgba(127, 127, 127, 0.14); }

/* ------------------------------------------------------------------------------------------------------- bar */
.bar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px var(--margin);
  background: var(--ground);
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: var(--step-body); letter-spacing: -0.02em; }
.bar nav { display: flex; gap: 22px; margin-left: auto; }
.bar nav a { text-decoration: none; color: var(--ink); font-size: var(--step-small); }
.bar nav a:hover { color: var(--accent); }

/* ------------------------------------------------------------------------------------------------------ hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 12px 12px;
  min-height: calc(100svh - 64px);
}
.hero-card {
  background: var(--step);
  border-radius: var(--radius);
  padding: 0 clamp(24px, 4vw, 64px) 36px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.band { width: calc(100% + 2 * clamp(24px, 4vw, 64px)); margin: 0 calc(-1 * clamp(24px, 4vw, 64px)); height: 56px; }
.band-segs use:nth-child(odd) { fill: var(--peel); }
.band-segs use:nth-child(even) { fill: var(--flesh); }
.hero h1 { font-size: var(--step-display); margin-top: auto; padding-top: clamp(32px, 5vh, 56px); }
.hero .lead { font-size: var(--step-lead); line-height: 1.45; margin-top: 24px; max-width: 34ch; }
.hero .keyboard { width: 100%; max-width: 640px; margin-top: clamp(24px, 4vh, 44px); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(24px, 4vh, 40px); }
.note { color: var(--muted); font-size: var(--step-small); }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; margin-bottom: auto; font-size: var(--step-small); }
.hero-links a { color: var(--ink); text-underline-offset: 4px; }
.hero-links a:hover { color: var(--accent); }

.hero-stage {
  position: sticky;
  top: 12px;
  height: calc(100svh - 24px);
  border-radius: var(--radius);
  background: var(--peel);
  overflow: hidden;
}
.hero-fruit { position: absolute; width: 132%; height: auto; aspect-ratio: 1; left: 6%; top: 50%; transform: translateY(-50%); }

/* -------------------------------------------------------------------------------------------- the fruit (SVG) */
.fruit .peel { fill: var(--peel); }
.hero-stage .fruit .peel { fill: #D36A14; }
.fruit .gland { fill: var(--gland); }
.fruit .gland-dark { fill: var(--gland-dark); }
.fruit .pith { fill: var(--pith); }
.fruit .fibres line { stroke: var(--fibre); stroke-width: 0.8; }
.fruit .flesh { fill: var(--flesh); stroke: var(--flesh); stroke-width: 1.5; stroke-linejoin: round; transition: fill 900ms var(--ease), stroke 900ms var(--ease); }
.fruit .flesh-empty { opacity: 0.5; }
.fruit .sac { fill: var(--sac); }
.fruit .sac-dark { fill: var(--sac-dark); }
.fruit .segment { transition: transform 900ms var(--ease); }
.fruit .segment.lit .flesh { fill: var(--flesh-lit); stroke: var(--flesh-lit); }
.fruit .label { font: 600 13px/1 var(--font); fill: #3A1603; text-anchor: middle; dominant-baseline: central; letter-spacing: 0.01em; pointer-events: none; }
.fruit .label.dense { font-size: 11.5px; }
[data-demo] .fruit .segment, [data-demo] .fruit .flesh { transition-duration: 160ms; }

/* ---------------------------------------------------------------------------------------------------- layout */
/* Everything below the hero sits in one centred column, so wide screens don't spread it to the edges. */
.wide { max-width: var(--wide); margin-inline: auto; }
.wrap { width: min(100% - 2 * var(--margin), var(--page)); margin-inline: auto; }
main > section.wrap { padding-top: var(--section); }
.head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 56px); }
.head h2, .demo-files h2, .details-head h2, .faq h2 { font-size: var(--step-head); }
.intro { font-size: var(--step-lead); line-height: 1.45; color: var(--muted); max-width: 42ch; }
.how kbd { font-size: 0.9em; }

/* ------------------------------------------------------------------------------------------------------ demo */
.demo {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.demo-files .intro { margin-top: 16px; }
.file-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; justify-items: start; gap: 2px; }
.file-list button {
  font: inherit;
  font-size: var(--step-lead);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: color 160ms var(--ease), transform 160ms var(--ease);
}
.file-list button[aria-pressed="true"] { color: var(--ink); }
.file-list button[aria-pressed="true"]::before { content: ""; display: inline-block; width: 0.38em; height: 0.38em; margin: 0 0.3em 0.12em 0; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.file-list button:hover { color: var(--ink); transform: translateX(4px); }
.how { margin-top: 28px; max-width: 36ch; color: var(--ink); }

.demo-stage { display: flex; flex-direction: column; align-items: center; }
.disc { position: relative; width: min(100%, 560px, 64vh); aspect-ratio: 1; }
.disc .fruit { width: 100%; height: 100%; display: block; overflow: visible; cursor: pointer; border-radius: 50%; }
.disc .fruit:focus-visible { outline-offset: 8px; border-radius: 50%; }
.hub { position: absolute; left: 50%; top: 50%; width: 31%; transform: translate(-50%, -50%); pointer-events: none; }
.hub-glyph { font: 700 18px/1 var(--font); fill: #3A1603; text-anchor: middle; }
.hub-pill { fill: #F3E2CA; }
.hub-size { font: 600 11px/1 var(--font); fill: #3A1603; text-anchor: middle; }
.under { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 24px; text-align: center; }
.caption { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; min-height: 1.4em; }
.modes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.modes button {
  font: inherit;
  font-size: var(--step-small);
  font-weight: 600;
  border: 0;
  border-radius: 999px;
  padding: 0.5em 1em;
  background: var(--step);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 160ms var(--ease), transform 160ms var(--ease);
}
.modes button span { font-weight: 400; margin-right: 0.35em; }
.modes button:hover { transform: translateY(-1px); }
.modes button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.result { min-height: 1.5em; font-size: var(--step-body); color: var(--ink); }
.result.pop { animation: pop 420ms var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } }
.fact { font-size: var(--step-small); color: var(--muted); }
.demo:not(.live) .under { display: none; }

/* ----------------------------------------------------------------------------------------------------- tools */
/* Whole windows at their own proportions, in balanced columns: nothing is cropped or zoomed. */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shot {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 18px 18px 22px;
  border-radius: var(--radius);
  background: var(--step);
  transition: transform 200ms var(--ease);
}
.shot:hover { transform: translateY(-3px); }
/* Every picture gets the same frame and is shown whole inside it. */
.shot .pic { position: relative; aspect-ratio: 1; display: grid; }
.shot .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.shot.dark { background: var(--deep); color: var(--on-deep); }
.shot figcaption { display: grid; gap: 2px; margin-top: 16px; padding: 0 4px; }
.shot figcaption b { font-size: var(--step-body); font-weight: 600; letter-spacing: -0.01em; }
.shot figcaption span { font-size: var(--step-small); color: var(--muted); }
.shot.dark figcaption span { color: var(--on-deep); }
.keys-card { background: var(--flesh); color: #2A1405; }
.keys-card figcaption span { color: #2A1405; }
.keys { align-content: center; justify-items: start; gap: 18px; padding: 0 8%; }
.keys p { display: flex; align-items: center; gap: 0.6em; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; }
.keys kbd { min-width: 3.4em; text-align: center; padding: 0.3em 0.5em; border-radius: 0.45em; background: var(--deep); color: var(--on-deep); }

.toollist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 20px 48px;
  margin-top: clamp(24px, 3vw, 40px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--step);
}
.toollist h3 { font-size: var(--step-lead); }
.toollist dl { margin: 0; display: grid; gap: 14px; }
.toollist dl > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 16px; }
.toollist dt { font-weight: 600; }
.toollist dd { margin: 0; }

/* ----------------------------------------------------------------------------------------------------- video */
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--step); }
.player .poster { display: block; width: 100%; height: 100%; }
.player .poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease); }
.player .poster:hover img, .player .poster:focus-visible img { transform: scale(1.015); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------------------------------- formats */
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kind { display: flex; flex-direction: column; gap: 18px; padding: 28px 28px 30px; border-radius: var(--radius); }
.kind h3 { font-size: var(--step-lead); }
.exts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.exts li {
  font-size: var(--step-small);
  font-weight: 600;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 12%, transparent);
}
.kind p { margin-top: auto; font-size: var(--step-small); line-height: 1.5; }
.kind.flesh { background: var(--flesh); color: #2A1405; }
.kind.peel { background: var(--peel); color: #2A1405; }
.kind.stone { background: var(--step); color: var(--ink); }
.kind.deep { background: var(--deep); color: var(--on-deep); }

/* --------------------------------------------------------------------------------------------------- details */
.details {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: start;
}
.details-head { display: grid; gap: 18px; position: sticky; top: 32px; }
.facts { margin: 0; padding: 18px 32px; border-radius: var(--radius); background: var(--step); }
.facts > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 11px 0; }
.facts > div.group { margin-top: 18px; }
.facts dt { color: var(--muted); }
.facts dt::before { content: ""; display: inline-block; width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--accent); margin-right: 0.6em; vertical-align: 0.1em; }
.facts dd { margin: 0; }

/* --------------------------------------------------------------------------------------------------- pricing */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: start;
}
.pricing-head { display: grid; gap: 18px; }
.pricing-head h2 { font-size: var(--step-head); }
.price-card { display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--flesh); color: #2A1405; }
.price { display: flex; align-items: baseline; gap: 0.3em; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.price .amount { font-size: var(--step-display); }
.price .once { font-size: var(--step-lead); letter-spacing: -0.02em; }
.price-card .local { margin-top: -12px; font-size: var(--step-small); }
.includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.includes li { position: relative; padding-left: 1.05em; }
.includes li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.45em; height: 0.45em; border-radius: 50%; background: #2A1405; }
.price-card .cta { margin-top: 4px; }
.price-card .button:not(.ghost) { background: #2A1405; color: #FCEBD8; }
.price-card .button:not(.ghost):hover { background: #4A2610; }
.price-card .note { color: #2A1405; }
/* Before launch, <html data-sales="soon"> shows when sales open; Download and Buy links stay on #pricing. */
html:not([data-sales="soon"]) .sales-soon { display: none; }

/* ------------------------------------------------------------------- text pages (terms, privacy, refunds, contact) */
.doc { padding-block: clamp(40px, 6vw, 88px) var(--section); }
.doc h1 { font-size: var(--step-head); }
.doc .updated { margin-top: 14px; font-size: var(--step-small); color: var(--muted); }
.doc .intro { margin-top: 24px; max-width: 46ch; }
.doc .summary { margin-top: 32px; padding: 22px 28px; border-radius: var(--radius); background: var(--step); max-width: 68ch; }
.doc .summary h2 { margin-top: 0; }
.doc h2 { margin: 2.2em 0 0.6em; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.2; }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: 0.8em; }
.doc ul { margin: 0; padding-left: 1.2em; max-width: 68ch; }
.doc li + li { margin-top: 0.4em; }
.doc li::marker { color: var(--accent); }
.doc a { text-underline-offset: 3px; }
.doc .mail { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; }
.doc-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--step-small); }
.doc-links a { color: var(--ink); text-underline-offset: 4px; }
.doc-links a:hover { color: var(--accent); }

/* ------------------------------------------------------------------------------------------------------- why */
.panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius);
  background: var(--deep);
  color: var(--on-deep);
}
.why-text { display: flex; flex-direction: column; gap: 12px; }
.why-text h2 { font-size: var(--step-head); color: var(--on-deep); margin-bottom: 20px; }
.why-text h3 { font-size: var(--step-lead); color: var(--on-deep); }
.why-text p + h3 { margin-top: 20px; }
.why-text .button { align-self: flex-start; margin-top: 24px; }
.why-photo { margin: 0; }
.why-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.why-photo figcaption { margin-top: 12px; font-size: var(--step-small); color: var(--on-deep); }

/* ------------------------------------------------------------------------------------------------------- faq */
.faq h2 { margin-bottom: clamp(32px, 4vw, 56px); }
/* Questions as a plain two-column list: the answers are short, so no boxes or toggles. */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(32px, 5vw, 80px); }
.q { display: grid; align-content: start; gap: 10px; }
.q h3::before { content: ""; display: inline-block; width: 0.42em; height: 0.42em; margin: 0 0.45em 0.12em 0; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.q h3 { font-size: var(--step-lead); }

/* ------------------------------------------------------------------------------------------------------ last */
.last { padding-bottom: var(--section); }
.last-line { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; max-width: 16em; }
.button.inline { font-size: 1em; padding: 0 0.4em 0.06em; letter-spacing: -0.04em; vertical-align: baseline; }
.last .note { margin-top: 24px; font-size: var(--step-small); max-width: 60ch; }

/* ------------------------------------------------------------------------------------------------------ foot */
.foot { background: var(--step); padding: 40px 0 28px; }
.blocks { display: flex; align-items: flex-end; gap: 4px; height: clamp(150px, 22vw, 300px); }
.blocks span {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: clamp(3rem, 11vw, 10rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  padding-bottom: 0.02em;
  color: var(--ground);
  overflow: hidden;
}
.b1 { background: var(--peel); height: 100%; }
.b2 { background: var(--flesh); height: 78%; }
.b3 { background: var(--deep); height: 92%; }
.blocks .b3 { color: var(--on-deep); }
.b4 { background: var(--accent); height: 64%; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr 1fr 2fr; gap: 24px; margin-top: 48px; }
.foot-cols nav { display: flex; flex-direction: column; gap: 8px; font-size: var(--step-small); }
.foot-cols a { color: var(--ink); text-underline-offset: 4px; }
.foot-cols a:hover { color: var(--accent); }
.credits { font-size: var(--step-small); color: var(--ink); max-width: 64ch; }
.foot-last { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; font-size: var(--step-small); }

/* --------------------------------------------------------------------------------------------- entrances */
.motion [data-enter] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.motion [data-enter].in { opacity: 1; transform: none; }
.motion .gallery [data-enter]:nth-child(3n + 2) { transition-delay: 70ms; }
.motion .gallery [data-enter]:nth-child(3n) { transition-delay: 140ms; }
.motion .kinds [data-enter]:nth-child(3n + 2), .motion .qa [data-enter]:nth-child(even) { transition-delay: 70ms; }
.motion .kinds [data-enter]:nth-child(3n) { transition-delay: 140ms; }
@media (prefers-reduced-motion: reduce) {
  .fruit .segment, .fruit .flesh, .button, .shot, .player .poster img { transition: none; }
  .result.pop { animation: none; }
}

/* ----------------------------------------------------------------------------------------------- tablet */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stage { position: relative; top: 0; height: 56svh; order: -1; }
  .hero-fruit { width: 120%; left: -10%; top: 4%; transform: none; }
  .hero-card { margin-top: -24px; position: relative; }
  .bar nav { display: none; }
  .bar .button { margin-left: auto; }
  .demo { grid-template-columns: minmax(0, 1fr); }
  .file-list { display: flex; flex-wrap: wrap; gap: 4px 22px; }
  .gallery, .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keys-card { grid-column: 1 / -1; }
  .keys-card .pic { aspect-ratio: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 32px; padding: 24px 0 8px; }
  .details, .pricing { grid-template-columns: minmax(0, 1fr); }
  .details-head { position: static; }
  .foot-cols { grid-template-columns: 1fr 1fr 1fr; }
  .credits { grid-column: 1 / -1; }
  .panel { grid-template-columns: minmax(0, 1fr); }
  .toollist { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------------------------------------ phone */
@media (max-width: 640px) {
  .hero { padding: 0 12px 12px; }
  .hero-stage { height: 48svh; }
  .hero-fruit { width: 150%; left: -25%; top: 6%; }
  .hero-card { text-align: center; align-items: center; padding: 0 20px 28px; }
  .band { height: 40px; width: calc(100% + 40px); margin: 0 -20px; }
  .cta { justify-content: center; }
  .hero-links { justify-content: center; }
  .gallery, .kinds, .qa { grid-template-columns: minmax(0, 1fr); }
  .toollist dl > div, .facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .facts { padding: 12px 22px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .credits { grid-column: 1 / -1; }
}
