/* Meetly website. One graphite stage for every page; the product screens are the light on it, Heat marks what you can do. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #191919;
  --raised: #222222;
  --raised-2: #2a2a2a;
  --line: #333333;
  --line-soft: #2a2a2a;
  --ink: #f0f0ee;
  --prose: #a3a19c;
  --muted: #8f8d89;
  --heat: #fa5d19;
  --heat-hover: #ff7a3d;
  --heat-ink: #1a1a1a;
  --heat-text: #fa5d19;
  --heat-soft-bg: rgb(250 93 25 / 0.16);
  --heat-soft-ink: #ff9a6c;
  --line-strong: #4a4a4a;
  --line-hover: #626262;
  --underline: #5a5a5a;
  --nav-bg: rgb(25 25 25 / 0.92);
  --toggle-track: #222222;
  --toggle-on: #383838;
  --shadow: rgb(0 0 0 / 0.45);
  --shadow-device: rgb(0 0 0 / 0.5);
  --focus: #fa5d19;
  --scrollbar: #4a4a4a;

  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --nav-h: 4.375rem;
  --page: 66.5rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(5rem, 9vw, 8.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 12px;
  --radius-sm: 8px;

  color-scheme: dark;
}

/* The browser decides: a light stage in light mode, the same layout and the same dark screens on it */
@media (prefers-color-scheme: light) {
  :root {
    --ground: #f3f2ef;
    --raised: #ffffff;
    --raised-2: #ebe9e5;
    --line: #dad6d0;
    --line-soft: #e6e3de;
    --line-strong: #c3beb7;
    --line-hover: #a39e97;
    --ink: #191919;
    --prose: #514e4a;
    --muted: #67635e;
    --heat-text: #b93a08;
    --heat-soft-bg: #fde8dd;
    --heat-soft-ink: #a63407;
    --underline: #a8a39c;
    --nav-bg: rgb(243 242 239 / 0.92);
    --toggle-track: #e6e3de;
    --toggle-on: #ffffff;
    --shadow: rgb(25 25 25 / 0.12);
    --shadow-device: rgb(25 25 25 / 0.2);
    --focus: #191919;
    --scrollbar: #b9b5af;

    color-scheme: light;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 1.5rem);
  scrollbar-color: var(--scrollbar) var(--ground);
  background: var(--ground);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--prose);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
ol,
ul,
figure,
dl,
dd,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 600;
  text-wrap: balance;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

b,
strong {
  color: var(--ink);
  font-weight: 600;
}

::selection {
  background: var(--heat);
  color: var(--heat-ink);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--heat);
  color: var(--heat-ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus-visible {
  transform: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s var(--ease-out);
}

.btn:active {
  transform: translateY(1px);
}

.btn-heat {
  background: var(--heat);
  color: var(--heat-ink);
}

.btn-heat:hover {
  background: var(--heat-hover);
}

.btn-line {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--line-hover);
  background: var(--raised-2);
}

/* Navigation */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
}

.site-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: calc(var(--page) + 2 * var(--gutter));
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  color: var(--ink);
  font-size: 1.7rem;
  font-weight: 640;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  width: 1em;
  height: 1em;
  margin-top: -0.04em;
}

.nav-links {
  display: flex;
  gap: 2.4rem;
  font-size: 1.125rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-self: end;
}

.site-nav .btn-heat {
  min-height: 2.2rem;
  padding: 0 1rem;
  border-radius: 6px;
  font-size: 0.92rem;
}

.lang-menu {
  position: relative;
}

.lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 2.2rem;
  padding: 0 0.4rem;
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--sans);
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  list-style: none;
  cursor: pointer;
}

.lang-menu summary:hover {
  color: var(--ink);
}

.lang-menu summary::-webkit-details-marker {
  display: none;
}

.lang-menu summary .icon {
  width: 0.85rem;
  height: 0.85rem;
  transition: rotate 0.2s ease;
}

.lang-menu[open] summary .icon {
  rotate: 180deg;
}

.lang-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 10rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  box-shadow: 0 14px 30px var(--shadow);
}

.lang-menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  color: var(--prose);
  text-decoration: none;
}

.lang-menu a:hover,
.lang-menu a[aria-current="page"] {
  background: var(--raised-2);
  color: var(--ink);
}

/* Hero: the headline, one action, and the two products on the stage */

.hero {
  padding: 1.75rem var(--gutter) 0;
  text-align: center;
}

.hero-title {
  max-width: 48.5rem;
  margin: 0 auto;
  font-size: clamp(2.4rem, 4.6vw, 4.125rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}

.hero-sub {
  max-width: 42.5rem;
  margin: 0.85rem auto 0;
  color: var(--prose);
  font-size: clamp(1.1rem, 1.55vw, 1.375rem);
  line-height: 1.36;
  letter-spacing: -0.01em;
}

.hero-action {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  margin-top: 1.05rem;
}

.btn-lg {
  min-height: 2.65rem;
  padding: 0 1.6rem;
  font-size: 1.06rem;
}

.hero-note {
  color: var(--muted);
  font-size: 0.97rem;
}

/* Stage: a monitor and a phone holding real screenshots; 1 unit = 1px of the 816px-wide stage at 1440px */

.stage-wrap {
  width: min(816px, 56.7vw);
  margin: 1.1rem auto 0;
  container-type: inline-size;
}

.stage {
  --u: calc(100cqw / 816);
  position: relative;
  left: calc(17 * var(--u));
  height: calc(462 * var(--u));
}

.monitor {
  position: absolute;
  left: calc(3 * var(--u));
  top: 0;
  width: calc(636 * var(--u));
  height: calc(404 * var(--u));
  padding: calc(14 * var(--u)) calc(10 * var(--u)) calc(30 * var(--u));
  border: 1px solid #3a3a3c;
  border-radius: calc(12 * var(--u));
  background: linear-gradient(#202122, #1b1c1d 88%, #2a2b2d 88%);
  box-shadow: 0 calc(30 * var(--u)) calc(60 * var(--u)) var(--shadow-device);
}

.monitor picture,
.phone picture {
  display: block;
  height: 100%;
}

.monitor img,
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.monitor img {
  border-radius: calc(3 * var(--u));
}

.monitor-stand {
  position: absolute;
  left: calc(262 * var(--u));
  top: calc(404 * var(--u));
  width: calc(126 * var(--u));
  height: calc(44 * var(--u));
  background: linear-gradient(90deg, #3d3e41, #5c5d61 50%, #3d3e41);
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
}

.monitor-foot {
  position: absolute;
  left: calc(213 * var(--u));
  top: calc(446 * var(--u));
  width: calc(224 * var(--u));
  height: calc(10 * var(--u));
  border-radius: calc(5 * var(--u)) calc(5 * var(--u)) calc(3 * var(--u)) calc(3 * var(--u));
  background: linear-gradient(#56575b, #36373a);
}

.phone {
  position: absolute;
  left: calc(622 * var(--u));
  top: calc(64 * var(--u));
  width: calc(190 * var(--u));
  height: calc(398 * var(--u));
  padding: calc(7 * var(--u));
  border: 1px solid #45474a;
  border-radius: calc(32 * var(--u));
  background: #141414;
  box-shadow: 0 calc(24 * var(--u)) calc(48 * var(--u)) var(--shadow-device);
}

.phone img {
  border-radius: calc(25 * var(--u));
}

.shot-missing {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 8rem;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8rem;
}

/* Sections: one width, one rhythm, centred titles */

.flow,
.product,
.trades,
.pricing,
.closing,
.page-head,
.hub,
.ledger-sec,
.faq,
.template-sec,
.benefits,
.ind-more,
.guide {
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: 0 auto;
  padding: var(--section) var(--gutter) 0;
}

.sec-title {
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: center;
}

.sec-lead {
  max-width: 40rem;
  margin: 0.9rem auto 0;
  color: var(--prose);
  font-size: 1.1rem;
  text-align: center;
}

.sec-more {
  margin-top: 2rem;
  text-align: center;
}

.sec-more a,
.page-head a,
.faq-answer a,
.plans-note a,
.closing-talk a,
.legal-doc a {
  color: var(--ink);
  text-decoration-color: var(--underline);
}

.sec-more a:hover,
.closing-talk a:hover {
  text-decoration-color: var(--heat);
}

/* So läuft ein Termin: three steps between hairlines */

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2rem, 3.5vw, 3rem);
  counter-reset: flow;
}

.flow-steps li {
  padding: 0.25rem clamp(1.25rem, 2.6vw, 2.5rem);
  counter-increment: flow;
}

.flow-steps li + li {
  border-left: 1px solid var(--line);
}

.flow-steps li:first-child {
  padding-left: 0;
}

.flow-n {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--heat-text);
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
}

.flow-steps h3 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.flow-steps p {
  margin-top: 0.5rem;
  max-width: 22rem;
}

/* Industry pages number their steps from the list itself */
.ind-hero ~ .flow .flow-steps li::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  margin-bottom: 0.6rem;
  color: var(--heat-text);
  font-family: var(--mono);
  font-weight: 600;
}

/* Konsole und App: two raised panels, a screen each, the facts below */

.product-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2rem, 3.5vw, 3rem);
}

.panel {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--raised);
  overflow: hidden;
}

.panel-shot {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: clamp(17rem, 27vw, 24rem);
  padding: 1.75rem 1.75rem 0;
  overflow: hidden;
}

.panel-monitor {
  display: block;
  container-type: inline-size;
}

/* The hero's monitor on its own: the same parts and units, without the phone */
.stage-solo {
  --u: calc(100cqw / 642);
  left: 0;
  height: calc(456 * var(--u));
  margin-top: auto;
}

.panel-phones {
  gap: 1.1rem;
}

.panel-phones .mini-phone {
  width: clamp(8.5rem, 12vw, 10.5rem);
  margin-bottom: -2.5rem;
}

.panel-phones .mini-phone:last-child {
  margin-bottom: -5rem;
}

.panel figcaption {
  position: relative;
  padding: 1.6rem 1.75rem 1.9rem;
  border-top: 1px solid var(--line-soft);
  background: var(--raised);
}

.panel h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.panel figcaption > p {
  margin-top: 0.4rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1.25rem;
  margin-top: 1.1rem;
  font-size: 0.95rem;
}

.facts li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink);
}

.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 2px;
  background: var(--heat);
}

/* A phone frame around an app screenshot */

.mini-phone {
  display: block;
  padding: 5px;
  border: 1px solid #45474a;
  border-radius: 24px;
  background: #141414;
  box-shadow: 0 18px 40px var(--shadow-device);
}

.mini-phone img {
  width: 100%;
  height: auto;
  border-radius: 19px;
}

/* Nicht nur für Autohäuser: a lineup of phones, one per trade */

.trade-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.4rem);
  margin-top: clamp(2rem, 3.5vw, 3rem);
}

.trade-row a {
  display: grid;
  gap: 0.9rem;
  color: var(--prose);
  text-align: center;
  text-decoration: none;
}

.trade-row .mini-phone {
  transition: transform 0.35s var(--ease-out), border-color 0.2s ease;
}

.trade-row a:hover .mini-phone {
  transform: translateY(-6px);
  border-color: #6a6a6a;
}

.trade-row a:hover .trade-name {
  color: var(--ink);
}

.trade-name {
  font-weight: 560;
  transition: color 0.15s ease;
}

/* Preise */

.pricing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pricing .sec-title {
  text-align: left;
}

.pricing > .sec-lead {
  margin: 0.8rem 0 0;
  text-align: left;
}

.interval {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--toggle-track);
}

.interval label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.4rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 540;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.interval label:hover {
  color: var(--ink);
}

.interval input:checked + label {
  background: var(--toggle-on);
  color: var(--ink);
}

.interval input:focus-visible + label {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.interval-save {
  padding: 0.05rem 0.5rem;
  white-space: nowrap;
  border-radius: 999px;
  background: var(--heat-soft-bg);
  color: var(--heat-soft-ink);
  font-size: 0.8rem;
  font-weight: 600;
}

/* both intervals are in the markup; the switch shows one (monthly without :has support) */
.pricing [data-interval="yearly"],
.pricing:has(#interval-yearly:checked) [data-interval="monthly"] {
  display: none;
}

.pricing:has(#interval-yearly:checked) [data-interval="yearly"] {
  display: revert;
}

.pricing:has(#interval-yearly:checked) .plan-price [data-interval="yearly"] {
  display: flex;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.plan {
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 6;
  gap: 0.7rem;
  padding: 1.5rem 1.4rem 1.6rem;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--raised);
}

.plan.is-recommended {
  border-color: var(--heat);
}

.plan-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.plan-badge {
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: var(--heat);
  color: var(--heat-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
}

.plan-for {
  font-size: 0.95rem;
  line-height: 1.5;
}

.plan-price p {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.plan-price b {
  font-size: clamp(2.1rem, 2.8vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.plan-price span,
.plan-billing {
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-next {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--heat-soft-ink);
}

.plan > .btn {
  justify-self: stretch;
  align-self: start;
}

.plan-features {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.93rem;
  line-height: 1.45;
}

.plan-features li {
  position: relative;
  padding-left: 1.35rem;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.32em;
  width: 0.35rem;
  height: 0.65rem;
  border-right: 2px solid var(--heat);
  border-bottom: 2px solid var(--heat);
  transform: rotate(40deg);
}

.plan-features .is-without {
  color: var(--muted);
}

.plan-features .is-without::before {
  top: 0.68em;
  width: 0.6rem;
  height: 0;
  border-right: 0;
  border-bottom: 2px solid var(--line-strong);
  transform: none;
}

.plans-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.plan-tag {
  display: inline-block;
  padding: 0.05rem 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--prose);
  font-size: 0.75rem;
  font-weight: 560;
  vertical-align: 0.15em;
}

/* Schluss: one question, one action */

.closing {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding-bottom: var(--section);
  text-align: center;
}

.closing-title {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.closing-lead {
  max-width: 38rem;
  font-size: 1.1rem;
}

.closing .btn {
  margin-top: 0.6rem;
}

.closing-talk {
  color: var(--muted);
}

/* Footer */

.site-foot {
  border-top: 1px solid var(--line-soft);
}

.foot-inner {
  display: grid;
  justify-items: center;
  gap: 1.3rem;
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 3rem var(--gutter) 3.5rem;
  text-align: center;
}

.brand-foot {
  justify-self: center;
  font-size: 1.4rem;
}

.foot-links,
.foot-industries ul,
.site-foot .lang-switch ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.6rem;
}

.foot-links a,
.foot-industries a,
.site-foot .lang-switch a {
  display: inline-block;
  padding: 0.3rem 0;
  color: var(--prose);
  text-decoration: none;
}

.foot-industries a {
  color: var(--muted);
  font-size: 0.92rem;
}

.foot-links a:hover,
.foot-industries a:hover,
.site-foot .lang-switch a:hover,
.site-foot .lang-switch a[aria-current="page"] {
  color: var(--ink);
}

.site-foot .lang-switch {
  font-family: var(--sans);
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

.foot-note {
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Subpages: the same centred head as the home page */

.page-head {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.page-title {
  max-width: 50rem;
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.page-lead {
  max-width: 42rem;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.45;
}

.page-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 0.3rem;
  color: var(--line-strong);
}

.crumbs a {
  color: var(--prose);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ink);
}

.ind-hero .crumbs {
  margin-bottom: 1.4rem;
}

/* Guides hub: one row per guide */

.hub {
  max-width: calc(52rem + 2 * var(--gutter));
  padding-top: clamp(2rem, 4vw, 3rem);
}

.hub-list {
  border-top: 1px solid var(--line);
}

.hub-list a {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem;
  padding: 1.4rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--prose);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.hub-list a:hover {
  background: var(--raised);
}

.hub-n {
  color: var(--heat-text);
  font-family: var(--mono);
  font-weight: 600;
}

.hub-text {
  display: grid;
  gap: 0.3rem;
}

.hub-text b {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

.hub-time {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

/* A guide: steps with the screen beside the words */

.guide {
  max-width: calc(var(--page) + 2 * var(--gutter));
}

.guide > .page-head {
  padding: 0;
}

.steps {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.step {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}

.step:not(:has(.step-shot)) {
  grid-template-columns: minmax(0, 40rem);
}

.step:not(:has(.step-shot)) .step-copy {
  position: static;
}

.step-copy {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.step-n {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.9rem;
  border: 1px solid var(--heat-text);
  border-radius: 999px;
  color: var(--heat-text);
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
}

.step h2 {
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.step-copy p {
  margin-top: 0.6rem;
}

.step-copy .step-tip {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: var(--raised);
  color: var(--prose);
  font-size: 0.95rem;
}

.step-shot-console img {
  width: 100%;
  height: auto;
  border: 1px solid #3a3a3c;
  border-radius: 12px;
  box-shadow: 0 24px 50px var(--shadow-device);
}

.step-shot-app {
  justify-self: center;
  width: min(17rem, 100%);
}

.step-shot-app img {
  width: 100%;
  height: auto;
  padding: 5px;
  border: 1px solid #45474a;
  border-radius: 30px;
  background: #141414;
  box-shadow: 0 18px 40px var(--shadow-device);
}

.guide-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.guide-next {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--prose);
  text-align: right;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.guide-next:hover {
  border-color: var(--line-hover);
  background: var(--raised);
}

.guide-next b {
  font-size: 1.15rem;
}

/* Ledger: facts as term and explanation */

.ledger-sec,
.benefits {
  max-width: calc(var(--page) + 2 * var(--gutter));
}

.ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 5vw, 4rem);
  margin-top: clamp(2rem, 3.5vw, 3rem);
}

.ledger > div {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.ledger dt {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ledger dd {
  margin-top: 0.4rem;
}

/* FAQ */

.faq {
  max-width: calc(52rem + 2 * var(--gutter));
}

.faq-list {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  border-top: 1px solid var(--line);
}

.page-head + .faq .faq-list {
  margin-top: 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 3.75rem;
  padding: 1rem 0;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 560;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.3rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-0.15rem) rotate(45deg);
  transition: transform 0.25s var(--ease-out);
}

.faq-item[open] summary::after {
  transform: translateY(0.15rem) rotate(-135deg);
}

.faq-item summary:hover::after {
  border-color: var(--heat-text);
}

.faq-answer {
  padding: 0 2.5rem 1.4rem 0;
  line-height: 1.65;
}

/* Industry pages */

.template-sec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.template-sec .sec-title,
.template-sec .sec-lead {
  margin-left: 0;
  text-align: left;
}

.field-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.field-list li {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  color: var(--ink);
  font-weight: 540;
}

.ind-more {
  padding-bottom: var(--section);
}

.ind-more ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.ind-more a {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--prose);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ind-more a:hover {
  border-color: var(--line-hover);
  color: var(--ink);
}

.ind-more + .site-foot,
.closing + .ind-more {
  border-top: 0;
}

.closing + .ind-more {
  padding-top: 0;
}

/* Legal pages and the 404 page: a reading column */

.legal {
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter) var(--section);
}

.legal-doc {
  max-width: 44rem;
  margin: 0 auto;
}

.legal-doc h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.legal-doc h2 {
  margin-top: 2.4rem;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
}

.legal-doc h3 {
  margin-top: 1.6rem;
  font-size: 1.1rem;
}

.legal-doc p,
.legal-doc ul,
.legal-doc ol {
  margin-top: 0.8rem;
}

.legal-doc ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-meta {
  color: var(--muted);
}

.legal-code {
  color: var(--heat-text);
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

/* The small-screen menu; hidden while the links fit in the bar */

.nav-menu {
  position: relative;
  display: none;
}

.nav-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 2.2rem;
  padding: 0 0.4rem;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary .icon {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--muted);
  transition: rotate 0.2s ease;
}

.nav-menu[open] summary .icon {
  rotate: 180deg;
}

.nav-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  display: grid;
  min-width: 13rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
  box-shadow: 0 14px 30px var(--shadow);
}

.nav-menu a {
  padding: 0.7rem 0.8rem;
  border-radius: 6px;
  color: var(--prose);
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  background: var(--raised-2);
  color: var(--ink);
}

.nav-menu-lang {
  display: none;
}

/* Entrance: the words settle, then the stage rises into place; visible from the first frame without motion */

@media (prefers-reduced-motion: no-preference) {
  .hero-title,
  .hero-sub,
  .hero-action,
  .stage-wrap {
    animation: settle 0.9s var(--ease-out) both;
  }

  .hero-sub {
    animation-delay: 0.08s;
  }

  .hero-action {
    animation-delay: 0.16s;
  }

  .stage-wrap {
    animation: rise 1.2s var(--ease-out) 0.22s both;
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(48px) scale(0.98);
  }
}

/* Responsive */

@media (max-width: 1100px) {
  .nav-links {
    gap: 1.6rem;
    font-size: 1.02rem;
  }

  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trade-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 40rem;
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .site-nav-inner {
    display: flex;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .nav-menu {
    display: block;
  }

  .nav-end {
    gap: 0.5rem;
  }

  .stage-wrap {
    width: min(100%, 640px);
  }

  .stage {
    left: 0;
  }

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .flow-steps li,
  .flow-steps li:first-child {
    padding: 1.6rem 0 0;
  }

  .flow-steps li + li {
    border-left: 0;
  }

  .flow-steps li {
    border-top: 1px solid var(--line);
  }

  .flow-steps p {
    max-width: 34rem;
  }

  .product-panels,
  .template-sec,
  .ledger {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .step-copy {
    position: static;
  }

  .step-shot-app {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .site-nav .btn-heat {
    padding: 0 0.75rem;
    font-size: 0.88rem;
  }

  .lang-menu {
    display: none;
  }

  .nav-menu-lang {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.35rem;
    padding: 0.5rem 0.4rem 0.2rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
  }

  .nav-menu-lang a {
    padding: 0.5rem 0.6rem;
  }

  .brand {
    font-size: 1.45rem;
  }

  .hero {
    padding-top: 1.25rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 2.8rem);
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .plan {
    grid-row: auto;
    grid-template-rows: none;
  }

  .trade-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .panel-shot {
    height: 15rem;
    padding: 1.1rem 1.1rem 0;
  }

  .panel figcaption {
    padding: 1.3rem 1.2rem 1.5rem;
  }

  .hub-list a {
    grid-template-columns: 2.2rem minmax(0, 1fr);
  }

  .hub-time {
    grid-column: 2;
  }

  .faq-answer {
    padding-right: 0;
  }

  .pricing-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
