/* ==========================================================================
   TukangMan - app.css
   One accent (hard-hat amber, from the logo) on a navy ink. Radius system:
   cards 16, controls 12, chips pill, dialog 20. Light and dark by system.
   ========================================================================== */
:root {
  color-scheme: light dark;
  --bg: #eceff4;
  --surface: #ffffff;
  --surface-2: #f4f6fa;
  --ink: #0f1a33;
  --text: #1d2740;
  --muted: #566077;
  --line: #e2e6ee;
  --line-strong: #c9d0dd;
  --accent: #f2a516;
  --accent-hover: #ffb629;
  --accent-strong: #c98400;
  --accent-ink: #14203f;
  --accent-tint: #fff3d6;
  --accent-text: #7a4a00;
  --danger: #b4232f;
  --danger-tint: #fde8ea;
  --header-bg: #0f1a33;
  --header-text: #ffffff;
  --shadow: 15 26 51;
  --r-card: 16px;
  --r-ctl: 12px;
  --h-bar: 56px;
  --safe-top: env(safe-area-inset-top, 0px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080d1c;
    --surface: #121a30;
    --surface-2: #1a2440;
    --ink: #f1f4fb;
    --text: #e3e8f4;
    --muted: #9aa6c0;
    --line: #26314d;
    --line-strong: #3a4870;
    --accent-tint: rgba(242, 165, 22, 0.14);
    --accent-text: #ffd27a;
    --accent-strong: #f2a516;
    --danger: #ff8a95;
    --danger-tint: rgba(255, 107, 122, 0.12);
    --header-bg: #0b1329;
    --shadow: 0 0 0;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button, input, select, textarea, .service-chip, .list-item { touch-action: manipulation; }
body { overscroll-behavior-y: none; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

/* ----- Shell ------------------------------------------------------------ */
.container { max-width: 560px; margin: 0 auto; background: var(--surface); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding-top: calc(var(--h-bar) + var(--safe-top)); }
.container > main { flex: 1 0 auto; }

/* Native-style app bar: the only fixed element. The page body scrolls freely
   under it, and .container reserves its full height so nothing is hidden. */
.app-header { position: fixed; z-index: 100; top: 0; left: 0; right: 0; max-width: 560px; margin: 0 auto; height: calc(var(--h-bar) + var(--safe-top)); padding: var(--safe-top) 64px 0; display: flex; align-items: center; justify-content: center; background: var(--header-bg); color: var(--header-text); box-shadow: 0 1px 0 rgb(255 255 255 / .06), 0 6px 18px -10px rgb(0 0 0 / .45); view-transition-name: app-bar; }
.title-link { color: var(--header-text); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; transition: transform .25s var(--ease); }
.title-link:hover { transform: scale(1.03); }
.title-link:active { transform: scale(0.97); }
.screen-title { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; color: var(--header-text); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-logo { width: 32px; height: 32px; object-fit: contain; display: block; }
.back-button, .join-contractor-btn {
  position: absolute; top: calc(var(--safe-top) + 6px);
  width: 44px; height: 44px; border-radius: 12px; border: none;
  display: flex; align-items: center; justify-content: center;
  background: rgb(255 255 255 / .08); color: var(--header-text); font-size: 1.05rem; text-decoration: none;
  transition: background-color .2s ease, transform .25s var(--ease);
}
.back-button { left: 10px; }
.join-contractor-btn { right: 10px; color: var(--accent); }
.back-button:hover, .join-contractor-btn:hover { background: rgb(255 255 255 / .16); }
.back-button:active, .join-contractor-btn:active { transform: scale(.92); }

.progress-container { background: var(--surface); padding: 18px 12px 14px; border-bottom: 1px solid var(--line); }
.progress-bar { list-style: none; display: flex; justify-content: space-between; position: relative; }
.progress-bar::before { content: ''; position: absolute; top: 21px; left: 16%; right: 16%; height: 2px; background: var(--line); }
.progress-step { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; }
.progress-link { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; }
a.progress-link:hover .step-circle { transform: scale(1.06); }
.step-circle { width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); margin-bottom: 8px; transition: transform .25s var(--ease), background-color .25s ease, color .25s ease, border-color .25s ease; }
.step-text { font-size: 12.5px; line-height: 1.3; color: var(--muted); text-align: center; font-weight: 500; padding: 0 4px; max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.progress-step.active .step-circle { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 5px var(--accent-tint); }
.progress-step.active .step-text { color: var(--ink); font-weight: 600; }
.progress-step.completed .step-circle { background: var(--ink); border-color: var(--ink); color: var(--surface); font-size: .85rem; }
.progress-step.completed .step-text { color: var(--text); font-weight: 600; }

.content { padding: 20px 16px 28px; animation: fadeIn .5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
body.step-2 .content, body.step-3 .content { animation: slideIn .35s var(--ease); }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .18s ease both vt-out; }
::view-transition-new(root) { animation: .32s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateX(18px); } }

/* ----- Hero and bands (home) -------------------------------------------- */
.hero { padding: 8px 4px 22px; }
.hero h1 { font-size: clamp(1.75rem, 7vw, 2.15rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 700; color: var(--ink); max-width: 16ch; }
.hero p { margin-top: 12px; color: var(--muted); font-size: 1.02rem; max-width: 38ch; }
.band { margin-top: 36px; }
.band h2 { font-size: 1.3rem; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 14px; }
.band h3 { font-size: 1rem; color: var(--ink); letter-spacing: -0.01em; }
.how-list { list-style: none; display: grid; gap: 0; }
.how-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 14px 0; position: relative; }
.how-list li + li { border-top: 1px solid var(--line); }
.how-n { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-text); font-weight: 700; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.how-list p { color: var(--muted); font-size: .95rem; margin-top: 2px; }
.callout { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; position: relative; overflow: hidden; }
.callout::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent); }
.tick-list { list-style: none; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: baseline; }
.tick-list i { color: var(--accent-strong); font-size: .8rem; flex: none; }
.areas { display: grid; gap: 14px; }
.areas div { padding: 14px 16px; border-radius: var(--r-ctl); border: 1px solid var(--line); }
.areas p { color: var(--muted); font-size: .93rem; margin-top: 2px; }
.contractor-cta { background: var(--header-bg); color: #e9edf7; border-radius: var(--r-card); padding: 24px 20px; }
.contractor-cta h2 { color: #fff; margin-bottom: 8px; }
.contractor-cta p { color: #b9c3dc; margin-bottom: 16px; max-width: 40ch; }
.contractor-cta .btn-ghost { color: #fff; border-color: rgb(255 255 255 / .35); }
.contractor-cta .btn-ghost:hover { background: rgb(255 255 255 / .1); }
.faq { display: grid; gap: 0; }
.faq-item { padding: 16px 0; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq dt { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.faq dd { color: var(--muted); font-size: .96rem; max-width: 60ch; }

/* ----- Cards ------------------------------------------------------------ */
.card { background: var(--surface); border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 1px 2px rgb(var(--shadow) / .04), 0 8px 24px -12px rgb(var(--shadow) / .12); margin-bottom: 20px; }
.card-header { padding: 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.card-header h2 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.card-sub { font-size: .85rem; color: var(--muted); }
.card-header-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; color: var(--accent-strong); font-size: .95rem; flex: none; }
.card-body { padding: 16px; }
.notice { display: flex; gap: 10px; align-items: flex-start; background: var(--accent-tint); color: var(--accent-text); padding: 12px 14px; border-radius: var(--r-ctl); margin-bottom: 16px; font-size: .93rem; }
.notice i { margin-top: 3px; }
.context-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding: 0 4px 14px; color: var(--text); }
.context-line.two { display: grid; gap: 8px; }
.context-label { font-size: .78rem; color: var(--muted); margin-right: 8px; font-weight: 500; }
.text-link { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* ----- Search + chips --------------------------------------------------- */
.search-container { margin-bottom: 16px; }
.search-wrap { position: relative; }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; pointer-events: none; }
.search-input.has-icon { padding-left: 42px; padding-right: 46px; }
.search-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: none; border-radius: 10px; background: transparent; color: var(--muted); }
.search-clear:hover { background: var(--surface-2); color: var(--ink); }
input[type="search"]::-webkit-search-cancel-button { display: none; }
.search-input, select, input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl);
  font-size: 1rem; background: var(--surface); color: var(--ink); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
textarea { resize: vertical; line-height: 1.5; min-height: 96px; }
select:disabled { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }
::placeholder { color: var(--muted); opacity: 1; }
.search-input:focus, select:focus, input:focus, textarea:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--accent-tint), 0 0 0 4px var(--accent); }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238a94a9' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.service-chips, .category-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.service-chip, .category-chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 100px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-size: .93rem; font-weight: 500; text-decoration: none; user-select: none;
  transition: background-color .2s, transform .25s var(--ease), border-color .2s, color .2s;
}
.service-chip:hover, .category-chip:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.service-chip:active, .category-chip:active { transform: scale(.97); }
.service-chip.selected, .category-chip.selected { background: var(--accent-tint); border-color: var(--accent-strong); color: var(--accent-text); font-weight: 600; animation: pop .3s var(--ease); }
@keyframes pop { 50% { transform: scale(1.04); } }
.empty-state { text-align: center; padding: 32px 16px; color: var(--muted); }
.empty-state i { font-size: 34px; color: var(--line-strong); margin-bottom: 12px; display: block; }
.empty-state .hint { font-size: .9rem; margin-top: 6px; }

/* ----- Contractors ------------------------------------------------------ */
.location-filters { display: flex; margin-bottom: 14px; padding: 4px; gap: 4px; background: var(--surface-2); border-radius: var(--r-ctl); }
.location-filter { flex: 1; min-height: 44px; border: none; background: transparent; border-radius: 9px; color: var(--muted); font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background-color .2s, color .2s; }
.location-filter:hover { color: var(--ink); }
.location-filter.active { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgb(var(--shadow) / .14), inset 0 0 0 1px var(--line); }
.count { font-size: .78rem; font-variant-numeric: tabular-nums; background: var(--line); color: var(--muted); border-radius: 100px; padding: 1px 8px; }
.location-filter.active .count { background: var(--accent-tint); color: var(--accent-text); }
.item-list { list-style: none; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 14px 10px; margin: 0 -10px; border-radius: var(--r-ctl); text-decoration: none; color: inherit; transition: background-color .2s, transform .25s var(--ease); }
.item-list li + li .list-item { border-top: 1px solid var(--line); border-radius: 0 0 var(--r-ctl) var(--r-ctl); }
.list-item:hover { background: var(--surface-2); }
.list-item:active { transform: scale(.99); }
.list-item:hover .list-item-arrow { transform: translateX(3px); color: var(--accent-strong); }
.list-item-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-tint); color: var(--accent-text); font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; letter-spacing: .02em; }
.list-item-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.list-item-title { font-weight: 600; color: var(--ink); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.list-item-subtitle { color: var(--muted); font-size: .85rem; }
.list-item-arrow { color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.hidden-section { display: none; }

/* ----- Forms ------------------------------------------------------------ */
.form-group { margin-bottom: 22px; }
label, .label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--ink); font-size: .9rem; }
.optional { font-weight: 400; color: var(--muted); font-size: .8rem; margin-left: 4px; }
.field-hint { margin-top: 6px; font-size: .82rem; color: var(--muted); }
.field-error { margin-top: 6px; font-size: .85rem; color: var(--danger); font-weight: 500; }
.form-group.has-error input[type="text"], .form-group.has-error input[type="tel"], .form-group.has-error input[type="email"],
.form-group.has-error select, .form-group.has-error textarea { border-color: var(--danger); }
.form-group.has-error .category-chip, .form-group.has-error .radio-option label { border-color: var(--danger); }
.radio-group { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-option { flex: 1 1 140px; position: relative; }
.radio-option input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.radio-option label { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 0; padding: 12px 14px; text-align: center; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); font-weight: 500; color: var(--text); cursor: pointer; transition: background-color .2s, transform .25s var(--ease), border-color .2s, color .2s; }
.radio-option label:hover { transform: translateY(-1px); }
.radio-option label:active { transform: scale(.98); }
.radio-option input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.radio-option input:checked + label { background: var(--accent-tint); border-color: var(--accent-strong); color: var(--accent-text); font-weight: 600; }
.custom-select-container { position: relative; }
.custom-select-container .search-input { padding-right: 40px; }
.custom-select-container::after { content: '\f078'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; right: 16px; top: 24px; transform: translateY(-50%); color: var(--muted); pointer-events: none; font-size: 12px; }
.custom-select-dropdown { list-style: none; position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); max-height: 240px; overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); box-shadow: 0 16px 40px -12px rgb(var(--shadow) / .35); opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.custom-select-dropdown.show { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.dropdown-option { padding: 12px 16px; min-height: 44px; cursor: pointer; display: flex; align-items: center; }
.dropdown-option:hover, .dropdown-option.active { background: var(--surface-2); }
.dropdown-option.custom { font-weight: 600; color: var(--accent-text); border-bottom: 1px solid var(--line); }

/* ----- Buttons and action bar ------------------------------------------ */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 14px 18px; border: none; border-radius: var(--r-ctl); font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; text-align: center; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background-color .2s, color .2s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 6px 16px -6px rgb(201 132 0 / .55); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px) scale(.99); box-shadow: none; }
.btn-primary[aria-busy="true"] { opacity: .75; pointer-events: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); width: auto; padding: 14px 20px; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-ghost:active { transform: scale(.98); }
.form-actions { margin-top: 8px; }
.send-fallback { text-align: center; font-size: .9rem; color: var(--muted); margin-top: 12px; }

/* ----- Footer ----------------------------------------------------------- */
.site-footer { padding: 28px 16px calc(36px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-bottom: 10px; }
.footer-links a, .footer-note a { color: var(--accent-text); font-weight: 600; text-decoration: none; padding: 6px 0; }
.footer-links a:hover, .footer-note a:hover { text-decoration: underline; }

/* ----- Dialog (fixed head and foot, only the body scrolls) -------------- */
.popup-form { border: 0; padding: 0; margin: auto; width: calc(100% - 32px); max-width: 500px; max-height: min(88vh, 760px); max-height: min(88dvh, 760px); border-radius: 20px; background: var(--surface); color: var(--text); overflow: hidden; box-shadow: 0 30px 80px -20px rgb(0 0 0 / .5), 0 0 0 1px var(--line); }
.popup-form[open] { display: flex; flex-direction: column; animation: dlg .35s var(--ease); }
.popup-form::backdrop { background: rgb(8 13 28 / .62); }
@keyframes dlg { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.popup-head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--line); }
.popup-title { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.popup-close { width: 44px; height: 44px; border: none; border-radius: 12px; background: var(--surface-2); color: var(--muted); display: flex; align-items: center; justify-content: center; flex: none; transition: color .2s, background-color .2s, transform .2s var(--ease); }
.popup-close:hover { color: var(--ink); background: var(--line); }
.popup-close:active { transform: scale(.94); }
.popup-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px 24px 6px; }
.popup-foot { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--surface); }
.popup-foot .btn-primary { width: auto; flex: 1 1 auto; max-width: 260px; }
.popup-foot .btn-ghost { flex: none; }
.sent-state { text-align: center; padding: 24px 0 30px; }
.sent-state i { font-size: 44px; color: var(--accent-strong); margin-bottom: 12px; }
.sent-state p { color: var(--muted); margin-top: 6px; }
html.modal-open { overflow: hidden; }

/* ----- Static pages ------------------------------------------------------ */
.doc { padding-top: 28px; }
.doc h1 { font-size: 1.7rem; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 6px; }
.doc h2 { font-size: 1.1rem; color: var(--ink); margin: 26px 0 8px; letter-spacing: -0.015em; }
.doc p, .doc li { color: var(--text); max-width: 65ch; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; margin-top: 8px; }
.doc .updated { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.doc a:not(.btn) { color: var(--accent-text); font-weight: 600; }
.notice-box { padding: 40px 20px; text-align: center; }
.notice-box h1 { font-size: 1.5rem; color: var(--ink); margin-bottom: 8px; }
.notice-box p { color: var(--muted); margin-bottom: 16px; }
.notice-box .btn { display: inline-flex; width: auto; }

/* ----- Wide screens ------------------------------------------------------ */
@media (min-width: 600px) {
  body { padding: 24px 0; background-image: radial-gradient(900px 420px at 50% -120px, rgb(242 165 22 / .14), transparent 70%); background-repeat: no-repeat; }
  .container { border-radius: 20px; overflow: hidden; min-height: calc(100vh - 48px); box-shadow: 0 24px 60px -24px rgb(var(--shadow) / .35), 0 0 0 1px var(--line); }
  .app-header { top: 24px; border-radius: 20px 20px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
