:root {
  --bg: #f4f8fc;
  --surface: rgba(6, 10, 18, 0.94);
  --surface-soft: rgba(13, 20, 34, 0.88);
  --surface-bright: rgba(255, 255, 255, 0.08);
  --text: #f7fbff;
  --text-muted: rgba(230, 241, 252, 0.76);
  --text-soft: rgba(214, 229, 244, 0.56);
  --line: rgba(167, 198, 230, 0.16);
  --line-strong: rgba(83, 169, 255, 0.48);
  --accent: #1683ff;
  --accent-strong: #0a57c9;
  --accent-soft: #8fd2ff;
  --success: #2ebd85;
  --danger: #ff5b6b;
  --shadow-lg: 0 24px 60px rgba(3, 9, 20, 0.28);
  --shadow-md: 0 14px 32px rgba(3, 9, 20, 0.22);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1320px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(91, 174, 255, 0.34), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(20, 112, 255, 0.26), transparent 22%),
    radial-gradient(circle at 78% 78%, rgba(56, 132, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #1b4ea8 0%, #08204f 34%, #010409 100%);
  color: var(--text);
}

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

[hidden] {
  display: none !important;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

.page-glow {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

.page-glow-left {
  top: 4rem;
  left: -7rem;
  background: rgba(143, 210, 255, 0.26);
}

.page-glow-right {
  right: -4rem;
  bottom: 5rem;
  background: rgba(22, 131, 255, 0.2);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.topbar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  padding: 1.1rem 1.15rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(2, 8, 18, 0.97), rgba(16, 24, 40, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.1rem;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
  z-index: 20;
}

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

.brand-avatar-fallback {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #f7fbff;
  box-shadow: var(--shadow-md);
}

.brand-mail-icon {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(0.5px);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title,
.brand-subtitle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-title {
  font-weight: 800;
  font-size: 1rem;
}

.brand-subtitle {
  color: rgba(220, 235, 250, 0.72);
  font-size: 0.84rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.action-button,
.icon-button,
.primary-cta,
.secondary-cta,
.folder-button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 5px;
  transition: transform 180ms ease-out, border-color 180ms ease-out, background-color 180ms ease-out, opacity 180ms ease-out;
}

.action-button:hover,
.icon-button:hover,
.primary-cta:hover,
.secondary-cta:hover,
.folder-button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.action-button:active,
.icon-button:active,
.primary-cta:active,
.secondary-cta:active,
.folder-button:active {
  transform: scale(0.98);
}

.action-button,
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.92rem 1.3rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #f7fbff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(10, 87, 201, 0.24);
}

.secondary-cta,
.icon-button,
.folder-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.08rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
}

.connect-button {
  min-width: 12.5rem;
}

.hero-card,
.section-block,
.hero-status-card,
.register-card,
.mailbox-gate-card,
.mail-sidebar,
.mail-panel,
.summary-box,
.thread-note,
.message-form {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(4, 10, 20, 0.97), rgba(18, 28, 44, 0.92));
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.hero-card,
.section-block,
.hero-status-card,
.register-card,
.mailbox-gate-card,
.mail-sidebar,
.mail-panel {
  border-radius: var(--radius-xl);
}

.hero-card {
  overflow: hidden;
  margin-bottom: 1rem;
}

.hero-banner {
  position: relative;
  background:
    linear-gradient(135deg, rgba(143, 210, 255, 0.12), rgba(22, 131, 255, 0.05)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1'%3E%3Cpath d='M40 120C220 20 440 20 640 100s280 260 220 360'/%3E%3Cpath d='M0 280C140 120 360 80 560 160s280 220 340 340'/%3E%3Cpath d='M120 560C220 380 420 260 640 280s260 140 220 280'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(22, 22, 22, 0.2), rgba(22, 22, 22, 0.42));
  background-size: cover;
  background-position: center;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 11, 22, 0.9) 0%, rgba(10, 18, 34, 0.72) 60%, rgba(24, 38, 60, 0.5) 100%);
}

.hero-layout {
  position: relative;
  display: grid;
  gap: 1.15rem;
  padding: 1.7rem;
}

.hero-layout-mail {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  justify-items: center;
}

.hero-register-flow {
  width: 100%;
  max-width: 58rem;
  text-align: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: center;
  text-align: center;
  width: 100%;
}

.eyebrow,
.section-kicker,
.meta-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--accent-soft);
}

.hero-copy h1 {
  margin: 0;
  font-family: "Bebas Neue", "Trebuchet MS", sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  max-width: none;
  width: 100%;
}

.hero-bio,
.card-note,
.thread-note p,
.workflow-status-item p {
  color: var(--text-muted);
}

.hero-bio {
  margin: 0 auto;
  max-width: 60ch;
  font-size: 1rem;
}

.public-action-copy,
.about-note {
  margin: 0;
}

.hero-actions,
.hero-meta,
.hero-status-actions,
.registration-actions,
.folder-list,
.message-actions,
.modal-action-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 0.35rem;
}

.meta-chip {
  min-width: 11rem;
  padding: 0.78rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.meta-chip strong,
.meta-chip span {
  display: block;
}

.meta-chip strong {
  margin-top: 0.25rem;
}

.hero-status-card,
.mailbox-gate-card,
.mail-sidebar,
.mail-panel,
.register-card {
  padding: 1.4rem;
}

.public-action-card {
  display: grid;
  gap: 1rem;
  align-self: start;
  max-width: 58rem;
  width: 100%;
  text-align: center;
}

.hero-register-flow .panel-header {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 0.35rem;
}

.hero-register-flow .panel-header > div {
  display: grid;
  gap: 0.25rem;
  justify-items: center;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.public-action-card .panel-header {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 0.35rem;
}

.public-action-card .panel-header > div {
  display: grid;
  gap: 0.25rem;
  justify-items: center;
}

.panel-header-compact {
  margin-bottom: 0.95rem;
}

.panel-header h2 {
  margin: 0.15rem 0 0;
  font-size: 1.45rem;
}

.status-stack,
.requirements-list {
  display: grid;
  gap: 0.95rem;
}

.summary-box {
  padding: 1.05rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.summary-box span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.summary-box strong {
  display: block;
  word-break: break-word;
}

.summary-box-register {
  display: grid;
  gap: 0.8rem;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

#subnameResultCard.subname-result-card-available {
  background:
    linear-gradient(135deg, rgba(160, 225, 255, 0.24), rgba(72, 160, 255, 0.12)),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(143, 210, 255, 0.42);
}

#subnameResultCard.subname-result-card-taken {
  background:
    linear-gradient(135deg, rgba(255, 133, 148, 0.18), rgba(255, 91, 107, 0.1)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 91, 107, 0.28);
}

#subnameResultBadge {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

#subnameResultBadge.subname-badge-available {
  font-family: "Bebas Neue", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 0.92;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b9ffcf;
  text-shadow: 0 0 20px rgba(46, 189, 133, 0.42);
}

.public-action-card .summary-box {
  text-align: center;
}

.hero-register-flow .summary-box {
  text-align: center;
}

.public-action-card .registration-actions {
  width: 100%;
  justify-content: center;
}

.hero-register-flow .registration-actions {
  width: 100%;
  justify-content: center;
}

.public-action-card .registration-actions .secondary-cta,
.public-action-card .registration-actions .primary-cta,
.public-action-card .registration-actions button {
  width: 100%;
  justify-content: center;
}

.hero-register-flow .registration-actions .secondary-cta,
.hero-register-flow .registration-actions .primary-cta,
.hero-register-flow .registration-actions button {
  width: 100%;
  justify-content: center;
}

.registration-actions-result {
  margin-top: 0.15rem;
}

#registerSubnameButton {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(247, 251, 255, 0.9);
  box-shadow: none;
}

#subnameResultCard.subname-result-card-available #registerSubnameButton:not(:disabled) {
  background: linear-gradient(135deg, rgba(88, 153, 108, 0.95), rgba(58, 110, 77, 0.95));
  border-color: rgba(163, 224, 171, 0.42);
  color: #effff3;
  box-shadow: 0 10px 24px rgba(41, 84, 56, 0.24);
}

#subnameResultCard.subname-result-card-taken #registerSubnameButton,
#registerSubnameButton:disabled {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(231, 239, 248, 0.45);
  box-shadow: none;
  opacity: 0.72;
}

.wallet-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(143, 210, 255, 0.12);
  color: var(--text);
  font-size: 0.84rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.section-block {
  padding: 1.5rem;
  margin-bottom: 1.15rem;
}

.register-grid,
.workspace-grid {
  display: grid;
  gap: 1.15rem;
}

.register-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.workspace-grid {
  grid-template-columns: minmax(290px, 0.7fr) minmax(0, 1.3fr);
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.95rem;
  align-items: end;
  margin-bottom: 1.1rem;
}

.search-row-hero {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
}

.search-field,
.settings-form label,
.message-form label {
  display: grid;
  gap: 0.55rem;
}

.subname-input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 52px;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.subname-suffix {
  display: inline-flex;
  align-items: center;
  padding: 0 1.05rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  line-height: 1.45;
  resize: vertical;
}

.subname-input-wrap input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

input::placeholder,
textarea::placeholder {
  color: rgba(214, 229, 244, 0.42);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(83, 169, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(22, 131, 255, 0.16);
}

.subname-input-wrap:focus-within {
  border-color: rgba(83, 169, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(22, 131, 255, 0.16);
}

.workflow-status-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 1.05rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.workflow-status-dot {
  width: 0.9rem;
  height: 0.9rem;
  margin-top: 0.25rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(230, 230, 230, 0.96);
}

.workflow-status-item.is-active .workflow-status-dot {
  background: var(--accent-soft);
  box-shadow: 0 0 0 6px rgba(83, 169, 255, 0.16);
}

.mail-sidebar {
  display: grid;
  gap: 1.15rem;
  align-self: start;
}

.folder-list {
  gap: 0.75rem;
}

.folder-button {
  justify-content: flex-start;
}

.folder-button.active {
  background: linear-gradient(135deg, rgba(22, 131, 255, 0.98), rgba(10, 87, 201, 0.98));
  border-color: transparent;
}

.mail-list {
  display: grid;
  gap: 0.9rem;
  max-height: 60rem;
  overflow: auto;
  padding-top: 0.1rem;
}

.mail-item {
  display: grid;
  gap: 0.45rem;
  padding: 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}

.mail-item.active {
  border-color: rgba(83, 169, 255, 0.4);
  background: rgba(83, 169, 255, 0.14);
}

.mail-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.mail-item h3,
.mail-item p {
  margin: 0;
}

.mail-item h3 {
  font-size: 0.98rem;
}

.mail-item p,
.mail-item-meta {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.mail-main {
  display: grid;
  gap: 1.15rem;
}

.mailbox-gate-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 12rem);
}

.mailbox-gate-card {
  width: min(100%, 860px);
  display: grid;
  gap: 1.1rem;
  text-align: left;
}

.mailbox-gate-title {
  margin: 0;
  font-family: "Bebas Neue", "Trebuchet MS", sans-serif;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
}

.mailbox-gate-copy {
  max-width: 56ch;
}

.mailbox-gate-actions,
.mailbox-gate-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.mailbox-gate-status .summary-box {
  flex: 1 1 16rem;
}

.mailbox-gate-note {
  margin: 0;
}

.summary-box-thread,
.summary-box-register {
  margin-bottom: 1rem;
}

.action-detail-list {
  margin-top: 0.15rem;
  width: 100%;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-grid {
  display: grid;
  gap: 1.15rem;
  justify-items: center;
}

.about-intro {
  display: grid;
  gap: 0.9rem;
  max-width: 68rem;
  justify-items: center;
  text-align: center;
}

.about-intro h2,
.about-card h3 {
  margin: 0;
}

.about-intro h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.02;
  max-width: 20ch;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.about-card {
  display: grid;
  gap: 0.7rem;
  padding: 1.2rem 1.15rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.02);
}

.about-card p {
  margin: 0;
  color: var(--text-muted);
}

.network-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  padding-top: 0.2rem;
  width: 100%;
}

.network-node {
  display: grid;
  gap: 0.4rem;
  min-height: 100%;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(83, 169, 255, 0.18);
  background: linear-gradient(135deg, rgba(18, 47, 91, 0.38), rgba(255, 255, 255, 0.04));
}

.network-node strong {
  font-size: 0.98rem;
}

.network-node span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.message-thread {
  display: grid;
  gap: 0.95rem;
  min-height: 20rem;
  margin-bottom: 1.15rem;
}

.thread-note {
  padding: 1.25rem;
  border-radius: 1rem;
}

.thread-note strong {
  display: block;
  margin-bottom: 0.3rem;
}

.thread-bubble {
  max-width: min(88%, 38rem);
  padding: 1.05rem 1.1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.thread-bubble.thread-bubble-self {
  justify-self: end;
  background: rgba(22, 131, 255, 0.14);
  border-color: rgba(83, 169, 255, 0.35);
}

.thread-bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.thread-bubble-text {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.message-form {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.settings-span-2 {
  grid-column: span 2;
}

.hero-status-actions {
  margin-top: 0.55rem;
}

.registration-actions,
.message-actions,
.modal-action-row {
  margin-top: 0.2rem;
}

.folder-list,
.hero-status-actions,
.registration-actions,
.message-actions,
.modal-action-row {
  align-items: center;
}

button:disabled {
  opacity: 0.46;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  padding: 0.95rem 1.1rem;
  border-radius: 1rem;
  background: rgba(246, 251, 255, 0.98);
  color: #0d1624;
  border: 1px solid rgba(83, 169, 255, 0.24);
  box-shadow: var(--shadow-md);
  max-width: min(28rem, calc(100vw - 2rem));
}

.toast-success {
  border-color: rgba(79, 210, 143, 0.45);
}

.toast-error {
  border-color: rgba(255, 121, 121, 0.4);
}

@keyframes fade-slide-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card,
.section-block {
  animation: fade-slide-in 420ms ease-out both;
}

@media (max-width: 1120px) {
  .hero-layout-mail,
  .register-grid,
  .workspace-grid,
  .about-cards,
  .network-strip {
    grid-template-columns: 1fr;
  }

  .action-detail-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: 100%;
    padding: 0.35rem 0 1rem;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 0;
    padding: 0.75rem;
  }

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

  .connect-button {
    width: 100%;
  }

  .hero-card,
  .section-block,
  .hero-status-card,
  .register-card,
  .mail-sidebar,
  .mail-panel {
    border-radius: 0;
  }

  .hero-layout,
  .section-block,
  .mail-sidebar,
  .mail-panel {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .search-row,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .settings-span-2 {
    grid-column: span 1;
  }

  .hero-copy h1 {
    max-width: none;
  }
}
