.web-public {
  --web-bg: var(--bg);
  --web-paper: var(--surface);
  --web-ink: var(--ink);
  --web-muted: var(--secondary);
  --web-line: var(--line);
  --web-border: var(--line-strong);
  --web-action: var(--primary);
  --web-action-hover: var(--primary-hover);
  --web-action-ink: #fff;
  --web-accent: var(--primary-text);
  --web-tint: var(--primary-soft);
  --web-gutter: clamp(14px,4vw,45px);
  min-height: 100dvh;
  background: var(--web-bg);
  color: var(--web-ink);
}
.web-landing,
.web-access {
  background: radial-gradient(ellipse at 17% 12%,color-mix(in srgb,var(--web-tint) 75%,transparent),transparent min(64vw,640px)),
    radial-gradient(ellipse at 92% 17%,color-mix(in srgb,var(--mint) 20%,transparent),transparent min(72vw,750px)),
    var(--web-bg);
}
.web-container,
.access-layout {
  width: min(calc(100% - var(--web-gutter) * 2),1280px);
  margin-inline: auto;
}
.web-main { padding: 0; }
.web-header {
  border-bottom: 1px solid var(--web-line);
  background: color-mix(in srgb,var(--web-paper) 90%,var(--web-bg));
}
.web-header-inner,
.web-nav,
.web-header-actions,
.web-hero-actions {
  display: flex;
  align-items: center;
}
.web-header-inner {
  justify-content: space-between;
  gap: 14px;
  min-height: clamp(64px,7vw,83px);
}
.web-wordmark { flex: none; text-decoration: none; }
.web-wordmark .brand { padding: 0; color: var(--web-ink); }
.web-wordmark .brand small { margin-top: 2px; color: var(--web-muted); }
.web-nav,.web-header-actions,.web-hero-actions { gap: 10px; }
.web-nav { gap: clamp(12px,2.25vw,35px); }
.web-nav a,.web-footer a:not(.web-wordmark) {
  font-weight: 750;
  color: var(--web-muted);
  text-decoration: none;
}
.web-nav a:hover,.web-footer a:hover { color: var(--web-accent); }
.web-header-actions .icon-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border-color: var(--web-line);
  background: var(--web-paper);
  color: var(--web-ink);
}
.web-header-actions .icon-button:hover { background: var(--web-tint); }
.web-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 clamp(11px,1.3vw,19px);
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: clamp(.8125rem,1vw,.9375rem);
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  transition: background-color .15s ease,border-color .15s ease;
}
.web-button-primary { background: var(--web-action); color: var(--web-action-ink); }
.web-button-primary:hover { background: var(--web-action-hover); }
.web-button-outline { background: var(--web-paper); border-color: var(--web-border); color: var(--web-ink); }
.web-button-outline:hover { border-color: var(--web-accent); }
.web-button-plain { background: transparent; color: var(--web-ink); }
.web-button-plain:hover { background: var(--web-tint); }
.web-hero {
  display: grid;
  grid-template-columns: minmax(0,.93fr) minmax(0,1.07fr);
  align-items: center;
  gap: clamp(24px,4.5vw,76px);
  padding-block: clamp(42px,6.2vw,96px);
}
.web-kicker {
  color: var(--web-accent);
  font-weight: 800;
  font-size: clamp(.8125rem,1.25vw,.9375rem);
}
.web-hero-copy {
  min-width: 0;
}
.web-hero-copy h1 {
  max-width: 13ch;
  margin-block: 12px 18px;
  font-size: clamp(2.875rem,5.1vw,5rem);
  line-height: 1.05;
  letter-spacing: -.06em;
  font-weight: 800;
  text-wrap: balance;
}
.web-hero-copy h1 em { color: var(--web-accent); font-style: normal; }
.web-deck {
  max-width: 42ch;
  color: var(--web-muted);
  font-size: clamp(1rem,1.32vw,1.1875rem);
  line-height: 1.65;
}
.web-hero-actions { flex-wrap: wrap; margin-top: clamp(19px,2.6vw,34px); }
.web-hero-actions .web-button { min-height: 49px; }
.web-devices {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 15px;
  color: var(--web-muted);
  font-size: .8125rem;
}
.web-devices svg:last-of-type { margin-inline-end: 4px; }

/* The sample interface stays in the light palette inside either page theme. */
.web-preview {
  container-type: inline-size;
  position: relative;
  min-width: 0;
  max-width: 680px;
}
.web-preview-stage {
  position: relative;
  isolation: isolate;
  padding-block-end: clamp(20px,5cqw,34px);
}
.web-preview-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -3% 3% -4% -3%;
  background: radial-gradient(ellipse,color-mix(in srgb,var(--accent) 22%,transparent),transparent 72%);
  pointer-events: none;
}
.web-preview-window {
  min-width: 0;
  overflow: hidden;
  border: clamp(3px,1cqw,6px) solid #14263c;
  border-radius: clamp(14px,3.9cqw,26px);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 20px 49px #16213635;
}
.web-preview-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: clamp(7px,2.1cqw,14px) clamp(9px,3cqw,19px);
  background: #14263c;
  color: #f2f8ff;
}
.web-preview-bar > b,.web-preview-bar > span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: clamp(.625rem,2.25cqw,.8125rem);
}
.web-preview-logo,.web-preview-active {
  display: grid;
  place-items: center;
  width: clamp(22px,5.5cqw,33px);
  height: clamp(22px,5.5cqw,33px);
  border-radius: 7px;
}
.web-preview-logo { color: #fff; background: var(--primary); }
.web-preview-active { color: var(--primary-text); background: var(--primary-soft); }
.web-preview-app { display: grid; grid-template-columns: clamp(34px,8.5cqw,57px) minmax(0,1fr); }
.web-preview-nav {
  display: grid;
  grid-auto-rows: clamp(26px,6cqw,34px);
  justify-items: center;
  align-items: center;
  gap: 4px;
  padding: clamp(9px,2.7cqw,16px) 0;
  border-right: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}
.web-preview-content { min-width: 0; padding: clamp(10px,3.4cqw,21px); }
.web-preview-title,.web-preview-order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.web-preview-title strong { font-size: clamp(.9375rem,4.15cqw,1.625rem); letter-spacing: -.045em; }
.web-preview-title > span,.web-preview-order-head > span {
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary-text);
  font-size: clamp(.5625rem,2cqw,.75rem);
  font-weight: 800;
  white-space: nowrap;
}
.web-preview-tables {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(4px,1.5cqw,10px);
  margin-block: clamp(7px,2.7cqw,17px);
}
.web-preview-table {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
  min-height: clamp(46px,15cqw,95px);
  padding: clamp(4px,1.9cqw,13px);
  border: 1px solid color-mix(in srgb,var(--preview-table-ink) 26%,var(--preview-table-bg));
  border-radius: clamp(7px,2.2cqw,15px);
  background: var(--preview-table-bg);
  color: var(--preview-table-ink);
}
.web-preview-table strong,.web-preview-table span { display: block; overflow-wrap: anywhere; }
.web-preview-table strong { font-size: clamp(.625rem,3.1cqw,1rem); }
.web-preview-table span { font-size: clamp(.5625rem,2.15cqw,.75rem); line-height: 1.28; }
.web-preview-busy { --preview-table-bg: var(--primary-soft); --preview-table-ink: var(--primary-text); }
.web-preview-free { --preview-table-bg: var(--green-soft); --preview-table-ink: var(--green); }
.web-preview-ready { --preview-table-bg: var(--orange-soft); --preview-table-ink: var(--orange); }
.web-preview-order {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: clamp(8px,2cqw,14px);
  background: var(--surface);
}
.web-preview-order-head { padding: clamp(5px,1.7cqw,10px) clamp(7px,2.2cqw,14px); }
.web-preview-order-head strong { font-size: clamp(.6875rem,2.8cqw,.9375rem); }
.web-preview-drink {
  --preview-thumb-size: clamp(25px,7cqw,43px);
  display: grid;
  grid-template-columns: var(--preview-thumb-size) minmax(0,1fr) auto;
  align-items: center;
  gap: clamp(5px,1.5cqw,9px);
  border-top: 1px solid var(--line);
  padding: clamp(4px,1cqw,7px) clamp(7px,2.2cqw,14px);
}
.web-preview-drink img { width: var(--preview-thumb-size); height: var(--preview-thumb-size); border-radius: 6px; object-fit: cover; }
.web-preview-drink b,.web-preview-drink span { font-size: clamp(.625rem,2.2cqw,.8125rem); }
.web-preview-drink b { overflow-wrap: anywhere; }
.web-preview-drink span { font-weight: 800; color: var(--primary-text); white-space: nowrap; }
.web-preview-qr {
  position: absolute;
  right: clamp(8px,3cqw,17px);
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 16px);
  padding: clamp(6px,1.6cqw,10px);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 22px #1621362e;
}
.web-preview-qr > span {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(33px,8.3cqw,44px);
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-text);
}
.web-preview-qr b,.web-preview-qr small { display: block; }
.web-preview-qr b { font-size: clamp(.625rem,2.6cqw,.875rem); }
.web-preview-qr small { color: var(--muted); font-size: clamp(.5625rem,2.05cqw,.75rem); }

.web-section {
  padding-block: clamp(31px,5.6vw,76px);
  border-top: 1px solid var(--web-line);
  scroll-margin-top: 20px;
}
.web-section-heading { max-width: 650px; margin-bottom: clamp(16px,2.3vw,29px); }
.web-section-heading h2 {
  font-size: clamp(1.75rem,3.25vw,2.75rem);
  line-height: 1.12;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.web-section-heading p { color: var(--web-muted); margin-top: 8px; }
.web-feature-grid,.web-plan-grid,.web-flow ol {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,247px),1fr));
  gap: clamp(9px,1.45vw,18px);
}
.web-feature-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.web-feature,.web-plan {
  min-width: 0;
  padding: clamp(15px,2.5vw,27px);
  border: 1px solid var(--web-line);
  border-radius: clamp(14px,1.8vw,21px);
  background: var(--web-paper);
}
.web-feature-icon,.web-step-icon {
  display: grid;
  place-items: center;
  width: clamp(39px,4.2vw,52px);
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--feature-bg,var(--web-tint));
  color: var(--feature-ink,var(--web-accent));
}
.web-feature-icon[data-feature-tone="indigo"] { --feature-bg: var(--blue-soft); --feature-ink: var(--blue); }
.web-feature-icon[data-feature-tone="citrus"] { --feature-bg: var(--orange-soft); --feature-ink: var(--orange); }
.web-feature-icon[data-feature-tone="mint"] { --feature-bg: var(--green-soft); --feature-ink: var(--green); }
.web-feature-icon[data-feature-tone="rose"] { --feature-bg: var(--red-soft); --feature-ink: var(--red); }
.web-feature-icon[data-feature-tone="slate"] { --feature-bg: var(--subtle); --feature-ink: var(--secondary); }
.web-feature h3,.web-flow h3,.web-plan h3 { font-size: clamp(1rem,1.6vw,1.25rem); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.web-feature h3 { margin-top: 12px; }
.web-feature p,.web-flow li p { color: var(--web-muted); margin-top: 6px; font-size: clamp(.875rem,1.2vw,1rem); }
.web-flow ol { padding: 0; margin: 0; list-style: none; }
.web-flow li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: clamp(12px,2vw,20px);
  border: 1px solid var(--web-line);
  border-radius: 16px;
  background: color-mix(in srgb,var(--web-tint) 50%,var(--web-paper));
}
.web-flow li .web-step-icon { flex: none; background: var(--web-paper); }
.web-plan { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.web-plan-trial {
  border-color: color-mix(in srgb,var(--web-accent) 65%,var(--web-line));
  background: color-mix(in srgb,var(--web-tint) 24%,var(--web-paper));
}
.web-plan-price { color: var(--web-accent); font-size: clamp(1.1875rem,2.6vw,1.875rem); font-weight: 800; letter-spacing: -.035em; }
.web-plan-price small { color: var(--web-muted); font-size: .8125rem; font-weight: 700; }
.web-plan ul { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.web-plan li { display: flex; gap: 7px; align-items: center; color: var(--web-muted); font-size: .875rem; }
.web-plan li svg { color: var(--web-accent); }
.web-plan .web-button { margin-top: auto; }
.web-no-plans { color: var(--web-muted); grid-column: 1 / -1; }
.web-footer {
  border-top: 1px solid var(--web-line);
  background: var(--web-paper);
}
.web-footer .web-container { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 88px; }

.web-access {
  display: flex;
  flex-direction: column;
  --access-field-bg: var(--subtle);
}
.access-layout {
  display: grid;
  flex: 1;
  align-content: center;
  width: min(calc(100% - var(--web-gutter) * 2),1140px);
  padding: clamp(24px,4vw,58px) 0;
}
.access-panel {
  display: grid;
  grid-template-columns: minmax(0,.93fr) minmax(0,1.07fr);
  grid-template-areas: "showcase form";
  padding: 8px;
  border: 1px solid var(--web-border);
  border-radius: 27px;
  background: var(--web-paper);
  box-shadow: 0 18px 50px #1d1a291c;
}
.web-platform-access .access-layout { width: min(calc(100% - var(--web-gutter) * 2),550px); }
.web-platform-access .access-panel { grid-template-columns: minmax(0,1fr); grid-template-areas: "form"; }
.access-showcase {
  grid-area: showcase;
  display: grid;
  min-width: 0;
  align-content: end;
  min-height: clamp(470px,54vw,600px);
  padding: clamp(27px,4.6vw,58px);
  border-radius: 21px;
  background: linear-gradient(5deg,#102236 1%,#102840d9 23%,#1434421a 72%),url('/assets/auth-cafe.jpg') center / cover no-repeat #14263c;
  color: #fff;
}
.access-showcase-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  margin-bottom: 15px;
  border: 1px solid #ffffff73;
  border-radius: 11px;
  background: #10223654;
}
.access-showcase h2 { max-width: 13ch; font-size: clamp(1.9rem,3.95vw,3.55rem); line-height: 1.06; letter-spacing: -.05em; text-wrap: balance; }
.access-showcase-copy p { max-width: 35ch; margin-top: 12px; color: #edf6ff; font-size: clamp(.875rem,1.3vw,1.0625rem); }
.access-card {
  grid-area: form;
  align-self: center;
  min-width: 0;
  width: 100%;
  padding: clamp(23px,3.8vw,54px) clamp(21px,4vw,57px);
}
.access-modes {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 4px;
  margin-bottom: clamp(17px,2vw,27px);
  padding: 4px;
  border: 1px solid var(--web-line);
  border-radius: 13px;
  background: var(--access-field-bg);
}
.access-modes a {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 5px 7px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--web-muted);
  font-size: .875rem;
  font-weight: 800;
  text-decoration: none;
}
.access-modes a:hover { color: var(--web-accent); }
.access-modes a[aria-current=page] {
  border-color: var(--web-line);
  background: var(--web-paper);
  color: var(--web-accent);
  box-shadow: 0 1px 3px #24192514;
}
.access-heading h1 { font-size: clamp(1.85rem,3.55vw,3rem); line-height: 1.1; letter-spacing: -.055em; }
.access-heading p { margin-block: 8px clamp(16px,2.2vw,24px); color: var(--web-muted); font-size: .9375rem; }
.access-form,.access-field { display: grid; min-width: 0; gap: 12px; }
.access-pair { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,160px),1fr)); gap: 12px; }
.access-field { gap: 5px; }
.access-field label { color: var(--web-ink); font-size: .875rem; font-weight: 800; }
.access-field label small { margin-inline-start: 5px; color: var(--web-muted); font-size: .75rem; font-weight: 600; }
.access-input { position: relative; min-width: 0; }
.access-input-icon { pointer-events: none; position: absolute; top: 50%; left: 13px; transform: translateY(-50%); color: var(--web-muted); }
.access-input:focus-within .access-input-icon { color: var(--web-accent); }
.access-field input {
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 8px 13px 8px 41px;
  border: 1px solid var(--web-border);
  border-radius: 11px;
  background: var(--access-field-bg);
  color: var(--web-ink);
  font-size: 1rem;
}
.access-field input::placeholder { color: var(--web-muted); opacity: .88; }
.access-field input:focus { border-color: var(--web-accent); }
.access-field input:focus-visible { outline: 2px solid var(--web-accent); outline-offset: 1px; }
.access-password input { padding-inline-end: 51px; }
.access-eye { position: absolute; inset: 2px 2px 2px auto; min-width: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--web-muted); }
.access-eye:hover,.access-eye[aria-pressed=true] { background: var(--web-tint); color: var(--web-accent); }
.access-form > .web-button { width: 100%; min-height: 50px; margin-top: 4px; border-radius: 12px; font-size: .9375rem; }
.access-form > .error { border-radius: 10px; padding: 9px 12px; background: var(--red-soft); }
.access-note { color: var(--web-muted); font-size: .75rem; }
.access-plan { display: flex; align-items: center; gap: 9px; padding: 10px 12px; background: var(--web-tint); color: var(--web-ink); border-radius: 10px; font-size: .8125rem; }
.access-plan svg { flex: none; color: var(--web-accent); }
.access-back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 11px; color: var(--web-accent); font-size: .875rem; font-weight: 800; text-underline-offset: 3px; }
.access-demo { margin-top: 16px; }
.access-demo summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 45px;
  padding: 8px 12px;
  border: 1px solid var(--web-line);
  border-radius: 11px;
  background: var(--web-paper);
  color: var(--web-ink);
  cursor: pointer;
  list-style: none;
  font-size: .875rem;
  font-weight: 800;
}
.access-demo summary:hover { background: var(--web-tint); }
.access-demo summary::-webkit-details-marker { display: none; }
.access-demo summary > span { display: flex; align-items: center; gap: 8px; }
.access-demo summary svg { color: var(--web-accent); }
.access-demo[open] summary > svg { transform: rotate(180deg); }
.access-demo summary:focus-visible { outline: 2px solid var(--web-accent); outline-offset: 2px; }
.access-demo .demo-logins { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.access-demo .web-button { padding-inline: 9px; font-size: .8125rem; }

@media (max-width: 910px) {
  .web-landing .web-header-inner { flex-wrap: wrap; row-gap: 2px; padding-top: 7px; }
  .web-nav {
    order: 1;
    flex: 1 0 100%;
    justify-content: space-between;
    gap: 7px;
    border-top: 1px solid var(--web-line);
    font-size: clamp(.75rem,1.7vw,.875rem);
  }
  .web-nav a { display: inline-grid; place-items: center; min-height: 38px; text-align: center; }
  .web-hero { gap: 22px; }
}
@media (max-width: 790px) {
  .access-layout,.web-platform-access .access-layout { width: min(calc(100% - var(--web-gutter) * 2),550px); }
  .access-panel { grid-template-columns: minmax(0,1fr); grid-template-areas: "form"; padding: 0; border-radius: 20px; }
  .access-showcase { display: none; }
}
@media (max-width: 720px) {
  .web-hero { grid-template-columns: minmax(0,1fr); gap: 25px; }
  .web-hero-copy h1 { max-width: 16ch; font-size: clamp(2.45rem,8.7vw,3.5rem); }
  .web-preview { width: min(100%,545px); }
  .web-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 470px) {
  .web-header-inner { gap: 6px; min-height: 60px; }
  .web-wordmark .brand { gap: 7px; }
  .web-wordmark .brand-icon { width: 35px; height: 35px; border-radius: 10px; }
  .web-wordmark .brand b { font-size: 18px; }
  .web-header .brand small { display: none; }
  .web-header-actions { gap: 3px; }
  .web-header-actions .web-button { padding-inline: 6px; font-size: .75rem; }
  .web-header-actions .icon-button { min-width: 44px; }
  .web-hero { padding-top: 30px; }
  .web-preview-table strong svg { display: none; }
  .web-feature-grid { grid-template-columns: minmax(0,1fr); }
  .access-layout { align-content: start; }
}
