:root {
  --navy: #0f2740;
  --navy-2: #183a5b;
  --accent: #2b6f9c;
  --accent-2: #4ea3d1;
  --bg: #eef3f7;
  --surface: #ffffff;
  --surface-soft: #f8fbfd;
  --border: #d7e1ea;
  --text: #173044;
  --muted: #5d7184;
  --success: #1f7a43;
  --error: #b3261e;
  --shadow: 0 18px 48px rgba(15, 39, 64, 0.12);
  --shadow-soft: 0 8px 24px rgba(15, 39, 64, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0 0 3rem;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(78, 163, 209, 0.12), transparent 24%),
    linear-gradient(180deg, #f7fafc 0%, var(--bg) 100%);
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

header.page-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(15, 39, 64, 0.98), rgba(24, 58, 91, 0.98));
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 39, 64, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.page-header .brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

header.page-header .site-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

header.page-header h1 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

header.page-header > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.9rem;
}

header.page-header .home-header-links {
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

header.page-header .header-contact-row,
header.page-header .header-nav-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.2rem;
  text-align: center;
}

header.page-header .header-nav-row {
  align-items: center;
}

header.page-header a {
  color: #dbe9f4;
}

header.page-header a:hover {
  color: #fff;
}

.manage-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.manage-toggle {
  cursor: pointer;
  font-weight: 600;
}

.manage-menu {
  display: none;
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  margin-top: 0;
  min-width: 180px;
  padding: 0.5rem 0;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  z-index: 30;
}

.manage-menu a {
  display: block;
  padding: 0.55rem 0.9rem;
  color: #dbe9f4;
  font-size: 0.9rem;
}

.manage-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

.manage-group:hover .manage-menu,
.manage-group:focus-within .manage-menu {
  display: block;
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.5rem auto 0;
}

.card,
.section-panel,
.hero,
.confirmation-box {
  background: var(--surface);
  border: 1px solid rgba(215, 225, 234, 0.9);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.25rem;
}

.card h2,
.section-heading {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.card h2 {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.25rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.tab-button {
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 39, 64, 0.94), rgba(24, 58, 91, 0.94));
  color: #fff;
  box-shadow: none;
}

.tab-button.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.tab-panel {
  margin-top: 0.25rem;
}

.tab-panel[hidden] {
  display: none;
}

.admin-pricing-main {
  width: min(1040px, calc(100% - 1.5rem));
}

.admin-pricing-main .card {
  padding: 1.1rem 1.15rem;
}

.admin-pricing-main .card h2 {
  margin-bottom: 0.75rem;
  padding-bottom: 0.55rem;
}

.admin-pricing-main h3 {
  margin-top: 1rem !important;
}

.admin-pricing-main .note {
  font-size: 0.82rem;
}

.admin-pricing-main .list-table th,
.admin-pricing-main .list-table td {
  padding: 0.45rem 0.55rem;
  font-size: 0.84rem;
}

.admin-pricing-main input[type="text"],
.admin-pricing-main input[type="number"],
.admin-pricing-main select {
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
}

.admin-pricing-main .grid {
  gap: 0.75rem;
}

.admin-pricing-main .tabs {
  margin-bottom: 0.75rem;
}

.client-dropdown {
  position: relative;
  width: 100%;
}

.client-dropdown-toggle {
  width: 100%;
  min-height: 32px;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-align: left;
  font-size: 0.85rem;
  box-shadow: none;
}

.client-dropdown-toggle::after {
  content: "▾";
  float: right;
  color: var(--muted);
}

.client-dropdown.is-open .client-dropdown-toggle {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43, 111, 156, 0.14);
}

.client-dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.25rem);
  z-index: 40;
  max-height: 200px;
  overflow: auto;
  padding: 0.3rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.client-dropdown.is-open .client-dropdown-menu {
  display: block;
}

.client-dropdown-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.3rem 0.45rem;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}

.client-dropdown-option:hover {
  background: #f3f8fc;
}

.groups-dropdown {
  position: relative;
  width: 100%;
}

.groups-dropdown-toggle {
  width: 100%;
  min-height: 28px;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-align: left;
  font-size: 0.8rem;
  box-shadow: none;
  cursor: pointer;
}

.groups-dropdown-toggle::after {
  content: "▾";
  float: right;
  color: var(--muted);
}

.groups-dropdown.is-open .groups-dropdown-toggle {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43, 111, 156, 0.14);
}

.groups-dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.2rem);
  z-index: 40;
  max-height: 180px;
  overflow: auto;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.groups-dropdown.is-open .groups-dropdown-menu {
  display: block;
}

.groups-dropdown-option {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0.25rem 0.35rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}

.groups-dropdown-option:hover {
  background: #f3f8fc;
}

.groups-dropdown-option input[type="checkbox"] {
  cursor: pointer;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.frame-row {
  display: grid;
  gap: 1rem;
}

.frame-row-top {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.frame-row-bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 420px;
}

.employee-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(150px, 0.9fr) minmax(150px, 0.9fr);
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.field .req {
  color: var(--error);
}

.field-error {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--error);
  min-height: 1em;
}

input.input-error {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="number"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(43, 111, 156, 0.14);
}

.note {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.flash {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  box-shadow: var(--shadow-soft);
}

.flash.error {
  background: #fff0ef;
  color: var(--error);
  border-color: #f4c2be;
}

.flash.success {
  background: #edf9f1;
  color: var(--success);
  border-color: #c3e8cf;
}

button,
.btn-primary-lg,
.btn-secondary-lg {
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

button:hover,
.btn-primary-lg:hover,
.btn-secondary-lg:hover {
  transform: translateY(-1px);
}

button.primary,
.btn-primary-lg {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 24px rgba(43, 111, 156, 0.24);
}

button.primary {
  padding: 0.72rem 1.2rem;
}

button.primary:hover,
.btn-primary-lg:hover {
  box-shadow: 0 16px 32px rgba(43, 111, 156, 0.28);
}

button.danger {
  padding: 0.68rem 1rem;
  border: 1px solid rgba(179, 38, 30, 0.28);
  background: #fff;
  color: var(--error);
}

button.danger:hover {
  background: #fff4f3;
}

.page-header button.danger {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.page-header button.danger:hover {
  background: rgba(255, 255, 255, 0.14);
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.hero {
  overflow: hidden;
  margin-bottom: 1.25rem;
  padding: 2.5rem 2rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 39, 64, 0.98), rgba(24, 58, 91, 0.96)),
    radial-gradient(circle at top right, rgba(78, 163, 209, 0.22), transparent 28%);
}

.hero.hero-page {
  text-align: left;
}

.hero .hero-inner,
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.hero h2 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.08;
  border: 0;
}

.hero p.tagline {
  margin: 0 0 1.4rem;
  max-width: 62ch;
  color: rgba(235, 244, 250, 0.92);
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #dcebf6;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cta-row a {
  text-decoration: none;
}

.btn-primary-lg,
.btn-secondary-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
}

.btn-secondary-lg {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.05);
}

.btn-secondary-lg:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-visual {
  display: grid;
  gap: 0.9rem;
}

.hero-visual .visual-card {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}

.visual-card h3,
.visual-card p {
  margin: 0;
}

.visual-card h3 {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  color: #fff;
}

.visual-card p {
  color: rgba(235, 244, 250, 0.9);
  font-size: 0.88rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.9rem;
  margin: 0 0 1.25rem;
}

.stat-card {
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.stat-card .stat-label {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stat-card .stat-value {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
}

.section-panel {
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0 0;
}

.feature-card {
  padding: 1.35rem;
  background: linear-gradient(180deg, #fff, #f8fcff);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.feature-card .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  background: #eaf4fb;
  color: var(--accent);
  font-size: 1.15rem;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 1.2rem;
  align-items: start;
}

.bullets {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.bullets li {
  position: relative;
  padding-left: 1.3rem;
  margin: 0.55rem 0;
  color: var(--text);
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.field-row,
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.radio-group label,
.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.radio-group input,
.checkbox-row input {
  width: auto;
}

.checkbox-row {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(215, 225, 234, 0.65);
}

.checkbox-row:last-child {
  border-bottom: 0;
}

.checkbox-row .price {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.company-paid-options-list {
  margin: 0;
  padding: 0 0 0 1.2rem;
}

.company-paid-option-row {
  margin: 0.35rem 0;
  color: var(--text);
}

.company-paid-option-empty {
  list-style: none;
  margin-left: -1.2rem;
}

table.rx-table,
table.list-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

table.rx-table {
  font-size: 0.86rem;
  border-radius: 16px;
  overflow: hidden;
}

table.rx-table th,
table.rx-table td,
table.list-table th,
table.list-table td {
  border: 1px solid var(--border);
  padding: 0.62rem 0.72rem;
  text-align: left;
}

table.rx-table th,
table.list-table th {
  background: #eef5fb;
  color: var(--navy);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

table.rx-table td,
table.rx-table th {
  text-align: center;
}

table.rx-table input {
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  padding: 0.35rem 0.2rem;
  box-shadow: none;
}

.rx-table-compact {
  width: min(100%, 560px);
}

.rx-table-compact th:nth-child(2),
.rx-table-compact th:nth-child(3),
.rx-table-compact th:nth-child(4),
.rx-table-compact th:nth-child(5),
.rx-table-compact td:nth-child(2),
.rx-table-compact td:nth-child(3),
.rx-table-compact td:nth-child(4),
.rx-table-compact td:nth-child(5) {
  width: 20%;
}

.live-total {
  margin: 0.75rem 0 0.15rem;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.badge.sent {
  background: #e6f6eb;
  color: var(--success);
}

.badge.failed {
  background: #fde8e6;
  color: var(--error);
}

.badge.not_configured {
  background: #eef3f7;
  color: var(--muted);
}

.draggable-row {
  cursor: grab;
}

.draggable-row.dragging {
  opacity: 0.55;
}

.draggable-row.drop-target {
  outline: 2px solid rgba(43, 111, 156, 0.35);
  outline-offset: -2px;
}

.link-action,
.link-danger {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transform: none;
}

.link-action {
  color: var(--accent);
}

.link-danger {
  color: var(--error);
}

.link-action:hover,
.link-danger:hover {
  transform: none;
  box-shadow: none;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: none;
}

.outline-primary {
  color: var(--accent);
  border: 1px solid rgba(43, 111, 156, 0.35);
}

.outline-primary:hover {
  background: rgba(43, 111, 156, 0.06);
}

.outline-danger {
  color: var(--error);
  border: 1px solid rgba(179, 38, 30, 0.32);
}

.outline-danger:hover {
  background: rgba(179, 38, 30, 0.06);
}

.confirmation-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.25rem 1.6rem;
  text-align: center;
}

.confirmation-box .icon {
  margin-bottom: 0.5rem;
  font-size: 3rem;
}

.page-intro {
  margin-bottom: 1rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.page-intro h2 {
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-size: 1.15rem;
}

.page-intro p {
  margin: 0;
  color: var(--muted);
}

.submissions-main {
  width: min(1320px, calc(100% - 2rem));
}

.submissions-card {
  overflow-x: auto;
}

.column-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  margin: 0.45rem 0 1rem;
}

.column-picker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

#submissions-table {
  min-width: max-content;
}

#submissions-table thead tr:nth-child(2) input[type="text"] {
  padding: 0.25rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  width: 100%;
  box-sizing: border-box;
}

#submissions-table thead tr:nth-child(2) select {
  padding: 0.25rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
  appearance: auto;
  width: 100%;
}


  width: 1%;
  white-space: nowrap;
}

#submissions-table .status-form {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
}

#submissions-table .status-form select {
  width: 13ch;
  min-width: 13ch;
  padding: 0.25rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
  appearance: auto;
}

.site-footer {
  margin-top: 1.5rem;
  padding: 1.4rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer .contact-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: var(--accent);
}

@media (max-width: 900px) {
  header.page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  header.page-header > div {
    width: 100%;
    justify-content: flex-start;
  }

  .hero .hero-inner,
  .hero-grid,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .employee-row {
    grid-template-columns: 1fr;
  }

  .frame-row-top,
  .frame-row-bottom {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

@media (max-width: 760px) {
  main,
  .submissions-main {
    width: min(100%, calc(100% - 1rem));
  }

  .card,
  .section-panel,
  .hero,
  .confirmation-box,
  .page-intro {
    border-radius: 18px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .actions {
    justify-content: stretch;
    flex-direction: column;
  }

  .actions button,
  .actions a {
    width: 100%;
  }

  .site-footer .contact-row {
    gap: 0.6rem 1rem;
  }
}
