:root {
  --bg: #f4efe6;
  --ink: #17130f;
  --muted: #6f665b;
  --panel: #fffaf1;
  --panel-strong: #fffdf7;
  --line: #ded3c4;
  --dark: #17130f;
  --cream: #f4efe6;
  --accent: #b7623a;
  --accent-dark: #884328;
  --green: #6d7b55;
  --blue: #647c8c;
  --yellow: #d7a84f;
  --radius: 26px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    url("data:image/svg+xml,%3Csvg width='900' height='700' viewBox='0 0 900 700' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='420' y='60' width='360' height='230' rx='28' fill='%23fffaf1' fill-opacity='.55' stroke='%2317130f' stroke-opacity='.08'/%3E%3Crect x='450' y='100' width='140' height='18' rx='9' fill='%2317130f' fill-opacity='.12'/%3E%3Crect x='450' y='145' width='250' height='36' rx='18' fill='%23b7623a' fill-opacity='.16'/%3E%3Crect x='110' y='300' width='330' height='220' rx='30' fill='%2317130f' fill-opacity='.05' stroke='%2317130f' stroke-opacity='.08'/%3E%3Cpath d='M160 370h160M160 410h230M160 450h190' stroke='%2317130f' stroke-opacity='.12' stroke-width='18' stroke-linecap='round'/%3E%3Ccircle cx='730' cy='450' r='72' fill='%23b7623a' fill-opacity='.10'/%3E%3C/svg%3E"),
    radial-gradient(circle at 10% 0%, rgba(183, 98, 58, 0.18), transparent 30%),
    radial-gradient(circle at 90% 8%, rgba(109, 123, 85, 0.16), transparent 28%),
    var(--bg);
  background-attachment: fixed;
  background-size: 900px 700px, auto, auto, auto;
  background-position: right 40px top 80px, center, center, center;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-section,
.page-hero,
.site-footer {
  margin-left: auto;
  margin-right: max(295px, calc((100vw - var(--max)) / 2 + 295px));
  width: min(calc(var(--max) - 260px), calc(100% - 340px));
}

.right-nav {
  position: fixed;
  right: 22px;
  top: 22px;
  bottom: 22px;
  z-index: 80;
  width: 245px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(23, 19, 15, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.94), rgba(255, 250, 241, 0.76)),
    rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 80px rgba(23, 19, 15, 0.12);
}

.right-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: var(--dark);
  color: var(--cream);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.right-brand strong {
  display: block;
  line-height: 1;
  letter-spacing: -0.04em;
}

.right-brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.right-links {
  margin-top: 28px;
  display: grid;
  gap: 8px;
}

.right-links a {
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  color: var(--muted);
  font-size: 15px;
  transition: 0.2s ease;
}

.right-links a::after {
  content: "←";
  opacity: 0;
  transform: translateX(6px);
  transition: 0.2s ease;
}

.right-links a:hover {
  background: rgba(23, 19, 15, 0.06);
  color: var(--ink);
}

.right-links a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.right-actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.right-login,
.right-basket {
  min-height: 48px;
  border-radius: 999px;
  font-weight: 850;
}

.right-login {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.right-basket {
  border: 0;
  background: var(--dark);
  color: var(--cream);
}

.right-basket span {
  min-width: 22px;
  height: 22px;
  margin-left: 8px;
  padding: 0 7px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 12px;
}

.mobile-nav-btn {
  display: none;
}

.hero {
  min-height: calc(100vh - 40px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  padding-top: 78px;
  padding-bottom: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 850;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 830px;
  margin-bottom: 22px;
  font-size: clamp(52px, 8vw, 106px);
  line-height: 0.88;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.95;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions,
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 30px;
}

.trust-pills {
  margin-top: 28px;
}

.trust-pills span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.62);
  color: var(--muted);
  font-size: 13px;
}

.btn {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  transition: 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--dark);
  color: var(--cream);
}

.btn.secondary {
  border-color: var(--line);
  background: var(--panel);
}

.btn.light {
  background: var(--cream);
  color: var(--ink);
}

.btn.full {
  width: 100%;
}

.hero-dashboard {
  min-height: 560px;
  padding: 14px;
  border-radius: 34px;
  background: var(--dark);
  color: var(--cream);
  box-shadow: 0 34px 90px rgba(23, 19, 15, 0.22);
  transform: rotate(1deg);
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
  50% {
    transform: rotate(1deg) translateY(-10px);
  }
}

.window-bar {
  height: 42px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding-left: 8px;
}

.window-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(244, 239, 230, 0.25);
}

.dashboard-card {
  height: calc(100% - 42px);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 18%, rgba(183, 98, 58, 0.75), transparent 28%),
    linear-gradient(145deg, #30241c, #15110e);
}

.dashboard-card p {
  color: rgba(244, 239, 230, 0.72);
  line-height: 1.6;
}

.mini-label {
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(244, 239, 230, 0.1);
  color: #f2c06d !important;
  font-weight: 800;
  font-size: 13px;
}

.stats-grid {
  margin: 22px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stats-grid div {
  padding: 14px;
  border: 1px solid rgba(244, 239, 230, 0.14);
  border-radius: 16px;
  background: rgba(244, 239, 230, 0.06);
}

.stats-grid span {
  display: block;
  margin-bottom: 8px;
  color: rgba(244, 239, 230, 0.58);
  font-size: 12px;
}

.ticker {
  margin: 0 calc(50% - 50vw);
  padding: 16px 0;
  display: flex;
  gap: 28px;
  overflow: hidden;
  border-top: 1px solid rgba(23, 19, 15, 0.12);
  border-bottom: 1px solid rgba(23, 19, 15, 0.12);
  color: var(--muted);
  white-space: nowrap;
}

.ticker span {
  animation: ticker 18s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(20vw);
  }

  to {
    transform: translateX(-80vw);
  }
}

.page-section {
  padding: 86px 0;
}

.page-hero {
  padding: 96px 0 50px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 54px;
  align-items: start;
}

.rich-text p,
.card p,
.card li,
.mini-card p,
.service-list p,
.legal-doc p,
.site-footer p,
.cart-panel p,
.portal-note,
.muted {
  color: var(--muted);
  line-height: 1.7;
}

.section-head {
  max-width: 850px;
  margin-bottom: 32px;
}

.cards {
  display: grid;
  gap: 16px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.mini-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.9);
  box-shadow: 0 18px 60px rgba(23, 19, 15, 0.06);
}

.card.featured {
  border-color: rgba(183, 98, 58, 0.38);
  background:
    radial-gradient(circle at 90% 0%, rgba(183, 98, 58, 0.18), transparent 32%),
    var(--panel);
}

.badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 850;
}

.card-label {
  color: var(--accent-dark) !important;
  font-weight: 850;
}

.price {
  display: block;
  margin: 12px 0;
  font-size: 38px;
  letter-spacing: -0.06em;
}

.card ul {
  min-height: 160px;
  padding-left: 18px;
}

.mini-card strong {
  font-size: 26px;
}

.small-add {
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-weight: 850;
}

.dark-panel {
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr 0.85fr auto;
  gap: 28px;
  align-items: center;
  border-radius: 34px;
  background: var(--dark);
  color: var(--cream);
}

.dark-panel p:not(.eyebrow) {
  color: rgba(244, 239, 230, 0.72);
  line-height: 1.7;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-list article {
  padding: 26px;
  display: grid;
  grid-template-columns: 70px 0.8fr 1fr;
  gap: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.service-list span {
  color: var(--accent-dark);
  font-weight: 900;
}

.portal-shell {
  margin-left: auto;
  margin-right: max(295px, calc((100vw - var(--max)) / 2 + 295px));
  width: min(calc(var(--max) - 260px), calc(100% - 340px));
  padding: 72px 0 86px;
}

.portal-hero {
  max-width: 860px;
  margin-bottom: 34px;
}

.portal-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 7vw, 104px);
  line-height: 0.9;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.profile-panel {
  position: sticky;
  top: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 0%, rgba(183, 98, 58, 0.12), transparent 30%),
    rgba(255, 250, 241, 0.96);
  box-shadow: 0 18px 60px rgba(23, 19, 15, 0.06);
}

.profile-avatar {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 26px;
  background: var(--dark);
  color: var(--cream);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.profile-panel h3 {
  margin-bottom: 4px;
}

.profile-panel p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.profile-meta {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.profile-meta div {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(23, 19, 15, 0.035);
}

.profile-meta span {
  color: var(--muted);
}

.dashboard-content {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.welcome-card,
.dash-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 250, 241, 0.96);
  box-shadow: 0 18px 60px rgba(23, 19, 15, 0.06);
}

.welcome-card {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.welcome-card h2 {
  margin-bottom: 12px;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 0.95;
}

.welcome-card p,
.dash-card p {
  color: var(--muted);
  line-height: 1.7;
}

.welcome-stats {
  display: grid;
  gap: 12px;
}

.welcome-stats div {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-strong);
}

.welcome-stats span {
  color: var(--muted);
}

.dashboard-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.dash-card {
  padding: 28px;
  min-width: 0;
}

.dash-card h2 {
  margin-bottom: 12px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.95;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.card-topline > span {
  min-width: 58px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(183, 98, 58, 0.14);
  color: var(--accent-dark);
  font-weight: 900;
}

.project-card {
  background:
    radial-gradient(circle at 90% 0%, rgba(183, 98, 58, 0.12), transparent 34%),
    rgba(255, 250, 241, 0.96);
}

.progress {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #eadfce;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--accent);
}

.task-list {
  display: grid;
  gap: 11px;
  margin-top: 20px;
}

.task-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.task-list span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.inline-form,
.copy-box {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.inline-form input,
.copy-box input {
  min-width: 0;
}

.account-table.clean {
  display: grid;
  gap: 10px;
}

.account-table.clean div {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-strong);
}

.account-table.clean span {
  color: var(--muted);
}

.account-table.clean strong {
  overflow-wrap: anywhere;
  text-align: right;
}

.orders-panel {
  min-height: 220px;
}

.order-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.order-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-strong);
}

.order-card div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 36px;
}

.checkout-total {
  margin-top: 18px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  border-radius: 18px;
  background: var(--dark);
  color: var(--cream);
}

.checkout-form,
form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fffdf7;
  color: var(--ink);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
}

.payment-box {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(183, 98, 58, 0.28);
  border-radius: 22px;
  background: rgba(183, 98, 58, 0.08);
}

.payment-box h3 {
  margin-bottom: 8px;
}

.payment-methods {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.payment-methods label {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-strong);
  color: var(--ink);
}

.legal-doc {
  max-width: 900px;
}

.legal-doc h2 {
  margin-top: 42px;
}

.site-footer {
  padding: 34px 0 46px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 36px;
  border-top: 1px solid rgba(23, 19, 15, 0.12);
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.cart-panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: min(460px, 100%);
  height: 100vh;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  box-shadow: 28px 0 80px rgba(23, 19, 15, 0.2);
  transform: translateX(-100%);
  transition: 0.25s ease;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 24px;
}

.cart-items {
  padding: 18px 0;
  display: grid;
  gap: 10px;
  overflow: auto;
}

.cart-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf7;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.remove-item {
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--accent-dark);
}

.cart-empty {
  padding: 18px 0;
  color: var(--muted);
  line-height: 1.6;
}

.cart-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.total-row {
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 20px;
}

.discount-row {
  margin-bottom: 14px;
  display: none;
  justify-content: space-between;
  color: var(--accent-dark);
}

.discount-row.active {
  display: flex;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  padding: 18px;
  display: none;
  place-items: center;
  background: rgba(23, 19, 15, 0.45);
}

.modal.open {
  display: grid;
}

.login-box {
  position: relative;
  width: min(520px, 100%);
  padding: 28px;
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 34px 100px rgba(23, 19, 15, 0.32);
}

.close-login {
  position: absolute;
  top: 18px;
  right: 18px;
}

.auth-tabs {
  margin-bottom: 22px;
  padding: 5px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(23, 19, 15, 0.04);
}

.auth-tab {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
}

.auth-tab.active {
  background: var(--dark);
  color: var(--cream);
}

.client-dashboard {
  display: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.client-dashboard.open {
  display: grid;
  gap: 10px;
}

.dash-row {
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(23, 19, 15, 0.035);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--cream);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .right-nav {
    left: 14px;
    right: 14px;
    top: 14px;
    bottom: auto;
    width: auto;
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    border-radius: 24px;
  }

  .right-brand {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .right-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin-top: 0;
    padding: 12px;
    display: none;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--panel);
    box-shadow: 0 24px 80px rgba(23, 19, 15, 0.14);
  }

  .right-links.open {
    display: grid;
  }

  .right-actions {
    margin-top: 0;
    display: flex;
  }

  .right-login {
    display: none;
  }

  .right-basket {
    min-height: 42px;
    padding: 0 14px;
  }

  .mobile-nav-btn {
    min-height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    font-weight: 850;
  }

  .page-section,
  .page-hero,
  .site-footer,
  .portal-shell {
    width: min(var(--max), calc(100% - 28px));
    margin-left: auto;
    margin-right: auto;
  }

  .portal-shell {
    padding-top: 120px;
  }

  .hero,
  .split,
  .dark-panel,
  .checkout-layout,
  .dashboard-layout,
  .dashboard-two,
  .welcome-card {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    position: static;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-dashboard {
    min-height: 500px;
    transform: none;
  }

  .cards.three,
  .cards.four {
    grid-template-columns: 1fr;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .right-brand small {
    display: none;
  }

  .right-brand strong {
    font-size: 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .right-basket {
    font-size: 0;
  }

  .right-basket span {
    margin-left: 0;
    font-size: 12px;
  }

  .mobile-nav-btn {
    font-size: 0;
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .mobile-nav-btn::before {
    content: "☰";
    font-size: 18px;
  }

  h1 {
    font-size: 50px;
  }

  .portal-hero h1 {
    font-size: 52px;
  }

  .hero-dashboard {
    min-height: 430px;
    padding: 10px;
  }

  .dashboard-card,
  .welcome-card,
  .dash-card,
  .profile-panel {
    padding: 22px;
    border-radius: 26px;
  }

  .stats-grid,
  .inline-form,
  .copy-box {
    grid-template-columns: 1fr;
  }

  .welcome-stats div,
  .account-table.clean div {
    flex-direction: column;
  }

  .profile-avatar {
    width: 68px;
    height: 68px;
  }

  .page-section {
    padding: 64px 0;
  }
}