/* SwiftCase Sites: the marketing site's one stylesheet.

   SwiftCase's own brand: its blue (#1F77B4) and arrows mark, and its lowercase wordmark, with
   "sites" in the blue. Bricolage Grotesque for headings, Instrument Sans for text. Navy for the
   dark sections, in both themes. Marker yellow appears in one place only, to show what changed.

   The CSP allows no scripts, so everything that moves is CSS: the conversation in the hero, the
   requests, the row of designs (pinned and moved sideways as you scroll) and the steps' progress
   line. Anyone who prefers less motion sees each one finished and still. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Slab";
  src: url("/assets/fonts/roboto-slab.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --navy: #0a1a2f;
  --blue: #1f77b4;
  --action: #0b63ce;
  --action-hover: #0952ab;
  --marker: #ffd84d;

  --page: #f5f7fa;
  --text: var(--navy);
  --quiet: #4b5a6e;
  --panel: #e7eef6;
  --surface: #ffffff;
  --rule: rgba(10, 26, 47, 0.12);
  --rule-strong: rgba(10, 26, 47, 0.28);
  --link: var(--action);
  --sites: var(--blue);
  --deep: var(--navy);
  --shadow: 0 40px 80px -36px rgba(10, 26, 47, 0.45);

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0c1828;
    --text: #eaf0f7;
    --quiet: #a2b2c6;
    --panel: #12233a;
    --surface: #12223a;
    --rule: rgba(234, 240, 247, 0.12);
    --rule-strong: rgba(234, 240, 247, 0.3);
    --link: #7dbaf2;
    --sites: #6cb2f0;
    --deep: #06101c;
    --shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 18px/1.6 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
::selection { background: var(--marker); color: var(--navy); }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--page); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.display, .title, h3, .price, .steps .n, .packages .cost { font-family: var(--display); }
.display { font-size: clamp(50px, 9.4vw, 150px); line-height: 0.92; letter-spacing: -0.042em; font-weight: 680; }
.title { font-size: clamp(38px, 5.4vw, 76px); line-height: 0.98; letter-spacing: -0.038em; font-weight: 700; text-wrap: balance; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 650; }
.lead { font-size: clamp(19px, 1.55vw, 22px); line-height: 1.5; color: var(--quiet); max-width: 33em; text-wrap: pretty; }
.fine { font-size: 15px; color: var(--quiet); }

/* Buttons: square-shouldered, like SwiftCase's mark, not pills */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--action); color: #fff; font-weight: 600; font-size: 17px; line-height: 1.2;
  padding: 17px 26px; border-radius: 10px; text-decoration: none;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.button:hover { background: var(--action-hover); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(11, 99, 206, 0.7); }
.button.small { padding: 11px 18px; font-size: 15px; border-radius: 8px; }
.button.plain { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--rule-strong); }
.button.plain:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.button.white { background: #fff; color: var(--navy); }
.button.white:hover { background: #eaf3fc; box-shadow: none; }
.more { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--action); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.more:hover { text-decoration-color: currentColor; }

/* The logo: SwiftCase's mark and lowercase wordmark, with "sites" in the blue */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
.brand .mark { width: 30px; height: 30px; border-radius: 3px; }
.brand .wordmark { height: 18px; width: auto; fill: currentColor; }
.wordmark .w2 { fill: var(--sites); }

/* Header: clear over the top of the page, then settling into a bar as you scroll */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--page) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 16px; }
.nav a:not(.button) { color: var(--text); text-decoration: none; }
.nav a:not(.button):hover { text-decoration: underline; text-decoration-color: var(--action); text-decoration-thickness: 2px; text-underline-offset: 6px; }
@supports (animation-timeline: scroll()) {
  .top { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; animation: settle linear both; animation-timeline: scroll(root); animation-range: 0 120px; }
}
@keyframes settle {
  to { background: color-mix(in srgb, var(--page) 88%, transparent); border-bottom-color: var(--rule); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
@media (max-width: 880px) { .nav a:not(.button) { display: none; } }
@media (max-width: 560px) {
  .top .wrap { height: 64px; }
  .brand { gap: 9px; }
  .brand .mark { width: 26px; height: 26px; }
  .brand .wordmark { height: 15px; }
  .nav .button { padding: 10px 14px; font-size: 14.5px; white-space: nowrap; }
}
@media (max-width: 370px) {
  .top .wrap { gap: 10px; }
  .brand { gap: 7px; }
  .brand .mark { width: 22px; height: 22px; }
  .brand .wordmark { height: 12.5px; }
  .nav .button { padding: 9px 11px; font-size: 13.5px; }
}

/* Hero: the headline, then a sample website changing as someone asks for it */
.hero { padding-top: clamp(48px, 8vw, 104px); background: linear-gradient(to bottom, var(--page) calc(100% - clamp(220px, 25vw, 340px)), var(--deep) 0); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero h1 .line > span { display: block; }
.hero-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; margin-top: clamp(32px, 4vw, 52px); }
.hero-act .row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-act .fine { margin-top: 16px; }
@media (max-width: 900px) { .hero-intro { grid-template-columns: 1fr; } }

.stage { position: relative; margin-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 72px); }
.browser {
  width: min(100%, 1000px); background: #fff; border-radius: 14px; overflow: hidden; color: #1e2620;
  box-shadow: 0 0 0 1px rgba(10, 26, 47, 0.1), var(--shadow);
}
.bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #eef2f7; border-bottom: 1px solid #dfe5ec; font-size: 13px; }
.bar .lights { display: flex; gap: 6px; }
.bar .lights i { width: 10px; height: 10px; border-radius: 50%; background: #cfd7e1; }
.bar .address { flex: 1; max-width: 420px; margin: 0 auto; background: #fff; border-radius: 7px; padding: 4px 12px; color: #4b5a6e; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .status { display: grid; font-size: 12px; font-weight: 700; }
.bar .status span { grid-area: 1 / 1; padding: 3px 10px; border-radius: 6px; text-align: center; }
.status .live { background: #dcf3e4; color: #135c33; }
.status .draft { background: #fff1c2; color: #6b4b00; opacity: 0; }

/* The sample website, in Classic Craft's colours. Sized in container units, so that it scales
   like a picture of a page. */
.site { container-type: inline-size; position: relative; background: #faf8f3; font-family: "Instrument Sans", system-ui, sans-serif; }
.site .s-strip { display: flex; justify-content: space-between; align-items: center; height: 3.4cqi; padding: 0 5cqi; background: #1c3326; color: #f4f0e6; font-size: 1.15cqi; }
.site .s-nav { display: flex; align-items: center; gap: 2.6cqi; height: 7cqi; padding: 0 5cqi; border-bottom: 1px solid #dcd5c6; font-size: 1.3cqi; color: #1e2620; }
.site .s-name { font-family: "Roboto Slab", Georgia, serif; font-weight: 700; font-size: 1.9cqi; margin-right: auto; letter-spacing: -0.01em; }
.site .s-cta { background: #24452f; color: #faf8f3; padding: 0.9cqi 1.6cqi; border-radius: 0.3cqi; font-weight: 600; font-size: 1.2cqi; }
.site .s-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4cqi; align-items: center; padding: 4.6cqi 5cqi 4.2cqi; }
.site .s-kicker { display: flex; align-items: center; gap: 1.2cqi; font-size: 1.05cqi; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #7a5a1e; }
.site .s-kicker::before { content: ""; width: 3cqi; height: 1px; background: currentColor; }
.site .s-head { font-family: "Roboto Slab", Georgia, serif; font-weight: 700; font-size: 4.6cqi; line-height: 1.06; letter-spacing: -0.015em; margin-top: 1.8cqi; color: #1e2620; }
.site .s-head em { font-style: normal; color: #7a5a1e; }
.site .s-text { font-size: 1.45cqi; line-height: 1.6; color: #4f5750; margin-top: 1.8cqi; max-width: 40cqi; }
.site .s-buttons { display: flex; gap: 1cqi; margin-top: 2.4cqi; font-size: 1.25cqi; font-weight: 600; }
.site .s-buttons span { padding: 1.1cqi 1.8cqi; border-radius: 0.3cqi; border: 1px solid #24452f; color: #24452f; }
.site .s-buttons span:first-child { background: #24452f; color: #faf8f3; }
.site .s-photo { border-radius: 0.5cqi; aspect-ratio: 6 / 5; object-fit: cover; width: 100%; }
.site .s-prices { display: grid; grid-template-columns: repeat(3, 1fr); background: #f0ece2; border-top: 1px solid #dcd5c6; padding: 2.4cqi 5cqi 2.8cqi; gap: 4cqi; }
.site .s-prices dt { font-size: 1.3cqi; color: #4f5750; }
.site .s-prices dd { font-family: "Roboto Slab", Georgia, serif; font-weight: 700; font-size: 3.2cqi; line-height: 1.2; margin-top: 0.4cqi; color: #1e2620; }
.site .s-price { display: inline-grid; }
.site .s-price > span { grid-area: 1 / 1; position: relative; }
.site .s-was { opacity: 0; }
.site .s-was::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 0.32cqi; background: #b3261e; transform: scaleX(0); transform-origin: left; }
.site .s-now { z-index: 0; }
.site .s-now::before { content: ""; position: absolute; inset: 8% -8% 4%; background: var(--marker); border-radius: 0.3cqi; z-index: -1; opacity: 0; transform: scaleX(0); transform-origin: left; }
.site .s-toast { position: absolute; left: 5cqi; bottom: 12.4cqi; display: flex; align-items: center; gap: 1cqi; background: #0a1a2f; color: #fff; font-size: 1.35cqi; font-weight: 600; padding: 1.2cqi 1.8cqi; border-radius: 0.8cqi; opacity: 0; box-shadow: 0 1cqi 3cqi rgba(10, 26, 47, 0.3); }
.site .s-toast::before { content: ""; width: 1cqi; height: 1cqi; border-radius: 50%; background: #3ccf7a; }

/* The conversation, as ChatGPT or Claude shows it */
.chat {
  position: absolute; right: 0; bottom: 0; width: min(400px, 40%);
  background: #fff; color: #1b2230; border-radius: 18px; padding: 18px 18px 14px;
  box-shadow: 0 0 0 1px rgba(10, 26, 47, 0.08), 0 50px 90px -30px rgba(4, 12, 24, 0.6);
  font-size: 15px; line-height: 1.45;
}
.chat .head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: #5d6676; padding: 0 4px 12px; border-bottom: 1px solid #edf0f4; }
.chat .head span { font-weight: 500; }
.chat ol { list-style: none; padding: 14px 0 6px; margin: 0; display: grid; gap: 12px; }
.chat .you { justify-self: end; max-width: 85%; background: #eef1f6; border-radius: 16px 16px 4px 16px; padding: 9px 14px; }
.chat .ai { padding: 0 4px; }
.chat .tool { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #6a7383; margin-bottom: 4px; }
.chat .tool img { width: 15px; height: 15px; border-radius: 2px; }
.chat .ask-box { margin-top: 8px; border: 1px solid #e3e7ee; border-radius: 12px; padding: 10px 14px; color: #8a93a3; font-size: 14px; }

.stage figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; font-size: 14px; color: #a7b5c8; max-width: 560px; }
.hold { display: none; align-items: center; gap: 9px; cursor: pointer; color: #d6e2f0; font-weight: 600; border-radius: 6px; }
.hold:has(:focus-visible) { outline: 3px solid #7dbaf2; outline-offset: 3px; }
.hold::before { content: ""; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hold:has(:checked)::before { width: 0; height: 0; border-width: 6px 0 6px 10px; border-style: solid; border-color: transparent transparent transparent currentColor; }

@media (max-width: 960px) {
  .chat { position: relative; width: auto; max-width: 440px; margin: -64px 12px 0 auto; }
  .browser { width: 100%; }
}

/* Requests: things people ask for, rising past in two columns */
.ask { background: var(--deep); color: #eaf0f7; padding: clamp(80px, 10vw, 136px) 0; }
.ask .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px 88px; align-items: center; }
.ask .lead { color: #a7b5c8; margin-top: 24px; }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 48px; }
.promises dt { font-weight: 650; font-size: 17px; color: #fff; }
.promises dd { font-size: 15.5px; color: #a7b5c8; margin-top: 4px; }
.wall { position: relative; height: 600px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); }
.wall ul { list-style: none; padding: 0 0 16px; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.wall li { align-self: flex-end; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px 18px 4px 18px; padding: 14px 18px; font-size: 17px; line-height: 1.4; color: #eaf0f7; }
.wall li:nth-child(3n + 2) { background: rgba(31, 119, 180, 0.3); border-color: rgba(108, 178, 240, 0.28); }
@media (max-width: 960px) {
  .ask .grid { grid-template-columns: 1fr; }
  .wall { height: 440px; }
}
@media (max-width: 560px) {
  .promises { grid-template-columns: 1fr; gap: 20px; }
  .wall { grid-template-columns: 1fr; }
  .wall ul + ul { display: none; }
}

/* Designs: the same plumber in each of the twelve. A row to swipe through, which, where the
   browser can, is pinned and moved sideways as you scroll down. */
.designs { padding-top: clamp(96px, 11vw, 152px); }
.designs-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; }
.designs-head p { color: var(--quiet); font-size: 19px; }
.reel-window { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--edge); margin-top: 56px; padding-bottom: 16px; }
.reel-track { display: flex; gap: clamp(18px, 2.4vw, 32px); width: max-content; list-style: none; margin: 0; padding: 4px var(--edge); }
.reel-track li { width: clamp(270px, 36vw, 540px); scroll-snap-align: start; }
.reel-track img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px; box-shadow: 0 0 0 1px var(--rule), 0 30px 50px -34px rgba(10, 26, 47, 0.5); }
.reel-track h3 { margin-top: 20px; font-size: clamp(22px, 2vw, 28px); }
.reel-track p { margin-top: 6px; font-size: 16px; color: var(--quiet); max-width: 30em; }
.reel-progress { height: 3px; background: var(--rule); border-radius: 3px; margin-top: 40px; overflow: hidden; display: none; }
.reel-progress span { display: block; height: 100%; background: var(--action); transform-origin: left; }
.designs .after { margin-top: 56px; max-width: 46em; color: var(--quiet); font-size: 19px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 900px) and (min-height: 620px) {
    .designs { padding-top: 24px; }
    .reel { height: 340vh; view-timeline: --reel block; }
    .reel-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 72px; overflow: hidden; }
    .reel-window { overflow: visible; margin-top: 48px; padding: 0; }
    .reel-track { animation: pan linear both; animation-timeline: --reel; animation-range: contain 4% contain 96%; }
    .reel-track li { width: clamp(300px, 34vw, 500px); }
    .reel-progress { display: block; }
    .reel-progress span { animation: grow linear both; animation-timeline: --reel; animation-range: contain 4% contain 96%; }
    .designs .after { margin-top: 0; }
  }
}
@keyframes pan { to { transform: translateX(calc(-100% + 100vw)); } }
@keyframes grow { from { transform: scaleX(0); } }
@media (max-width: 900px) { .designs-head { grid-template-columns: 1fr; } }

/* How it works: a real sequence, so numbered, with a line that fills as you read down */
.how { padding: clamp(96px, 11vw, 152px) 0; }
.how .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px 88px; align-items: start; }
.how .intro { position: sticky; top: 120px; }
.how .intro p { margin-top: 24px; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: var(--rule); }
.steps::after { background: var(--action); transform-origin: top; }
.steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 28px; padding: 0 0 52px; }
.steps li:last-child { padding-bottom: 0; }
.steps .n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--action); color: #fff; font-size: 24px; font-weight: 700; }
.steps h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; padding-top: 8px; }
.steps p { color: var(--quiet); margin-top: 6px; max-width: 30em; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .steps::after { animation: fill-line linear both; animation-timeline: view(block 50% 40%); }
    .steps .n { animation: light linear both; animation-timeline: view(block 50% 40%); }
  }
}
@keyframes fill-line { from { transform: scaleY(0); } }
@keyframes light { from { background: var(--page); color: var(--quiet); box-shadow: inset 0 0 0 2px var(--rule-strong); } to { background: var(--action); color: #fff; box-shadow: inset 0 0 0 2px var(--action); } }
@media (max-width: 900px) {
  .how .grid { grid-template-columns: 1fr; }
  .how .intro { position: static; }
}

/* What's included: a specification, on the light blue */
.included { background: var(--panel); padding: clamp(96px, 11vw, 144px) 0; }
.included .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 88px; }
.spec { border-top: 2px solid var(--text); }
.spec div { display: grid; grid-template-columns: 2fr 3fr; gap: 6px 32px; padding: 24px 0; border-bottom: 1px solid var(--rule-strong); }
.spec dt { font-family: var(--display); font-size: 21px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.3; }
.spec dd { color: var(--quiet); font-size: 16.5px; }
@media (max-width: 900px) { .included .grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .spec div { grid-template-columns: 1fr; } }

/* Plans: one block, the recommended plan raised and in navy */
.plans-section { padding: clamp(96px, 11vw, 152px) 0; }
.plans-section .intro { max-width: 760px; }
.plans-section .intro p { margin-top: 24px; color: var(--quiet); font-size: clamp(19px, 1.55vw, 22px); line-height: 1.5; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--rule); }
.plan { display: flex; flex-direction: column; padding: 40px 36px 36px; }
.plan + .plan { box-shadow: -1px 0 0 var(--rule); }
.plan h3 { font-size: 24px; }
.plan .price { font-size: 68px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-top: 24px; }
.plan .per { font-size: 14.5px; color: var(--quiet); margin-top: 10px; }
.plan .desc { margin-top: 22px; font-size: 16.5px; color: var(--quiet); flex: 1; }
.plan .button { margin-top: 32px; align-self: flex-start; }
.plan.featured { position: relative; background: var(--navy); color: #fff; border-radius: 20px; margin: -16px 0; padding-top: 56px; padding-bottom: 52px; box-shadow: var(--shadow); }
.plan.featured .per, .plan.featured .desc { color: #b7c4d6; }
.plan.featured .tag { position: absolute; top: 22px; left: 36px; font-size: 13px; font-weight: 700; color: #8ec5f5; }
@media (prefers-color-scheme: dark) { .plan.featured { box-shadow: 0 0 0 1px rgba(125, 186, 242, 0.4), var(--shadow); } }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; background: none; box-shadow: none; gap: 16px; }
  .plan, .plan + .plan { background: var(--surface); box-shadow: 0 0 0 1px var(--rule); border-radius: 18px; }
  .plan.featured { margin: 0; background: var(--navy); }
}
.compare-wrap { overflow-x: auto; margin-top: 88px; }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 600px; }
.compare caption { text-align: left; font-family: var(--display); font-size: 26px; font-weight: 650; letter-spacing: -0.025em; padding-bottom: 20px; }
.compare th, .compare td { padding: 15px 12px; border-bottom: 1px solid var(--rule); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; padding-left: 0; color: var(--quiet); }
.compare thead th { font-weight: 700; border-bottom: 2px solid var(--text); }
.compare .no { color: var(--quiet); opacity: 0.7; }
.terms-note { margin-top: 18px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; margin-top: 80px; }
.pair p { margin-top: 12px; color: var(--quiet); }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } }

/* Done for you: the one section in SwiftCase's blue, with its arrows, very large */
.studio { position: relative; overflow: hidden; background: #1a6aa3; color: #fff; padding: clamp(96px, 11vw, 144px) 0; }
.studio::after { content: ""; position: absolute; right: -8vw; top: 50%; width: min(64vw, 760px); aspect-ratio: 47 / 44; transform: translateY(-50%) rotate(-8deg); background: url("/assets/arrows.svg") center / contain no-repeat; opacity: 0.09; pointer-events: none; }
.studio .grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px 88px; align-items: start; }
.studio .lead { color: #dcebf8; margin-top: 24px; }
.studio .button { margin-top: 36px; }
.packages { border-top: 2px solid #fff; }
.packages div { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.packages dt { font-family: var(--display); font-size: 26px; font-weight: 650; letter-spacing: -0.025em; }
.packages .cost { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; text-align: right; }
.packages dd:last-child { grid-column: 1 / -1; color: #dcebf8; font-size: 16.5px; }
.studio .note { margin-top: 18px; color: #dcebf8; font-size: 15px; }
@media (max-width: 900px) { .studio .grid { grid-template-columns: 1fr; } }

/* The close */
.close { padding: clamp(112px, 13vw, 184px) 0; }
.close .lead { margin-top: 28px; }
.close .button { margin-top: 40px; }

/* Plain pages: support, the legal pages and the 404 */
.page { padding: 80px 0 128px; }
.page .wrap { max-width: 808px; }
.page h1 { font-family: var(--display); font-size: clamp(42px, 6vw, 72px); line-height: 0.98; letter-spacing: -0.048em; font-weight: 700; }
.page h2 { font-family: var(--display); font-size: 26px; line-height: 1.2; letter-spacing: -0.025em; font-weight: 650; margin: 56px 0 14px; }
.page p + p { margin-top: 14px; }
.page ul { padding-left: 22px; }
.page li + li { margin-top: 8px; }
.page .lead { margin-top: 24px; }
.notice { margin-top: 28px; background: var(--panel); border-radius: 14px; padding: 22px 24px; }
.times { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 17px; }
.times th, .times td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.times thead th { border-bottom-color: var(--rule-strong); }

/* The legal pages: terms, privacy and the data processing agreement */
.legal .updated { color: var(--quiet); font-size: 16px; margin-top: 16px; }
.legal .notice + h2, .legal .toc + h2, .legal .toc + p { margin-top: 48px; }
.legal h2 { scroll-margin-top: 96px; }
.legal p + p, .legal p + ul, .legal ul + p, .legal .table-wrap + p, .legal p + .table-wrap, .legal p + .notice, .legal ul + .notice { margin-top: 14px; }
.legal .toc { margin-top: 40px; background: var(--panel); border-radius: 14px; padding: 26px 30px; }
.legal .toc h2 { font-size: 17px; letter-spacing: -0.01em; margin: 0 0 12px; }
.legal .toc ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; font-size: 16px; }
.legal .toc li { break-inside: avoid; margin: 0 0 6px; }
.legal .toc a { color: var(--text); text-decoration: none; }
.legal .toc a:hover { color: var(--link); text-decoration: underline; }
@media (max-width: 600px) { .legal .toc ul { columns: 1; } }
.legal .clause { padding-left: 3em; position: relative; }
.legal .clause .n { position: absolute; left: 0; font-weight: 600; color: var(--quiet); font-variant-numeric: tabular-nums; }
.legal ol.letters { list-style: lower-alpha; padding-left: 4.6em; margin: 10px 0 0; }
.legal ol.letters li + li, .legal .wrap > ul li + li { margin-top: 8px; }
.legal .wrap > ul { padding-left: 22px; margin: 12px 0 0; }
.legal .table-wrap { overflow-x: auto; margin-top: 16px; border-radius: 12px; box-shadow: 0 0 0 1px var(--rule); background: var(--surface); }
.legal table.data { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.55; min-width: 560px; }
.legal table.data th, .legal table.data td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--rule); }
.legal table.data thead th { background: var(--panel); }
.legal table.data tbody th { width: 28%; background: var(--panel); }
.legal table.data tr:last-child th, .legal table.data tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
  /* Each row becomes a block, with each value under its column's name */
  .legal table.data { min-width: 0; }
  .legal table.data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal table.data, .legal table.data tbody, .legal table.data tr, .legal table.data th, .legal table.data td { display: block; width: auto; }
  .legal table.data tr { border-bottom: 1px solid var(--rule); padding: 8px 0; }
  .legal table.data tr:last-child { border-bottom: 0; }
  .legal table.data th, .legal table.data td { border-bottom: 0; padding: 4px 16px; }
  .legal table.data tbody th { background: none; width: auto; padding-top: 8px; }
  .legal table.data td[data-label]::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 700; color: var(--quiet); margin-top: 4px; }
}
.legal code { font-size: 15px; background: var(--panel); border-radius: 6px; padding: 1px 6px; }

/* Footer: navy in both themes */
.foot { background: var(--deep); color: #a7b5c8; font-size: 15px; }
.foot .brand { color: #fff; }
.foot .wordmark .w2 { fill: #6cb2f0; }
.foot a { color: #d6e2f0; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding: 80px 0 56px; }
.foot .about { margin-top: 22px; max-width: 24em; }
.foot-head { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot .base { padding: 28px 0 44px; font-size: 14px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.foot .base p + p { margin-top: 6px; }
@media (max-width: 760px) {
  .foot .main { grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
  .foot .main > :first-child { grid-column: 1 / -1; }
}

/* Motion. The hero plays its conversation on a 16-second loop: the request, the change saved and
   shown marked in a preview, then published. The requests rise past slowly. The button under the
   hero pauses both. */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .line > span { animation: rise 1.1s cubic-bezier(0.2, 0.75, 0.1, 1) both; }
  .hero h1 .line + .line > span { animation-delay: 0.1s; }
  .hero-intro { animation: fade-up 1s 0.35s cubic-bezier(0.2, 0.75, 0.1, 1) both; }
  .stage { animation: fade-up 1.1s 0.5s cubic-bezier(0.2, 0.75, 0.1, 1) both; }

  .loop *, .loop *::before, .loop *::after { animation-duration: 16s; animation-iteration-count: infinite; animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); animation-fill-mode: both; }
  .chat li:nth-child(1) { animation-name: at5; }
  .chat li:nth-child(2) { animation-name: at13; }
  .chat li:nth-child(2) .said { animation-name: at17; }
  .chat li:nth-child(3) { animation-name: at26; }
  .chat li:nth-child(4) { animation-name: at28; }
  .chat li:nth-child(4) .said { animation-name: at31; }
  .chat li:nth-child(5) { animation-name: at45; }
  .chat li:nth-child(6) { animation-name: at48; }
  .chat li:nth-child(6) .said { animation-name: at51; }
  .site .s-was { animation-name: was; }
  .site .s-was::after { animation-name: strike; }
  .site .s-now { animation-name: now; }
  .site .s-now::before { animation-name: mark; }
  .status .live { animation-name: live; }
  .status .draft { animation-name: draft; }
  .site .s-toast { animation-name: toast; }
  .hold { display: inline-flex; }

  .wall ul { animation: climb 64s linear infinite; }
  .wall ul + ul { animation-duration: 80s; animation-delay: -36s; }
  .wall:hover ul { animation-play-state: paused; }

  body:has(.hold :checked) .loop *, body:has(.hold :checked) .loop *::before, body:has(.hold :checked) .loop *::after, body:has(.hold :checked) .wall ul { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .wall { height: auto; -webkit-mask-image: none; mask-image: none; }
  .wall [aria-hidden="true"] { display: none; }
}
@keyframes rise { from { transform: translateY(104%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } }
@keyframes climb { to { transform: translateY(-50%); } }

/* The conversation: each message arrives at its moment, and all clear before the loop restarts */
@keyframes at5 { 0%, 5% { opacity: 0; transform: translateY(10px); } 7%, 90% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; } }
@keyframes at13 { 0%, 13% { opacity: 0; transform: translateY(10px); } 15%, 90% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; } }
@keyframes at17 { 0%, 17% { opacity: 0; } 19%, 100% { opacity: 1; } }
@keyframes at26 { 0%, 26% { opacity: 0; transform: translateY(10px); } 28%, 90% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; } }
@keyframes at28 { 0%, 28% { opacity: 0; transform: translateY(10px); } 30%, 90% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; } }
@keyframes at31 { 0%, 31% { opacity: 0; } 33%, 100% { opacity: 1; } }
@keyframes at45 { 0%, 45% { opacity: 0; transform: translateY(10px); } 47%, 90% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; } }
@keyframes at48 { 0%, 48% { opacity: 0; transform: translateY(10px); } 50%, 90% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; } }
@keyframes at51 { 0%, 51% { opacity: 0; } 53%, 100% { opacity: 1; } }
/* The website: £85 is struck out and £75 arrives, marked, in the preview. Published, the mark goes. */
@keyframes was { 0%, 33% { opacity: 1; transform: none; } 36%, 94% { opacity: 0; transform: translateY(-40%); } 97%, 100% { opacity: 1; transform: none; } }
@keyframes strike { 0%, 31% { transform: scaleX(0); } 33%, 94% { transform: scaleX(1); } 95%, 100% { transform: scaleX(0); } }
@keyframes now { 0%, 33% { opacity: 0; transform: translateY(45%); } 36%, 93% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }
@keyframes mark { 0%, 35% { opacity: 1; transform: scaleX(0); } 38%, 53% { opacity: 1; transform: scaleX(1); } 58%, 100% { opacity: 0; transform: scaleX(1); } }
@keyframes live { 0%, 31% { opacity: 1; } 32%, 51% { opacity: 0; } 52%, 100% { opacity: 1; } }
@keyframes draft { 0%, 31% { opacity: 0; } 32%, 51% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes toast { 0%, 52% { opacity: 0; transform: translateY(30%); } 54%, 68% { opacity: 1; transform: none; } 71%, 100% { opacity: 0; transform: none; } }
