/* Halmist web: shared tokens, state mechanics, and v2 composition. */
@font-face {
  font-family:Manrope;
  src:url(/assets/manrope.ttf);
  font-weight:200 800;
  font-display:swap
}

@font-face {
  font-family:'Bodoni Moda';
  src:url(/assets/bodoni.ttf);
  font-weight:400 900;
  font-display:swap
}

@font-face {
  font-family:Flags;
  src:url(/assets/flags.woff2)
}

:root {
  --bg:#F4F2F5;
  --surface:#FFFFFF;
  --text:#27252B;
  --muted:#6B6472;
  --line:#D7D2DC;
  --accent:#B9ABC9;
  --ink:#665473;
  --tint:#EAE4EF;
  --danger:#A12C40;
  --warning:#77591C;
  --good:#365F50;
  --disabled:#E5E1E8;
  --gutter:64px;
  color-scheme:light
}

:root[data-theme=dark] {
  --bg:#1C1B1F;
  --surface:#28262C;
  --text:#F2EDF5;
  --muted:#B8AFBF;
  --line:#4B454F;
  --ink:#D0BEDF;
  --tint:#39323F;
  --danger:#F4A4B2;
  --warning:#E0C58D;
  --good:#A4C8B6;
  --disabled:#3C3741;
  color-scheme:dark
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:24px
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Manrope,sans-serif;
  font-size:16px;
  line-height:1.6
}

button,
input,
select,
textarea {
  font:inherit
}

button,
a,
input,
select,
summary {
  touch-action:manipulation
}

button,
a,
summary {
  -webkit-tap-highlight-color:#00000000
}

button {
  cursor:pointer;
  color:inherit
}

button:disabled,
[aria-disabled=true] {
  cursor:default
}

a {
  color:var(--ink);
  text-underline-offset:5px;
  text-decoration-thickness:1px
}

a:hover {
  text-decoration-thickness:2px
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline:3px solid var(--ink);
  outline-offset:3px
}

button:active:not(:disabled),
a:active {
  transform:none
}

button:disabled {
  color:var(--muted);
  background:var(--disabled)
}

[hidden] {
  display:none!important
}

img {
  max-width:100%;
  height:auto
}

h1,
h2,
h3,
p {
  margin:0
}

h1,
h2 {
  font-weight:500;
  line-height:1.12;
  letter-spacing:-1px
}

h1 {
  font-family:'Bodoni Moda',serif;
  font-size:52px
}

h2 {
  font-size:28px;
  line-height:1.25;
  letter-spacing:-.5px
}

h3 {
  font-size:18px;
  line-height:1.4;
  font-weight:700
}

p {
  max-width:68ch
}

p+p {
  margin-top:16px
}

small,
.small {
  font-size:13px;
  line-height:1.6
}

.muted {
  color:var(--muted)
}

.ink {
  color:var(--ink)
}

.danger-text {
  color:var(--danger)
}

.good {
  color:var(--good)
}

.warning-text {
  color:var(--warning)
}

.wrap {
  width:calc(100% - 2 * var(--gutter));
  max-width:1200px;
  margin:0 auto
}

.nav-link {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-size:13px;
  text-decoration:none
}

.select-label {
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:13px;
  font-weight:600
}

.icon-button {
  min-width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--surface);
  display:grid;
  place-items:center
}

.icon-button:hover {
  background:var(--tint);
  border-color:var(--ink)
}

.icon {
  width:22px;
  height:22px;
  display:inline-block;
  vertical-align:middle
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:52px;
  padding:12px 20px;
  border:1px solid #00000000;
  border-radius:14px;
  background:var(--accent);
  color:#27252B;
  font-size:14px;
  line-height:1.5;
  font-weight:700;
  text-decoration:none;
  text-align:center
}

.button:hover,
.button.is-hover {
  background:#C9BDD5;
  text-decoration:none
}

.button:active,
.button.is-pressed {
  background:#C9BDD5;
  transform:none
}

.button.secondary {
  background:var(--surface);
  color:var(--ink);
  border-color:var(--muted)
}

.button.secondary:hover {
  background:var(--tint);
  border-color:var(--ink)
}

.button.danger {
  background:var(--danger);
  color:var(--bg)
}

.button.danger:hover {
  outline:2px solid var(--danger);
  outline-offset:2px
}

.button:disabled {
  background:var(--disabled);
  color:var(--muted);
  border-color:var(--disabled);
  transform:none
}

.text-button {
  min-height:44px;
  min-width:44px;
  padding:10px 4px;
  border:0;
  background:#00000000;
  color:var(--ink);
  font-size:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:underline;
  text-underline-offset:5px
}

.text-button:hover {
  background:var(--tint)
}

.text-button:disabled {
  background:#00000000;
  color:var(--muted);
  text-decoration:none
}

.full {
  width:100%
}

.actions {
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap
}

.stack {
  display:grid;
  gap:20px
}

.flow>*+* {
  margin-top:24px
}

.intro {
  color:var(--muted);
  margin-top:16px
}

.page-heading {
  margin-bottom:36px
}

.section {
  padding:72px 0;
  border-top:1px solid var(--line)
}

.store-badges {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin:12px -11px 4px
}

.store-badge {
  display:flex;
  align-items:center;
  min-height:66px;
  padding:11px;
  flex-shrink:0
}

.store-badge img.apple {
  height:44px;
  width:auto;
  max-width:none
}

.store-badge.google {
  padding:0;
  min-height:66px
}

.store-badge img.google {
  height:66px;
  width:auto;
  max-width:none
}

.store-badge:hover {
  outline:1px solid var(--muted);
  outline-offset:-3px;
  border-radius:10px
}

.qr-block {
  display:flex;
  align-items:center;
  gap:20px;
  margin-top:24px;
  max-width:330px
}

.qr-block img {
  width:96px;
  height:96px;
  background:#FFFFFF;
  flex-shrink:0
}

.qr-block p {
  font-size:13px;
  color:var(--muted);
  line-height:1.5
}

.qr-block a {
  font-size:12px;
  display:flex;
  min-height:44px;
  align-items:center
}

.badge {
  font-size:12px;
  color:var(--ink);
  font-weight:700;
  display:block
}

.faq-list {
  max-width:880px
}

.faq-list details {
  border-top:1px solid var(--line)
}

.faq-list details:last-child {
  border-bottom:1px solid var(--line)
}

.faq-list summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  font-size:18px;
  font-weight:600;
  min-height:76px;
  padding:20px 0;
  cursor:pointer;
  list-style:none
}

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

.faq-list summary:after {
  content:'+';
  font-weight:400;
  font-size:26px;
  color:var(--ink);
  min-width:24px
}

.faq-list details[open] summary:after {
  content:'−'
}

.faq-list summary:hover {
  color:var(--ink)
}

.faq-list details p {
  color:var(--muted);
  padding:0 40px 24px 0;
  font-size:15px
}

.faq-anchor {
  min-width:44px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  font-size:13px;
  margin:0 0 16px
}

.page-main {
  padding-top:56px;
  padding-bottom:24px;
  min-height:570px
}

.narrow {
  max-width:880px
}

.legal-layout {
  display:grid;
  grid-template-columns:240px 1fr;
  gap:64px
}

.toc {
  position:sticky;
  top:24px;
  align-self:start
}

.toc p {
  font-size:12px;
  color:var(--muted);
  margin-bottom:12px
}

.toc a {
  display:block;
  min-height:44px;
  font-size:13px;
  padding:10px 0;
  text-decoration:none
}

.legal-copy {
  max-width:68ch;
  font-size:16px;
  line-height:1.8
}

.legal-copy section {
  margin-top:40px;
  scroll-margin-top:24px
}

.legal-copy h2 {
  font-family:Manrope,sans-serif;
  font-size:22px;
  margin-bottom:16px;
  font-weight:600;
  line-height:1.4
}

.legal-copy .notice {
  margin-bottom:32px
}

.imprint-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:36px 64px;
  margin-top:36px
}

.imprint-grid h2 {
  font-size:18px;
  font-weight:700;
  margin-bottom:12px
}

.imprint-grid p {
  font-size:15px
}

.notice {
  padding:14px 16px;
  background:var(--tint);
  color:var(--ink);
  border-left:3px solid var(--ink);
  border-radius:0 8px 8px 0;
  font-size:13px;
  line-height:1.6;
  margin:20px 0
}

.notice.warning {
  background:var(--surface);
  border-color:var(--warning);
  color:var(--warning)
}

.notice.error {
  background:var(--surface);
  border-color:var(--danger);
  color:var(--danger)
}

.notice.success {
  background:var(--surface);
  border-color:var(--good);
  color:var(--good)
}

.result {
  max-width:560px;
  margin:56px auto;
  text-align:center
}

.result>img {
  width:96px;
  height:96px;
  margin:0 auto 24px
}

.result h1 {
  margin-bottom:20px
}

.result .actions {
  justify-content:center;
  margin-top:28px
}

.result p {
  color:var(--muted)
}

.error-number {
  font:500 96px/1 'Bodoni Moda',serif;
  color:var(--ink);
  margin-bottom:24px
}

.auth-layout {
  display:grid;
  grid-template-columns:1fr 440px;
  gap:120px;
  align-items:start;
  padding:64px 0 40px;
  min-height:620px
}

.auth-aside {
  padding-top:8px
}

.auth-aside h1 {
  font-size:64px;
  max-width:9ch
}

.auth-aside p {
  max-width:34ch;
  margin-top:24px;
  color:var(--muted)
}

.auth-aside>img {
  width:128px;
  height:128px;
  margin-top:32px;
  margin-left:-28px
}

.form-panel {
  padding:32px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:18px
}

.form-panel h2 {
  font:500 32px/1.2 'Bodoni Moda',serif;
  letter-spacing:-.5px;
  margin-bottom:12px
}

.field {
  display:block;
  margin-bottom:8px;
  font-size:14px;
  font-weight:600
}

.input {
  width:100%;
  min-height:56px;
  border:1px solid var(--muted);
  border-radius:12px;
  padding:12px 16px;
  background:var(--surface);
  color:var(--text);
  font-size:16px
}

.input:hover:not(:disabled) {
  border-color:var(--ink)
}

.input:disabled {
  background:var(--disabled);
  color:var(--muted)
}

.input[aria-invalid=true] {
  border:2px solid var(--danger)
}

textarea.input {
  min-height:100px;
  resize:vertical
}

.help {
  font-size:12px;
  color:var(--muted);
  margin:8px 0 20px
}

.help.error {
  color:var(--danger)
}

.form-panel form {
  margin-top:24px
}

.form-panel .button {
  width:100%
}

.auth-legal {
  font-size:12px;
  color:var(--muted);
  margin-top:20px;
  display:flex;
  gap:12px;
  flex-wrap:wrap
}

.auth-legal a {
  min-height:44px;
  display:inline-flex;
  align-items:center
}

.otp {
  position:relative;
  margin:24px 0 20px
}

.otp input {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:.01;
  z-index:1;
  caret-color:#00000000
}

.digits {
  display:flex;
  gap:8px
}

.digits span {
  display:grid;
  place-items:center;
  flex:1;
  min-width:0;
  height:60px;
  border:1px solid var(--muted);
  border-radius:10px;
  font-size:28px;
  background:var(--surface)
}

.otp:focus-within {
  outline:3px solid var(--ink);
  outline-offset:3px;
  border-radius:10px
}

.otp.invalid .digits span {
  border:2px solid var(--danger)
}

.sent-to {
  overflow-wrap:anywhere;
  font-size:13px;
  color:var(--muted)
}

.account-layout,
.admin-layout {
  display:grid;
  grid-template-columns:208px minmax(0,1fr);
  gap:48px;
  padding-top:40px;
  min-height:610px
}

.side-nav {
  border-right:1px solid var(--line);
  padding-right:24px
}

.side-nav a {
  display:block;
  min-height:48px;
  padding:12px 16px;
  color:var(--muted);
  font-size:14px;
  text-decoration:none;
  border-radius:12px;
  margin-bottom:4px
}

.side-nav a:hover {
  background:var(--surface);
  color:var(--ink)
}

.side-nav a[aria-current=page] {
  background:var(--tint);
  color:var(--ink);
  font-weight:700
}

.side-nav .side-label {
  font-size:12px;
  color:var(--muted);
  padding:12px 16px;
  margin-bottom:12px
}

.account-content {
  min-width:0
}

.account-heading {
  display:flex;
  gap:24px;
  justify-content:space-between;
  align-items:start;
  margin-bottom:32px
}

.account-heading h1 {
  font-size:44px
}

.account-grid {
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:24px
}

.panel {
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:18px;
  padding:28px
}

.panel h2 {
  font-size:20px;
  letter-spacing:-.4px;
  font-weight:600;
  margin-bottom:20px
}

.panel dl {
  margin:0
}

.data-row {
  display:flex;
  gap:24px;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding:16px 0;
  align-items:baseline;
  flex-wrap:wrap
}

.data-row dt {
  color:var(--muted);
  font-size:13px
}

.data-row dd {
  margin:0;
  font-size:14px;
  overflow-wrap:anywhere;
  text-align:right
}

.status {
  font-size:12px;
  font-weight:700;
  display:inline-flex;
  gap:8px;
  align-items:center
}

.status:before {
  content:'';
  width:6px;
  height:6px;
  background:currentColor;
  border-radius:3px
}

.subscription-title {
  font:500 34px/1.2 'Bodoni Moda',serif;
  margin:16px 0
}

.account-identity {
  margin:32px 0
}

.account-identity .data-row {
  padding:16px 0
}

.account-links {
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  margin-top:16px
}

.account-links a {
  min-height:44px;
  font-size:13px;
  display:flex;
  align-items:center
}

.getapp-panel .store-badges {
  display:flex;
  flex-direction:column;
  align-items:flex-start
}

.getapp-panel .qr-block {
  margin-top:16px;
  gap:12px
}

.getapp-panel .qr-block img {
  width:80px;
  height:80px
}

.skeleton {
  height:14px;
  border-radius:6px;
  background:var(--disabled);
  margin:12px 0;
  animation:pulse 1300ms ease-in-out infinite
}

.skeleton:nth-child(2n) {
  width:64%
}

.skeleton-box {
  min-height:240px
}

.loading-label {
  font-size:13px;
  color:var(--muted)
}

.empty-state {
  padding:52px 28px;
  text-align:center;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line)
}

.empty-state h2 {
  font-size:26px;
  font-family:'Bodoni Moda',serif;
  margin-bottom:12px
}

.empty-state p {
  margin:0 auto;
  color:var(--muted);
  font-size:14px
}

.empty-state .button {
  margin-top:24px
}

.table-wrap {
  width:100%;
  overflow-x:auto;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface)
}

table {
  border-collapse:collapse;
  width:100%;
  text-align:left;
  font-size:13px;
  font-variant-numeric:tabular-nums
}

th {
  font-size:12px;
  font-weight:700;
  background:var(--bg);
  color:var(--muted);
  padding:16px;
  vertical-align:top
}

td {
  padding:16px;
  min-height:56px;
  border-top:1px solid var(--line);
  vertical-align:middle
}

td a {
  display:inline-flex;
  min-height:44px;
  align-items:center
}

td:last-child {
  white-space:nowrap
}

caption {
  text-align:left;
  font-size:13px;
  color:var(--muted);
  padding:16px
}

.settings-form {
  max-width:580px
}

.setting-row {
  display:grid;
  grid-template-columns:1fr 200px;
  gap:24px;
  align-items:center;
  padding:24px 0;
  border-top:1px solid var(--line)
}

.setting-row .input {
  font-size:14px
}

.settings-form .actions {
  margin:28px 0
}

.check-label {
  min-height:60px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:16px 0;
  margin:12px 0;
  font-size:14px
}

.check-label input {
  width:22px;
  height:22px;
  margin:0;
  flex-shrink:0;
  accent-color:var(--danger)
}

.delete-box {
  max-width:640px
}

.delete-box .actions {
  margin-top:24px
}

.delete-box p {
  color:var(--muted)
}

.cancel-links {
  display:flex;
  flex-direction:column;
  align-items:flex-start
}

.cancel-links a {
  min-height:44px;
  display:flex;
  align-items:center;
  font-size:13px
}

.spinner {
  display:inline-block;
  width:18px;
  height:18px;
  flex-shrink:0;
  border:2px solid currentColor;
  border-right-color:#00000000;
  border-radius:9px;
  animation:spin 800ms linear infinite
}

.admin-tag {
  font:500 12px/1.5 Manrope,sans-serif;
  letter-spacing:0;
  color:var(--muted);
  border-left:1px solid var(--line);
  margin-left:16px;
  padding-left:16px
}

.admin-layout {
  gap:32px
}

.admin-content {
  min-width:0
}

.admin-content h1 {
  font-family:Manrope,sans-serif;
  font-size:32px;
  letter-spacing:-1px;
  font-weight:600
}

.admin-content .page-heading {
  margin-bottom:24px
}

.admin-content h2 {
  font-size:18px;
  font-weight:600
}

.admin-content .panel {
  padding:24px
}

.period-controls {
  display:flex;
  align-items:end;
  gap:12px;
  flex-wrap:wrap;
  margin:24px 0
}

.period-controls select {
  min-width:180px
}

.period-controls .input {
  font-size:13px;
  min-height:44px
}

.metrics {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:var(--surface)
}

.metric {
  padding:24px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line)
}

.metric:nth-child(3n) {
  border-right:0
}

.metric-label {
  font-size:12px;
  color:var(--muted)
}

.metric-value {
  font-size:36px;
  line-height:1.3;
  font-weight:600;
  font-variant-numeric:tabular-nums;
  margin-top:12px
}

.metric-value small {
  font-size:13px;
  font-weight:400
}

.metric-pair {
  display:flex;
  justify-content:space-between;
  font-size:13px;
  gap:16px;
  min-height:28px;
  margin-top:8px
}

.metric-pair span {
  color:var(--muted)
}

.admin-section {
  margin-top:28px
}

.stat-stores {
  margin-top:28px
}

.charts {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:28px
}

.chart {
  padding:24px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--surface)
}

.chart-area {
  height:200px;
  margin-top:20px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  border-left:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:repeating-linear-gradient(to top,#00000000 0px,#00000000 49px,var(--line) 50px,#00000000 51px)
}

.chart-area p {
  font-size:12px;
  color:var(--muted);
  background:var(--surface);
  padding:12px;
  max-width:200px;
  text-align:center
}

.search-form {
  display:flex;
  gap:12px;
  margin:24px 0
}

.search-form .input {
  flex:1;
  min-width:0
}

.pagination {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:16px;
  padding:16px 0;
  font-size:12px;
  color:var(--muted)
}

.admin-data {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px
}

.admin-actions {
  padding:20px 0;
  display:flex;
  gap:12px;
  flex-wrap:wrap
}

.admin-actions .button {
  font-size:13px;
  min-height:44px
}

.missing-note {
  font-size:12px;
  color:var(--muted);
  margin:12px 0
}

.dialog {
  max-width:520px;
  width:calc(100% - 40px);
  max-height:calc(100% - 40px);
  padding:24px;
  border:1px solid var(--line);
  border-radius:24px;
  background:var(--surface);
  color:var(--text);
  overflow:auto
}

.dialog::backdrop {
  background:#00000055
}

.dialog h2 {
  font-family:Manrope,sans-serif;
  font-size:24px;
  font-weight:600;
  line-height:1.3
}

.dialog p {
  font-size:14px;
  margin:16px 0
}

.dialog .actions {
  margin-top:24px
}

.dialog .field {
  margin-top:16px
}

.dialog .button {
  flex:1
}

.dialog-close {
  float:right;
  margin-left:12px
}

.filter-row {
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  margin:24px 0
}

.filter-row .input {
  min-width:180px;
  font-size:13px
}

.mail-preview {
  padding:40px 20px;
  max-width:720px;
  margin:auto
}

.mail-meta {
  font-size:13px;
  margin-bottom:24px;
  display:grid;
  gap:8px
}

.mail-preview iframe {
  border:0;
  width:100%;
  height:690px;
  background:var(--bg);
  display:block
}

.controls-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:32px
}

.control-sample {
  padding:24px;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--surface)
}

.control-sample h2 {
  font-size:18px;
  margin-bottom:20px
}

.control-sample>*+* {
  margin-top:16px
}

.force-focus {
  outline:3px solid var(--ink)!important;
  outline-offset:3px!important
}

.force-hover {
  background:var(--tint)!important
}

.force-pressed {
  transform:none
}

.capture #review {
  display:none
}

.capture * {
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important
}

#review {
  background:var(--surface);
  border-bottom:1px solid var(--line);
  padding:12px 24px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  font-size:12px
}

#review label {
  display:flex;
  gap:8px;
  align-items:center
}

#review select {
  min-height:44px;
  max-width:200px;
  padding:8px;
  border:1px solid var(--muted);
  border-radius:8px;
  background:var(--bg);
  color:var(--text);
  font-size:12px
}

#review>a {
  min-height:44px;
  display:inline-flex;
  align-items:center
}

#review .review-note {
  width:100%;
  font-size:11px;
  color:var(--muted)
}

#review button {
  font-size:12px
}

.review-index {
  padding-top:48px;
  padding-bottom:48px
}

.review-index h1 {
  max-width:700px;
  font-size:64px
}

.review-entries {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 64px;
  margin:40px 0
}

.review-entry {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  border-top:1px solid var(--line);
  padding:20px 0;
  min-height:76px;
  text-decoration:none;
  color:var(--text)
}

.review-entry:hover {
  color:var(--ink)
}

.review-entry small {
  color:var(--muted)
}

.skip-link {
  position:absolute;
  left:20px;
  top:-100px;
  padding:12px;
  background:var(--surface);
  z-index:20
}

.skip-link:focus {
  top:12px
}

@keyframes spin {
  to{transform:rotate(360deg)}
}

@keyframes pulse {
  50%{opacity:.45}
}

@media(prefers-reduced-motion:reduce) {
* {
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important
}
}

@media(max-width:1100px) {
:root {
  --gutter:40px
}

.auth-layout {
  gap:56px;
  grid-template-columns:1fr 420px
}

.account-grid {
  grid-template-columns:1fr
}

.getapp-panel .store-badges {
  flex-direction:row
}

.account-layout {
  gap:32px;
  grid-template-columns:184px minmax(0,1fr)
}

.admin-layout {
  grid-template-columns:168px minmax(0,1fr);
  gap:24px
}

.side-nav {
  padding-right:16px
}

.legal-layout {
  gap:32px;
  grid-template-columns:200px minmax(0,1fr)
}
}

@media(max-width:900px) {
:root {
  --gutter:24px
}

.auth-layout {
  grid-template-columns:1fr 380px;
  gap:32px
}

.auth-aside h1 {
  font-size:48px
}

.auth-aside>img {
  width:96px
}

.account-layout,
.admin-layout {
  grid-template-columns:1fr;
  gap:24px
}

.side-nav {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  border-right:0;
  border-bottom:1px solid var(--line);
  padding:0 0 16px
}

.side-nav .side-label {
  display:none
}

.side-nav a {
  padding:12px;
  min-height:44px;
  margin:0
}

.account-grid {
  grid-template-columns:1.2fr 1fr
}

.getapp-panel .store-badges {
  flex-direction:column
}

.admin-data {
  grid-template-columns:1fr 1fr
}

.admin-layout .table-wrap table {
  min-width:620px
}

.metrics .metric {
  padding:20px
}

.legal-layout {
  grid-template-columns:1fr
}

.toc {
  position:static;
  border-bottom:1px solid var(--line);
  padding-bottom:24px
}

.toc a {
  display:inline-flex;
  margin-right:24px
}
}

@media(max-width:700px) {
:root {
  --gutter:20px
}

.qr-block.desktop-qr {
  display:none
}

.section {
  padding:48px 0
}

.faq-list summary {
  font-size:16px;
  min-height:72px;
  gap:16px
}

.faq-list details p {
  padding-right:0;
  font-size:14px
}

.page-main {
  padding-top:36px;
  min-height:450px
}

h1 {
  font-size:38px;
  line-height:1.13
}

.page-heading {
  margin-bottom:28px
}

.legal-copy h2 {
  font-size:20px
}

.legal-copy {
  line-height:1.8
}

.imprint-grid {
  grid-template-columns:1fr;
  gap:28px
}

.toc a {
  display:block
}

.result {
  margin:36px auto
}

.result h1 {
  font-size:38px
}

.result>img {
  width:80px;
  height:80px
}

.error-number {
  font-size:80px
}

.auth-layout {
  grid-template-columns:1fr;
  gap:28px;
  padding:36px 0 20px;
  min-height:540px
}

.auth-aside h1 {
  font-size:44px;
  max-width:10ch
}

.auth-aside p {
  margin-top:16px
}

.auth-aside>img {
  display:none
}

.form-panel {
  padding:24px 20px
}

.form-panel h2 {
  font-size:28px
}

.digits {
  gap:8px
}

.digits span {
  height:56px;
  font-size:26px
}

.account-layout {
  padding-top:24px;
  gap:28px
}

.side-nav {
  gap:4px
}

.side-nav a {
  font-size:12px;
  padding:10px
}

.account-heading h1 {
  font-size:38px
}

.account-heading {
  display:block;
  margin-bottom:24px
}

.account-heading .status {
  margin-top:16px
}

.account-grid,
.admin-data {
  grid-template-columns:1fr
}

.panel {
  padding:24px 20px
}

.getapp-panel .store-badges {
  flex-direction:row
}

.account-links {
  display:flex;
  flex-direction:column;
  gap:0
}

.account-identity {
  margin:24px 0
}

.data-row {
  gap:8px 20px
}

.data-row dd {
  text-align:left;
  overflow-wrap:anywhere
}

.payments-table {
  display:block;
  background:#00000000;
  border:0;
  border-radius:0;
  overflow:visible
}

.payments-table table,
.payments-table tbody {
  display:block
}

.payments-table thead {
  display:none
}

.payments-table tr {
  display:grid;
  grid-template-columns:1fr 1fr;
  border-bottom:1px solid var(--line);
  padding:20px 0;
  gap:12px 20px
}

.payments-table td {
  border:0;
  padding:0;
  display:block;
  font-size:14px;
  min-height:0
}

.payments-table td:before {
  content:attr(data-label);
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-bottom:4px
}

.payments-table td:last-child {
  white-space:normal
}

.setting-row {
  grid-template-columns:1fr;
  gap:12px
}

.setting-row .input {
  width:100%
}

.settings-form .actions {
  display:flex;
  flex-direction:column;
  align-items:stretch
}

.delete-box .actions {
  flex-direction:column;
  align-items:stretch
}

.delete-box .button {
  width:100%
}

.check-label {
  font-size:13px
}

.mail-preview {
  padding:24px 12px
}

.mail-meta {
  font-size:12px
}

.mail-preview iframe {
  height:800px
}

.controls-grid {
  grid-template-columns:1fr
}

.review-index h1 {
  font-size:44px
}

.review-entries {
  grid-template-columns:1fr
}

.review-entry {
  gap:16px
}

.review-entry small {
  max-width:100px;
  font-size:11px
}

#review {
  padding:12px;
  gap:8px
}

#review strong {
  width:100%
}

#review select {
  max-width:170px
}

.page-main p,
.notice {
  overflow-wrap:break-word
}

.admin-tag {
  margin-left:8px;
  padding-left:8px
}
}

@media(max-width:400px) {
.store-badges {
  gap:0
}

.store-badge img.apple {
  height:40px
}

.store-badge img.google {
  height:60px
}

.store-badge {
  min-height:62px
}

.store-badge.google {
  min-height:62px
}

.getapp-panel .store-badges {
  flex-direction:column
}

.digits {
  gap:6px
}

.form-panel {
  padding:24px 16px
}

.account-heading h1 {
  font-size:36px
}
}

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

.spaced {
  margin-top:24px
}

.admin-content .table-wrap {
  margin-top:16px
}

.select-label select:hover:not(:disabled),
select.input:hover:not(:disabled) {
  border-color:var(--ink)
}

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

.check-label:active {
  background:var(--tint)
}

.review-entry:focus-visible {
  outline:3px solid var(--ink);
  outline-offset:3px
}

.palette-strip {
  display:flex;
  gap:12px;
  flex-wrap:wrap
}

.palette-strip span {
  padding:20px 24px;
  min-width:160px;
  border-radius:12px;
  font-size:13px;
  line-height:1.8
}

h1,
h2,
h3 {
  overflow-wrap:break-word;
  hyphens:auto
}

.control-sample .force-pressed {
  background:var(--tint)
}

.control-sample summary[aria-disabled=true] {
  color:var(--muted);
  cursor:default
}

.control-sample .button.force-hover {
  background:#C9BDD5!important;
  color:#27252B
}

.control-sample .button.danger.force-hover {
  background:var(--danger)!important;
  color:var(--bg)
}

.control-sample .button.force-pressed {
  background:#C9BDD5;
  color:#27252B
}

.control-sample .button.secondary.force-hover,
.control-sample .button.secondary.force-pressed {
  background:var(--tint)!important;
  color:var(--ink)
}

.control-sample .button.danger.force-pressed {
  background:var(--danger);
  color:var(--bg)
}

.faq-next {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  margin-right:20px;
  font-size:14px
}

.faq-list .cancel-links {
  padding-bottom:12px
}

.account-grid {
  grid-template-columns:minmax(0,2fr) minmax(250px,1fr);
  gap:36px
}

.account-grid>.panel {
  padding:32px
}

.account-grid>.getapp-panel {
  border:0;
  border-radius:0;
  background:var(--bg);
  padding:16px 0 0 24px;
  border-left:1px solid var(--line)
}

.getapp-panel h2 {
  font-size:20px;
  line-height:1.3;
  font-weight:600;
  margin-bottom:12px
}

.getapp-panel .store-badges {
  margin-top:20px;
  gap:4px
}

.getapp-panel .qr-block {
  margin-top:20px;
  display:flex;
  align-items:flex-start;
  gap:12px
}

.getapp-panel .qr-block a {
  min-width:44px
}

.getapp-panel .qr-block img {
  width:72px;
  height:72px
}

.access-label {
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
  margin-top:28px
}

.access-date {
  font-family:Manrope,sans-serif;
  font-size:36px;
  line-height:1.25;
  letter-spacing:-1px;
  font-weight:600;
  display:block;
  margin:8px 0 32px;
  font-variant-numeric:tabular-nums;
  overflow-wrap:break-word
}

.access-headline {
  font:600 28px/1.3 Manrope,sans-serif;
  letter-spacing:-.5px;
  margin:24px 0 16px
}

.subscription-details {
  margin-bottom:24px!important
}

.account-grid .data-row {
  padding:14px 0
}

.account-grid .panel h2 {
  margin-bottom:16px
}

.account-identity {
  margin:28px 0 12px
}

.legal-layout {
  grid-template-columns:240px minmax(0,1fr);
  gap:0 64px;
  align-items:start
}

.legal-heading {
  grid-column:2;
  margin-bottom:36px
}

.legal-page .toc {
  grid-column:1;
  grid-row:2;
  top:24px;
  padding-right:8px
}

.legal-copy {
  grid-column:2;
  grid-row:2;
  min-width:0
}

.legal-copy>.notice {
  margin-top:0
}

.toc-desktop-label {
  font-size:12px;
  color:var(--muted)
}

.toc a {
  padding:10px 12px;
  border-left:2px solid #00000000;
  color:var(--muted)
}

.toc a:hover {
  color:var(--ink);
  background:var(--tint)
}

.toc a[aria-current=location] {
  border-left-color:var(--ink);
  background:var(--tint);
  color:var(--ink);
  font-weight:700
}

.toc-toggle {
  display:none
}

.legal-copy h2:focus-visible {
  outline:3px solid var(--ink);
  outline-offset:4px;
  border-radius:4px
}

@media(max-width:1100px) {
.account-grid {
  grid-template-columns:minmax(0,1.7fr) minmax(216px,1fr);
  gap:24px
}

.account-grid>.panel {
  padding:24px
}

.account-grid>.getapp-panel {
  padding-left:20px
}

.access-date {
  font-size:30px
}

.legal-layout {
  grid-template-columns:200px minmax(0,1fr);
  gap:0 32px
}
}

@media(max-width:900px) {
.legal-layout {
  display:flex;
  flex-direction:column;
  gap:24px
}

.legal-heading {
  margin:0
}

.legal-page .toc {
  width:100%;
  position:static;
  border:1px solid var(--line);
  padding:0;
  border-radius:12px;
  background:var(--surface)
}

.toc-toggle {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  width:100%;
  min-height:52px;
  padding:12px 16px;
  background:var(--surface);
  color:var(--text);
  border:0;
  border-radius:12px;
  text-align:left;
  font-size:14px;
  font-weight:600
}

.toc-toggle span {
  font-size:22px;
  font-weight:400;
  color:var(--ink)
}

.toc-desktop-label {
  display:none
}

.toc #toc-links {
  padding:4px 12px 12px
}

.toc a {
  display:block;
  margin:0;
  font-size:13px
}

.legal-copy {
  width:100%
}

.account-grid {
  grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr)
}

.getapp-panel .store-badges {
  flex-direction:column
}

.getapp-panel .qr-block {
  flex-direction:column
}
}

@media(max-width:700px) {
.account-grid {
  grid-template-columns:1fr;
  gap:28px
}

.account-grid>.panel {
  padding:24px 20px
}

.account-grid>.getapp-panel {
  padding:24px 0 0;
  border:0;
  border-top:1px solid var(--line)
}

.getapp-panel .store-badges {
  flex-direction:row;
  margin-top:12px
}

.getapp-panel .qr-block {
  display:none
}

.access-date {
  font-size:32px;
  margin-bottom:24px
}

.access-label {
  margin-top:24px
}

.legal-page .toc {
  margin-bottom:4px
}

.legal-page {
  padding-top:32px
}

.legal-copy section {
  margin-top:32px
}

.legal-copy>.notice {
  margin-bottom:28px
}

.account-identity {
  margin-top:24px
}
}

@media(max-width:400px) {
.access-date {
  font-size:30px
}

.account-grid>.panel {
  padding:24px 16px
}

.getapp-panel .store-badges {
  flex-direction:row
}
}

.faq-next {
  min-width:44px
}

@media(prefers-reduced-motion:no-preference) {
.faq-list details[open]>p {
  animation:answer-in 160ms ease-out
}

.faq-list summary,
.button,
.toc a {
  transition:background-color 160ms ease,color 160ms ease,border-color 160ms ease
}
}

@keyframes answer-in {
  from{opacity:.6}to{opacity:1}
}

/* Shared control vocabulary */
:root { --control-radius:12px; --control-height:44px; --section-gap:72px; }
body { text-rendering:optimizeLegibility; }
a { text-decoration-thickness:1px; text-underline-offset:3px; }
a:hover { text-decoration-thickness:1px; }
.text-button { padding:10px 0; text-underline-offset:4px; }
.text-button:hover { background:transparent; color:var(--text); }
.button { padding:14px 24px; font-weight:650; line-height:1.4; }
.button.secondary { border-color:var(--muted); }
.icon { width:20px; height:20px; stroke-width:1.7; flex-shrink:0; }
.icon-button { border-radius:12px; }
.input { padding:14px 16px; line-height:1.5; }
select.input { appearance:none; padding-right:44px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236B6472' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 16px center; }
[data-theme=dark] select.input { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23B8AFBF' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); }
.field,.select-label { font-size:14px; line-height:1.5; font-weight:600; }
.help { font-size:13px; line-height:1.6; margin-top:8px; }
.notice { font-size:14px; line-height:1.6; padding:16px 20px; border-radius:12px; }
.status { font-size:13px; font-weight:600; }

/* One header across public, account and staff surfaces */
.site-header { position:relative; z-index:10; border-bottom:1px solid var(--line); }
.header-inner { min-height:88px; display:flex; gap:32px; align-items:center; }
.brand { display:inline-flex; align-items:center; gap:6px; min-height:44px; flex-shrink:0; color:var(--text); text-decoration:none; font:600 30px/1 'Bodoni Moda',serif; letter-spacing:-1px; }
.brand img { width:36px; height:36px; }
.brand:hover { text-decoration:none; }
.header-nav { display:flex; gap:24px; align-items:center; margin-left:auto; }
.header-nav a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; min-width:44px; font-size:14px; font-weight:500; color:var(--muted); text-decoration:none; white-space:nowrap; }
.header-nav a:hover { color:var(--text); text-decoration:underline; text-underline-offset:7px; }
.head-controls { display:flex; align-items:center; gap:8px; margin-left:auto; flex-shrink:0; }
.chrome-control,.chrome-link { min-height:44px; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 12px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--text); font:600 13px/1.4 Manrope,sans-serif; text-decoration:none; cursor:pointer; white-space:nowrap; }
.chrome-link { padding:10px 20px; margin-right:8px; border-color:var(--muted); font-size:14px; }
.chrome-control:hover,.chrome-link:hover { background:var(--tint); border-color:var(--muted); text-decoration:none; }
.chrome-control:active,.chrome-link:active { border-color:var(--ink); }
.chrome-control .icon:last-child:not(:first-child) { width:14px; height:14px; }
.preference { position:relative; }
.preference>summary { list-style:none; }
.preference>summary::-webkit-details-marker { display:none; }
.preference[open]>summary { background:var(--tint); border-color:var(--ink); }
.preference[open]>summary .icon:last-child { transform:rotate(180deg); }
.preference-panel { position:absolute; top:calc(100% + 12px); right:0; width:232px; max-height:calc(100vh - 112px); max-height:calc(100dvh - 112px); overflow-y:auto; overscroll-behavior:contain; padding:8px; background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:0 12px 32px #00000018; z-index:30; }
.panel-label { padding:8px 12px 10px; font-size:12px; line-height:1.5; color:var(--muted); font-weight:600; }
.preference-options { display:grid; gap:4px; }
.preference-option { min-height:48px; width:100%; padding:12px; display:flex; align-items:center; gap:12px; border:0; border-radius:8px; background:transparent; color:var(--text); font:500 14px/1.5 Manrope,sans-serif; text-decoration:none; text-align:left; cursor:pointer; }
.preference-option:hover { background:var(--tint); text-decoration:none; }
.preference-option[aria-current=true],.preference-option[aria-pressed=true] { background:var(--tint); color:var(--ink); font-weight:650; }
.preference-option small { display:block; color:var(--muted); font-size:12px; line-height:1.4; font-weight:400; }
.preference-option>.icon:last-child,.option-check { margin-left:auto; }
.option-check { visibility:hidden; display:flex; }
[aria-pressed=true]>.option-check { visibility:visible; }
.header-account { display:inline-flex; min-height:44px; align-items:center; margin-left:auto; font-size:14px; color:var(--text); text-decoration:none; font-weight:600; }
.account-header .head-controls { margin-left:0; }
.menu-toggle { display:none; min-width:44px; padding:10px; }
.mobile-menu { border-top:1px solid var(--line); background:var(--surface); padding:16px 0 20px; }
.mobile-menu .wrap { display:grid; gap:4px; }
.mobile-menu a { display:flex; align-items:center; min-height:48px; padding:10px 12px; border-radius:8px; font-size:16px; text-decoration:none; color:var(--text); }
.mobile-menu a:hover { background:var(--tint); }

/* Public composition: a single product silhouette, quieter secondary information */
.hero { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); align-items:center; gap:80px; padding:64px 0 88px; }
.hero h1 { font:500 76px/1.02 'Bodoni Moda',serif; letter-spacing:-2px; max-width:10ch; text-wrap:balance; }
.hero .intro { font-size:18px; line-height:1.7; max-width:35ch; margin:24px 0 0; }
.hero-visual { justify-self:end; width:100%; max-width:440px; margin:0; padding:32px 24px 24px; display:flex; flex-direction:column; align-items:center; gap:20px; border-radius:160px 160px 28px 28px; background:var(--tint); }
.phone-shot { width:280px; border:1px solid var(--line); border-radius:26px; display:block; }
.hero-visual figcaption { font-size:12px; line-height:1.5; color:var(--muted); }
.download-cluster { margin-top:24px; max-width:420px; }
.download-cluster .store-badges { margin-top:0; }
.hero-terms { font-size:13px; line-height:1.6; color:var(--muted); max-width:42ch; margin:12px 0 0; }
.download-cluster .qr-block { border-top:1px solid var(--line); padding-top:16px; margin-top:20px; max-width:340px; gap:16px; }
.download-cluster .qr-block img { width:64px; height:64px; }
.hero-explore { display:inline-flex; align-items:center; min-height:44px; min-width:44px; margin-top:12px; font-size:14px; }
.section { padding:80px 0; }
.section-head { display:grid; grid-template-columns:1fr 1fr; gap:64px; margin-bottom:32px; }
.section-head h2,.data-section h2 { font:500 42px/1.12 'Bodoni Moda',serif; letter-spacing:-1px; max-width:15ch; text-wrap:balance; }
.section#how,.section#locations,.home-faq { display:grid; grid-template-columns:minmax(0,320px) minmax(0,1fr); gap:72px; }
.section#how .section-head,.section#locations .section-head,.home-faq .section-head { display:block; margin:0; }
.section#locations .section-head p { margin-top:20px; font-size:15px; }
.steps { list-style:none; padding:0; margin:0; }
.steps li { display:grid; grid-template-columns:40px minmax(0,1fr); gap:6px 24px; padding:28px 0; border-top:1px solid var(--line); }
.steps li:first-child { padding-top:0; border-top:0; }
.steps li:last-child { padding-bottom:0; }
.step-number { grid-row:1 / 3; font:500 30px/1.1 'Bodoni Moda',serif; color:var(--ink); }
.steps h3 { font-size:18px; font-weight:600; }
.steps p { grid-column:2; font-size:15px; line-height:1.7; color:var(--muted); max-width:52ch; }
.countries { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:32px; align-content:start; }
.country { display:grid; grid-template-columns:28px minmax(0,1fr); align-items:center; gap:12px; min-height:76px; padding:20px 0; border-bottom:1px solid var(--line); font-size:16px; }
.country:nth-child(-n+2) { padding-top:0; }
.flag { font-family:Flags,sans-serif; font-size:22px; line-height:1; }
.data-section { display:grid; grid-template-columns:minmax(0,320px) minmax(0,1fr); gap:72px; }
.data-section>div>p:first-child { font-size:19px; line-height:1.65; max-width:51ch; }
.data-section .small { font-size:13px; }
.data-section .text-button { margin-top:12px; }
.pricing-section { display:grid; grid-template-columns:minmax(0,320px) minmax(0,1fr); column-gap:72px; }
.pricing-section .section-head { display:block; margin:0; grid-row:1 / 4; }
.pricing-section .section-head p { margin-top:20px; font-size:15px; }
.price-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px 24px; padding:24px; border:1px solid var(--line); border-radius:16px; margin-bottom:12px; background:var(--surface); }
.price-row:last-child { margin-bottom:0; }
.price-row.best { border-color:var(--ink); background:var(--tint); }
.plan-title { font-size:18px; line-height:1.5; font-weight:650; }
.price { text-align:right; }
.price strong { font-size:28px; font-weight:650; line-height:1.25; letter-spacing:-.6px; font-variant-numeric:tabular-nums; }
.price small { display:block; color:var(--muted); margin-top:4px; font-size:12px; }
.price-row .store-links { grid-column:1 / -1; display:flex; gap:24px; flex-wrap:wrap; padding-top:4px; }
.store-links a { font-size:13px; min-height:44px; min-width:44px; display:inline-flex; align-items:center; }
.price-note { grid-column:2; font-size:12px; line-height:1.7; color:var(--muted); margin:16px 0 0; max-width:64ch; }
.price-note+.price-note { margin-top:8px; }
.home-faq .faq-list { max-width:none; }
.faq-list summary { font-size:17px; line-height:1.5; min-height:76px; font-weight:600; }
.faq-list details p { font-size:15px; line-height:1.75; }
.faq-content>.text-button { margin-top:20px; }
.closing { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:80px; align-items:center; padding:64px 0 24px; }
.closing h2 { font:500 48px/1.1 'Bodoni Moda',serif; letter-spacing:-1px; max-width:15ch; text-wrap:balance; }
.closing-action>p { font-size:16px; color:var(--muted); max-width:40ch; }
.closing-links { display:flex; flex-direction:column; align-items:flex-start; gap:12px; margin-top:24px; }
.closing-action .returning-user { display:flex; align-items:center; flex-wrap:wrap; gap:0 6px; margin:0; color:var(--muted); font-size:13px; line-height:1.6; }
.returning-user .quiet-link { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; color:var(--ink); background:transparent; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; border-radius:4px; }
.returning-user .quiet-link:hover { color:var(--text); background:transparent; }

/* Footer is navigation, with clear groups and equal touch targets. */
.footer { margin-top:72px; border-top:1px solid var(--line); padding:48px 0 40px; }
.footer-inner { display:grid; grid-template-columns:minmax(200px,1fr) minmax(0,2fr); gap:80px; }
.footer-brand .brand { font-size:28px; }
.footer-brand p { font-size:12px; line-height:1.6; color:var(--muted); margin-top:12px; }
.footer-brand .footer-caption { max-width:24ch; margin-top:8px; }
.footer-links { display:flex; gap:16px 24px; flex-wrap:wrap; }
.footer-public .footer-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.footer-group { display:flex; flex-direction:column; align-items:flex-start; }
.footer-group h2 { font-family:Manrope,sans-serif; font-size:13px; font-weight:650; line-height:1.6; letter-spacing:0; margin:8px 0 16px; }
.footer a:not(.brand) { display:inline-flex; align-items:center; min-width:44px; min-height:44px; color:var(--muted); font-size:13px; text-decoration:none; }
.footer a:not(.brand):hover { color:var(--text); text-decoration:underline; }
.footer-compact { padding:32px 0; margin-top:48px; }
.footer-compact .footer-inner { display:flex; align-items:center; justify-content:space-between; gap:32px; }
.footer-compact .footer-links { justify-content:flex-end; gap:0 24px; }

/* Account, forms, data and long reading share the same rhythm. */
.auth-layout { max-width:1040px; grid-template-columns:minmax(0,1fr) 432px; gap:96px; padding:80px 0; min-height:600px; align-items:center; }
.auth-aside h1 { font-size:58px; line-height:1.06; max-width:11ch; }
.auth-aside p { font-size:16px; max-width:30ch; line-height:1.7; margin-top:24px; }
.auth-aside>img { width:80px; height:80px; margin-top:40px; }
.form-panel { padding:32px; border-radius:18px; }
.form-panel h2 { font-family:Manrope,sans-serif; font-size:26px; font-weight:600; letter-spacing:-.5px; margin-bottom:28px; }
.form-panel form { margin-top:0; }
.auth-legal { margin-top:24px; gap:16px; }
.auth-legal a { font-size:12px; }
.account-layout,.admin-layout { padding-top:48px; }
.side-label { font-size:12px; letter-spacing:0; margin-bottom:20px; }
.side-nav a { font-size:14px; padding:12px 16px; border-radius:10px; }
.side-nav a[aria-current=page] { font-weight:650; }
.account-content h1 { font-family:Manrope,sans-serif; font-size:36px; font-weight:600; letter-spacing:-1px; }
.account-heading .intro { margin-top:12px; font-size:15px; }
.account-grid { gap:32px; }
.account-grid>.panel { padding:32px; }
.account-grid>.panel h2 { font-size:20px; font-weight:650; }
.access-date { font-size:36px; font-weight:600; letter-spacing:-1px; }
.getapp-panel { border-left:1px solid var(--line); padding-left:24px; }
.getapp-panel h2 { font-size:20px; font-weight:600; }
.account-links { gap:24px; }
.account-identity .data-row { padding:16px 0; }
.settings-form { max-width:720px; padding:8px 0; }
.setting-row { padding:24px 0; }
.admin-content h1 { font-size:32px; letter-spacing:-.8px; font-weight:650; }
.admin-content h2 { font-size:18px; font-weight:650; }
.admin-content .panel { padding:24px; }
.admin-content .metric { padding:24px; }
.admin-content table { font-size:13px; }
.admin-content .table-wrap { border-radius:14px; }
.admin-content thead { background:var(--tint); }
.dialog { padding:32px; }
.dialog h2 { font-size:24px; font-weight:600; padding-right:32px; }
.dialog .actions { margin-top:28px; }
.legal-copy { max-width:68ch; font-size:16px; line-height:1.8; }
.legal-copy h2 { font-size:22px; font-weight:600; letter-spacing:-.4px; }
.legal-copy section { margin-top:40px; }
.toc a { border-radius:0 8px 8px 0; font-size:13px; }
.result { max-width:620px; padding:24px 0; }

@media(max-width:1100px) {
  :root { --section-gap:40px; }
  .header-nav { display:none; }
  .header-inner { gap:24px; }
  .menu-toggle { display:inline-flex; }
  .hero { gap:48px; padding:48px 0 64px; }
  .hero h1 { font-size:64px; }
  .hero-visual { max-width:360px; padding:28px 20px 20px; border-radius:130px 130px 24px 24px; }
  .phone-shot { width:252px; }
  .section#how,.section#locations,.data-section,.pricing-section,.home-faq { grid-template-columns:minmax(0,260px) minmax(0,1fr); gap:40px; }
  .section-head h2,.data-section h2 { font-size:38px; }
  .footer-inner { gap:40px; grid-template-columns:200px minmax(0,1fr); }
  .footer-public .footer-links { gap:16px; }
  .auth-layout { gap:48px; grid-template-columns:minmax(0,1fr) 400px; }
  .auth-aside h1 { font-size:50px; }
  .account-grid>.panel { padding:24px; }
  .access-date { font-size:30px; }
}
@media(max-width:900px) {
  .hero { gap:32px; }
  .hero h1 { font-size:56px; }
  .hero .intro { font-size:16px; }
  .hero-visual { padding:24px 16px 20px; }
  .phone-shot { width:224px; }
  .section#how,.section#locations,.data-section,.pricing-section,.home-faq { grid-template-columns:minmax(0,220px) minmax(0,1fr); gap:32px; }
  .section-head h2,.data-section h2 { font-size:34px; }
  .data-section>div>p:first-child { font-size:17px; }
  .country { font-size:14px; gap:8px; }
  .countries { column-gap:20px; }
  .price-row { padding:20px; }
  .price strong { font-size:26px; }
  .footer-inner { grid-template-columns:1fr; gap:28px; }
  .footer-brand .footer-caption { max-width:none; }
  .footer-public .footer-links { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
  .footer-compact .footer-inner { align-items:flex-start; flex-direction:column; gap:16px; }
  .footer-compact .footer-links { justify-content:flex-start; }
  .auth-layout { grid-template-columns:minmax(0,1fr) 360px; gap:32px; padding:56px 0; }
  .auth-aside h1 { font-size:46px; }
  .form-panel { padding:28px; }
  .side-nav a { padding:12px 16px; font-size:13px; }
}
@media(max-width:700px) {
  .header-inner { min-height:76px; gap:12px; }
  .brand { font-size:26px; gap:4px; }
  .brand img { width:30px; height:30px; }
  .head-controls { gap:6px; }
  .head-controls .header-signin,.head-controls .header-signout,.header-account { display:none; }
  .account-header .head-controls { margin-left:auto; }
  .chrome-control { padding:10px; gap:6px; }
  .language-trigger>.icon:first-child,.preference-label,.theme-trigger>.icon:last-child { display:none; }
  .language-trigger { min-width:62px; }
  .theme-trigger { width:44px; }
  .theme-trigger>.icon:first-child { display:block; }
  .language-preference .preference-panel { right:-50px; }
  .preference-panel { width:224px; }
  .hero { grid-template-columns:1fr; gap:36px; padding:40px 0 56px; }
  .hero h1 { font-size:52px; letter-spacing:-1.5px; line-height:1.04; max-width:11ch; }
  .hero .intro { margin-top:20px; max-width:36ch; line-height:1.65; }
  .download-cluster { margin-top:20px; }
  .hero-terms { font-size:13px; margin-top:12px; }
  .download-cluster .qr-block,.qr-block.desktop-qr { display:none; }
  .hero-explore { margin-top:8px; }
  .hero-visual { justify-self:center; max-width:360px; padding:28px 20px 20px; border-radius:140px 140px 24px 24px; }
  .phone-shot { width:238px; border-radius:24px; }
  .section { padding:48px 0; }
  .section#how,.section#locations,.data-section,.pricing-section,.home-faq { grid-template-columns:1fr; gap:28px; }
  .section-head { grid-template-columns:1fr; gap:16px; margin-bottom:24px; }
  .section-head h2,.data-section h2 { font-size:36px; max-width:17ch; }
  .steps li { gap:6px 16px; padding:24px 0; grid-template-columns:32px minmax(0,1fr); }
  .steps h3 { font-size:17px; }
  .steps p { font-size:14px; }
  .step-number { font-size:28px; }
  .countries { gap:0 20px; }
  .country { min-height:72px; padding:16px 0; font-size:14px; }
  .country:nth-child(-n+2) { padding-top:16px; }
  .flag { font-size:20px; }
  .pricing-section .section-head { grid-row:auto; }
  .pricing-section .section-head p,.section#locations .section-head p { margin-top:16px; }
  .price-row { padding:20px; gap:12px; }
  .plan-title { font-size:18px; }
  .price strong { font-size:28px; }
  .price-row .store-links { gap:8px 20px; padding-top:0; }
  .price-note { grid-column:auto; margin-top:-12px; }
  .price-note+.price-note { margin-top:-16px; }
  .faq-list summary { font-size:16px; min-height:72px; padding:20px 0; }
  .faq-list details p { font-size:14px; }
  .closing { grid-template-columns:1fr; gap:24px; padding:48px 0 0; }
  .closing h2 { font-size:40px; max-width:16ch; }
  .closing-links { align-items:stretch; }
  .closing-action .returning-user { justify-content:center; }
  .footer { padding:32px 0; margin-top:48px; }
  .footer-public .footer-links { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
  .footer-group:last-child { grid-column:1 / -1; display:grid; grid-template-columns:1fr 1fr; column-gap:20px; }
  .footer-group:last-child h2 { grid-column:1 / -1; margin-bottom:4px; }
  .footer-group h2 { margin:0 0 8px; }
  .footer a:not(.brand) { font-size:13px; }
  .footer-compact .footer-links { gap:0 20px; }
  .auth-layout { grid-template-columns:1fr; gap:32px; padding:40px 0 24px; min-height:0; }
  .auth-aside h1 { font-size:42px; max-width:13ch; }
  .auth-aside p { margin-top:16px; max-width:36ch; }
  .auth-aside>img { display:none; }
  .form-panel { padding:24px; }
  .form-panel h2 { font-size:24px; margin-bottom:24px; }
  .account-layout,.admin-layout { padding-top:28px; }
  .side-nav { gap:4px; }
  .side-nav a { padding:10px 12px; }
  .account-content h1 { font-size:32px; }
  .account-grid>.panel { padding:24px; }
  .account-grid>.getapp-panel { border-left:0; border-top:1px solid var(--line); padding:24px 0 0; }
  .access-date { font-size:32px; }
  .account-links { gap:4px; }
  .dialog { padding:24px; }
  .legal-copy h2 { font-size:20px; }
}
@media(max-width:400px) {
  .hero h1 { font-size:48px; }
  .hero-visual { padding:24px 16px 20px; }
  .form-panel,.account-grid>.panel { padding:24px 20px; }
  .access-date { font-size:30px; }
}
@media(max-width:359px) {
  :root { --gutter:16px; }
  .header-inner { gap:8px; }
  .brand { font-size:24px; }
  .brand img { width:28px; height:28px; }
  .footer a:not(.brand) { overflow-wrap:anywhere; hyphens:auto; }
}
.public-preview:not(.enhanced) .menu-toggle,.public-preview:not(.enhanced) .theme-preference { display:none; }
.public-preview:not(.enhanced) .toc-toggle { display:none; }
.public-preview:not(.enhanced) .toc-desktop-label { display:block; padding:12px; }
.public-preview:not(.enhanced) .toc #toc-links { display:block; }
.public-preview:not(.enhanced) .mobile-menu { display:none; }
@media(max-width:1100px) { .public-preview:not(.enhanced) .mobile-menu { display:block; } }
@media(prefers-reduced-motion:no-preference) { .chrome-control,.chrome-link,.preference-option { transition:background-color 140ms ease,border-color 140ms ease,color 140ms ease; } }
.public-preview:not(.enhanced) .language-preference .preference-panel { right:0; }
