:root {
  --navy: #071426;
  --navy-2: #0a1d35;
  --blue: #1597ff;
  --blue-2: #43c4ff;
  --yellow: #ffd33f;
  --ink: #08111f;
  --charcoal: #12161f;
  --muted: #667085;
  --line: rgba(255, 255, 255, .12);
  --panel: rgba(12, 25, 43, .82);
  --white: #f8fbff;
  --soft: #edf4fb;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: #05070b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(5, 7, 11, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
}

.brand img,
.profile-mini img,
.profile-row img,
.barber-card img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
}

.desktop-nav {
  display: flex;
  gap: 22px;
}

.desktop-nav a {
  color: #c8d5e4;
  text-decoration: none;
  font-size: 14px;
}

.top-actions,
.cta-row,
.form-actions,
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 6px 10px 6px 6px;
  border: 1px solid rgba(67, 196, 255, .28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  color: #06111d;
  background: var(--blue-2);
  font-size: 12px;
  font-weight: 900;
}

.account-copy {
  display: grid;
  line-height: 1.05;
}

.account-copy strong {
  font-size: 13px;
}

.account-copy small {
  color: #9eb0c4;
  font-size: 11px;
}

body.signed-out .account-chip,
body.signed-out .sign-out-btn,
body:not(.signed-out) .login-btn {
  display: none;
}

.icon-btn,
.small-btn,
.install-btn,
.share-btn,
.primary-btn,
.secondary-btn,
.nav-item,
.request-list button,
.tool-grid button,
.summary-card button,
.composer button,
.cookie-actions button,
.cookie-preferences button,
.barber-card button {
  border: 0;
  border-radius: var(--radius);
  min-height: 42px;
}

.small-btn,
.install-btn,
.share-btn,
.secondary-btn,
.request-list button,
.tool-grid button,
.summary-card button,
.barber-card button,
.cookie-actions button,
.cookie-preferences button {
  padding: 10px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
}

.install-btn {
  padding: 10px 14px;
  color: #06111d;
  background: var(--blue-2);
  font-weight: 900;
}

.share-btn {
  position: relative;
  padding-left: 34px;
  background: rgba(255, 211, 63, .14);
  color: #fff4bd;
}

.share-btn::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: translateY(-50%) rotate(45deg);
}

.primary-btn {
  padding: 12px 18px;
  color: #06111d;
  background: linear-gradient(135deg, var(--yellow), #ffb627);
  font-weight: 800;
}

.secondary-btn {
  background: rgba(21, 151, 255, .14);
  color: #dff3ff;
}

.compact {
  min-height: 40px;
  padding: 10px 14px;
}

.icon-btn {
  position: relative;
  width: 42px;
  background: rgba(21, 151, 255, .14);
}

.bell {
  display: block;
  width: 16px;
  height: 18px;
  margin: auto;
  border: 2px solid var(--blue-2);
  border-radius: 9px 9px 5px 5px;
  border-bottom-color: transparent;
}

.badge {
  position: absolute;
  top: -5px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  color: #08111f;
  background: var(--yellow);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, .8fr);
  gap: clamp(24px, 5vw, 72px);
  min-height: calc(100vh - 72px);
  padding: clamp(38px, 7vw, 84px) clamp(18px, 4vw, 54px) 42px;
  background:
    radial-gradient(circle at 78% 22%, rgba(21, 151, 255, .24), transparent 32%),
    linear-gradient(135deg, #05070b 0%, #071426 48%, #10151e 100%);
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(46px, 8vw, 88px);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.lead {
  max-width: 660px;
  color: #ccd8e8;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.trust-strip {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.trust-strip span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.trust-strip span {
  background: rgba(255, 255, 255, .08);
  color: #d8e7f5;
}

.pill.yellow {
  color: #141000;
  background: var(--yellow);
}

.pill.blue {
  color: #06111d;
  background: var(--blue-2);
}

.hero-phone {
  display: grid;
  place-items: center;
}

.phone-frame {
  width: min(100%, 360px);
  min-height: 600px;
  padding: 18px;
  background: linear-gradient(160deg, #05070b, #10151f);
  border: 9px solid #020305;
  border-radius: 34px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.phone-frame.tall {
  min-height: 690px;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px 18px;
}

.phone-top small,
.muted,
.barber-card span,
.request-list span,
.style-library span,
.profile-mini span,
.qr-card span {
  color: #91a3b8;
  font-size: 13px;
}

.camera {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--blue-2), #0c1d32 62%);
}

.chat-bubble {
  width: fit-content;
  max-width: 86%;
  margin: 10px 0;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.4;
}

.chat-bubble.client {
  margin-left: auto;
  background: var(--blue);
  color: white;
  border-bottom-right-radius: 6px;
}

.chat-bubble.barber {
  background: #172033;
  border-bottom-left-radius: 6px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.photo-grid.large {
  grid-template-columns: repeat(3, 1fr);
}

.photo-card {
  min-height: 124px;
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, .18), transparent),
    radial-gradient(circle at 40% 25%, #273d55, transparent 22%),
    linear-gradient(160deg, #111827, #273544);
  border: 1px solid rgba(255, 255, 255, .12);
}

.chat-photo {
  display: block;
  width: 100%;
  height: 124px;
  object-fit: cover;
  object-position: center;
}

.fade-low {
  background:
    linear-gradient(160deg, rgba(21, 151, 255, .28), transparent 50%),
    linear-gradient(145deg, #15191f, #35404b);
}

.crop {
  background:
    linear-gradient(135deg, rgba(255, 211, 63, .2), transparent 45%),
    linear-gradient(145deg, #0e1420, #3a4653);
}

.beard {
  background:
    linear-gradient(135deg, rgba(67, 196, 255, .16), transparent 45%),
    linear-gradient(145deg, #070b10, #2a333f);
}

.summary-card,
.panel,
.legal-grid article,
.workflow article {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: var(--panel);
}

.summary-card {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.summary-card span {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.section-band {
  padding: 58px clamp(18px, 4vw, 54px);
}

body[data-view]:not([data-view="home"]) .hero,
body[data-view]:not([data-view="home"]) main > .section-band.light-band {
  display: none;
}

.light-band {
  color: var(--ink);
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.workflow article {
  min-height: 188px;
  padding: 18px;
  color: #122033;
  background: white;
  border-color: rgba(8, 17, 31, .08);
}

.workflow article span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  font-weight: 900;
}

.workflow article p {
  color: #4d5b6c;
  line-height: 1.45;
}

.app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 54px) 64px;
  background:
    linear-gradient(180deg, #071426, #05070b 70%);
}

.side-panel {
  position: sticky;
  top: 86px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.profile-mini,
.barber-card,
.profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-mini {
  padding: 8px;
  margin-bottom: 4px;
}

.nav-item {
  width: 100%;
  padding: 12px;
  color: #c8d5e4;
  text-align: left;
  background: transparent;
}

.nav-item.active,
.nav-item:hover {
  color: white;
  background: rgba(21, 151, 255, .18);
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

body[data-view="media"] .app-shell {
  grid-template-columns: minmax(0, 1fr);
}

body[data-view="media"] .side-panel {
  display: none;
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.metric-grid,
.split-grid,
.legal-grid,
.auth-grid,
.chat-layout,
.summary-layout {
  display: grid;
  gap: 14px;
}

.metric-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 14px;
}

.metric-grid article {
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(21, 151, 255, .08));
  border: 1px solid rgba(255, 255, 255, .12);
}

.metric-grid span {
  display: block;
  color: #9eb0c4;
  font-size: 13px;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.split-grid,
.auth-grid,
.summary-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  align-items: start;
}

.auth-card {
  padding: 24px;
}

.auth-heading h2 {
  margin-bottom: 18px;
  font-size: 30px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(1, 8, 17, .55);
}

.auth-tabs.hidden {
  display: none;
}

.auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 5px;
  color: #9eb0c4;
  background: transparent;
  font-weight: 850;
}

.auth-tabs button.active {
  color: #06111d;
  background: var(--blue-2);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-form-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 4px 0 16px;
}

.compact-check {
  margin: 0;
  font-size: 14px;
}

.text-btn,
.auth-switch-copy button {
  padding: 0;
  border: 0;
  color: #68d6ff;
  background: transparent;
  font-weight: 800;
}

.text-btn:hover,
.auth-switch-copy button:hover {
  color: white;
}

.auth-submit {
  width: 100%;
  min-height: 48px;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: .6;
}

.auth-switch-copy {
  margin: 15px 0 0;
  color: #9eb0c4;
  text-align: center;
}

.auth-status {
  min-height: 22px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.role-picker {
  padding: 0;
  margin: 0 0 16px;
  border: 0;
}

.role-picker legend {
  margin-bottom: 10px;
  color: #dfeaf7;
  font-weight: 800;
}

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

.role-option {
  position: relative;
  display: block;
  min-height: 112px;
  padding: 15px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
}

.role-option:has(input:checked) {
  border-color: #43c4ff;
  background: rgba(21, 151, 255, .15);
  box-shadow: inset 0 0 0 1px rgba(67, 196, 255, .3);
}

.role-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  opacity: 0;
}

.role-option span,
.role-option strong,
.role-option small {
  display: block;
}

.role-option strong {
  margin-bottom: 7px;
  color: white;
}

.role-option small {
  color: #9eb0c4;
  font-weight: 550;
  line-height: 1.45;
}

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

.auth-terms {
  margin: 15px 0;
}

.reset-heading {
  margin-bottom: 12px;
}

.auth-aside {
  padding: 26px;
  border-left: 3px solid var(--yellow);
  background: rgba(255, 255, 255, .04);
}

.auth-aside h3 {
  margin-bottom: 22px;
  font-size: 24px;
}

.auth-benefit {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.auth-benefit span,
.auth-benefit strong {
  display: block;
}

.auth-benefit span {
  margin-bottom: 6px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-benefit strong {
  color: #dfeaf7;
  line-height: 1.5;
}

.chat-layout {
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  align-items: start;
}

.panel {
  padding: 18px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.request-list {
  display: grid;
  gap: 10px;
}

.request-list article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.request-list span,
.request-list strong {
  display: block;
}

label {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  color: #dfeaf7;
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: white;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
}

textarea {
  min-height: 92px;
  resize: vertical;
}

select option {
  color: #08111f;
}

input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--yellow);
}

label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
}

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

.barber-card {
  justify-content: space-between;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.barber-card div:nth-child(2) {
  flex: 1;
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue);
  font-weight: 900;
}

.style-library {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.style-library article strong,
.style-library article span {
  display: block;
  margin-top: 8px;
}

.checklist {
  display: grid;
  gap: 10px;
}

.checklist div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.checklist dt {
  color: #9eb0c4;
}

.checklist dd {
  margin: 0;
}

.voice-note {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 78%;
  padding: 12px;
  border-radius: 18px;
  background: #172033;
}

.voice-note.client {
  margin-left: auto;
  background: rgba(21, 151, 255, .24);
}

.voice-note span {
  width: 44px;
  height: 22px;
  background: repeating-linear-gradient(90deg, var(--blue-2), var(--blue-2) 3px, transparent 3px, transparent 8px);
}

.voice-recorder {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(67, 196, 255, .22);
  border-radius: var(--radius);
  background: rgba(21, 151, 255, .08);
}

.voice-recorder strong,
.voice-recorder span {
  display: block;
}

.voice-recorder span {
  margin-top: 4px;
  color: #9eb0c4;
  font-size: 13px;
}

.voice-recorder audio {
  width: 100%;
}

.recorder-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.recorder-actions button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.compact-recorder {
  margin-top: 12px;
}

.composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 16px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.profile-hero {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.cover-art {
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(21, 151, 255, .32), transparent 45%),
    radial-gradient(circle at 75% 42%, rgba(255, 211, 63, .22), transparent 20%),
    linear-gradient(145deg, #06111d, #192334);
}

.profile-row {
  padding: 18px;
}

.profile-row img {
  width: 76px;
  height: 76px;
}

.profile-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: #dff3ff;
  text-decoration: none;
  border: 1px solid rgba(67, 196, 255, .34);
  border-radius: var(--radius);
  background: rgba(21, 151, 255, .14);
  font-size: 13px;
  font-weight: 800;
}

.profile-link-editor {
  margin-top: 14px;
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius);
  color: #08111f;
  background: white;
  text-align: center;
}

.qr {
  width: 156px;
  aspect-ratio: 1;
  background:
    linear-gradient(90deg, #08111f 10px, transparent 10px) 0 0 / 26px 26px,
    linear-gradient(#08111f 10px, transparent 10px) 0 0 / 26px 26px,
    white;
  border: 14px solid white;
  box-shadow: inset 0 0 0 8px #08111f;
}

.code-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.code-row input {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
}

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

.legal-grid article {
  padding: 18px;
}

.legal-grid button {
  margin-top: 8px;
  padding: 10px 14px;
  color: #06111d;
  background: var(--blue-2);
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
}

.legal-page {
  max-width: 940px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.legal-page p,
.legal-page li {
  color: #c8d5e4;
  line-height: 1.65;
}

.legal-page a {
  color: var(--blue-2);
}

.legal-page ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.support-form {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin-top: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.contact-grid section {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.site-footer {
  display: grid;
  gap: 18px;
  padding: 34px clamp(18px, 4vw, 54px);
  background: #05070b;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span,
.footer-note {
  color: #91a3b8;
}

.footer-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-links button {
  min-height: 38px;
  padding: 8px 11px;
  color: #dff3ff;
  background: rgba(21, 151, 255, .1);
  border: 1px solid rgba(67, 196, 255, .22);
  border-radius: var(--radius);
}

.footer-note {
  max-width: 760px;
  margin: 0;
  font-size: 13px;
}

.media-page {
  display: grid;
  gap: 22px;
}

.media-copy {
  max-width: 900px;
}

.media-actions,
.social-share-grid,
.media-benefits,
.leaflet-showcase {
  display: grid;
  gap: 14px;
}

.media-actions {
  grid-template-columns: repeat(2, max-content);
  margin: 18px 0;
}

.social-share-grid {
  grid-template-columns: repeat(4, 1fr);
}

.social-share-grid a,
.media-benefits article,
.download-panel {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.social-share-grid a {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 16px;
  color: white;
  text-decoration: none;
}

.social-share-grid strong,
.media-benefits strong {
  color: var(--yellow);
}

.social-share-grid span,
.media-benefits span,
.download-panel p {
  color: #c8d5e4;
  line-height: 1.5;
}

.leaflet-showcase {
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  align-items: center;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid rgba(67, 196, 255, .24);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 20%, rgba(21, 151, 255, .2), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(255, 211, 63, .13), transparent 24%),
    rgba(255, 255, 255, .05);
}

.leaflet-preview-card {
  position: relative;
  display: grid;
  place-items: center;
}

.leaflet-preview-card::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: rgba(21, 151, 255, .24);
  filter: blur(28px);
}

.leaflet-preview-card img {
  position: relative;
  width: min(100%, 360px);
  border-radius: 8px;
  box-shadow: 0 24px 65px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255, 255, 255, .18);
  animation: hoverFloat 4.8s ease-in-out infinite;
}

.download-panel {
  padding: 22px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin-top: 12px;
  padding: 12px 16px;
  color: #06111d;
  background: var(--yellow);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 900;
}

.download-icon {
  position: relative;
  width: 17px;
  height: 18px;
  border: 2px solid currentColor;
  border-top: 0;
}

.download-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -8px;
  width: 5px;
  height: 13px;
  background: currentColor;
}

.download-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 1px;
  width: 9px;
  height: 9px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}

.media-benefits {
  grid-template-columns: repeat(3, 1fr);
}

.media-benefits article {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 18px;
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .8fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 211, 63, .16), transparent 28%),
    linear-gradient(145deg, rgba(21, 151, 255, .15), rgba(255, 255, 255, .05));
  overflow: hidden;
}

.small-lead {
  max-width: 620px;
  font-size: 17px;
}

.pricing-picker {
  max-width: 520px;
  margin: 20px 0 14px;
}

.price-card {
  display: grid;
  gap: 8px;
  max-width: 520px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(5, 7, 11, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .26);
}

.price-card span,
.pricing-grid span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card strong {
  font-size: clamp(46px, 8vw, 72px);
  line-height: .95;
}

.price-card small {
  color: #91a3b8;
}

.pricing-visual-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.pricing-visual-wrap::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(21, 151, 255, .42), transparent 62%),
    radial-gradient(circle, rgba(255, 211, 63, .18), transparent 54%);
  filter: blur(12px);
}

.pricing-visual {
  position: relative;
  width: min(100%, 520px);
  border-radius: 18px;
  filter: drop-shadow(0 28px 32px rgba(0, 0, 0, .42)) drop-shadow(0 0 28px rgba(21, 151, 255, .42));
  animation: hoverFloat 4.4s ease-in-out infinite;
}

@keyframes hoverFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.pricing-grid article {
  min-height: 190px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}

.pricing-grid article.selected {
  background: rgba(21, 151, 255, .16);
  border-color: rgba(67, 196, 255, .7);
  box-shadow: 0 0 0 1px rgba(67, 196, 255, .2), 0 18px 46px rgba(21, 151, 255, .16);
}

.pricing-grid strong {
  display: block;
  margin: 10px 0;
  font-size: 30px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 40px));
  padding: 12px 14px;
  color: #08111f;
  background: var(--yellow);
  border-radius: var(--radius);
  font-weight: 800;
  opacity: 0;
  transform: translateY(12px);
  transition: .22s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(5, 7, 11, .96);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin-bottom: 0;
  color: #c8d5e4;
}

.cookie-preferences {
  display: none;
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.cookie-banner.manage .cookie-preferences {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 10px 14px;
  align-items: center;
}

.cookie-banner.hidden {
  display: none;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hero,
  .app-shell,
  .workflow,
  .metric-grid,
  .split-grid,
  .auth-grid,
  .auth-layout,
  .summary-layout,
  .chat-layout,
  .legal-grid,
  .contact-grid,
  .social-share-grid,
  .leaflet-showcase,
  .media-benefits,
  .pricing-hero,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-mini {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
  }

  .brand span {
    display: none;
  }

  .account-copy {
    display: none;
  }

  h1 {
    font-size: 45px;
  }

  .form-grid,
  .role-options,
  .auth-password-grid,
  .photo-grid.large,
  .style-library,
  .tool-grid,
  .side-panel {
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 18px;
  }

  .auth-aside {
    padding: 20px;
  }

  .auth-form-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-head,
  .request-list article,
  .barber-card,
  .footer-brand,
  .cookie-banner {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .media-actions {
    grid-template-columns: 1fr;
  }

  .footer-links button {
    width: 100%;
    text-align: left;
  }

  .cookie-banner.manage .cookie-preferences {
    grid-template-columns: 1fr;
  }

  .checklist div {
    grid-template-columns: 1fr;
  }

  .pricing-visual-wrap {
    min-height: 300px;
  }
}
