:root {
  color-scheme: light;
  --ink: #0b0d12;
  --muted: #606775;
  --line: rgba(0, 0, 0, .1);
  --paper: #fff;
  --soft: #f8fafd;
  --blue: #1a73e8;
  --green: #188038;
  --yellow: #fbbc04;
  --red: #ea4335;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 10px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  backdrop-filter: saturate(180%) blur(22px);
}

.brand,
.site-header nav,
.trust-row,
.hero-actions,
.preview-top {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
}

.brand img {
  border-radius: 8px;
  background: #07111f;
}

.site-header nav {
  justify-content: center;
  gap: 26px;
  color: #2d3442;
  font-size: .9rem;
  font-weight: 700;
}

.site-header nav a,
.nav-icon,
.tab-icon {
  display: inline-flex;
  align-items: center;
}

.site-header nav a {
  gap: 7px;
}

.admin-menu-toggle,
.mobile-admin-menu {
  display: none;
}

.admin-menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.admin-menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #111827;
}

.nav-icon,
.tab-icon {
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #0b0d12;
  background: #f2f4f7;
  font-size: .76rem;
  font-weight: 900;
}

.open-mail,
.primary-action,
.secondary-action,
.admin-panel button,
.signup-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 4px;
  padding: 0 20px;
  font-weight: 800;
}

.open-mail,
.primary-action,
.admin-panel button,
.signup-card button {
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
}

.admin-panel button:disabled,
.signup-card button:disabled {
  cursor: wait;
  opacity: .72;
}

.secondary-action {
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(26, 115, 232, .32);
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(520px, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  min-height: auto;
  padding: clamp(58px, 8vw, 98px) clamp(22px, 7vw, 140px) clamp(56px, 7vw, 92px);
  background: #fff;
  text-align: left;
}

.hero-copy {
  max-width: 520px;
}

.hero-lockup {
  display: block;
  margin: 0 0 18px;
  border-radius: 12px;
  background: #07111f;
  box-shadow: 0 8px 24px rgba(11, 17, 31, .12);
}

.eyebrow {
  margin: 0 0 14px;
  color: #5f6368;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 560px;
  margin: 0 0 22px;
  font-size: 4.2rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 520px;
  color: #424b5a;
  font-size: 1.34rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-points span {
  border: 1px solid rgba(26, 115, 232, .18);
  border-radius: 999px;
  background: #f5f9ff;
  padding: 8px 11px;
  color: #23436f;
  font-size: .86rem;
  font-weight: 800;
}

.trust-row {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  padding: 8px 12px;
  color: #3b4351;
  font-size: .9rem;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(60, 64, 67, .16);
}

.mail-badge,
.hero-alias-card,
.profile-card {
  position: absolute;
  border: 1px solid rgba(218, 220, 224, .95);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(60, 64, 67, .18);
}

.mail-badge {
  top: -30px;
  left: 8%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 0 22px;
  color: #202124;
  font-size: 1.08rem;
  font-weight: 800;
}

.mail-badge span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #fff;
  background: #07111f;
}

.hero-alias-card {
  top: 76px;
  left: -28px;
  display: grid;
  gap: 9px;
  width: min(245px, 44%);
  padding: 18px;
  color: #202124;
  font-size: .9rem;
  font-weight: 760;
}

.hero-alias-card strong {
  margin-bottom: 4px;
  color: #202124;
  font-size: .95rem;
}

.hero-alias-card span {
  display: block;
  border-radius: 8px;
  background: #f4f7fb;
  padding: 9px 10px;
  color: #3f4a5d;
}

.profile-card {
  right: 4%;
  bottom: 10px;
  width: min(440px, 68%);
  padding: 22px;
}

.profile-card strong,
.profile-card span,
.profile-card small {
  display: block;
}

.profile-card strong {
  font-size: 1.16rem;
  line-height: 1.2;
}

.profile-card span {
  margin-top: 8px;
  color: #5f6368;
}

.profile-card small {
  margin-top: 16px;
  color: #5f6368;
  font-size: .94rem;
}

.profile-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

code {
  border-radius: 8px;
  background: #eef3fd;
  padding: 6px 8px;
  color: #173461;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .86rem;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 6vw, 88px);
  background: #fff;
}

.intro-strip {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 62px clamp(20px, 7vw, 96px);
  background: #f8fafd;
  text-align: center;
}

.intro-strip h2 {
  max-width: 920px;
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-strip p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.band {
  background: #fff;
}

.for-who-section {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(520px, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  background: #fff;
}

.for-who-copy {
  max-width: 560px;
}

.for-who-copy h2 {
  margin: 0 0 16px;
  font-size: 3rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.for-who-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.for-who-grid {
  display: grid;
  gap: 14px;
}

.for-who-grid article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px 18px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 8px;
  background: #f8fafd;
  padding: 20px;
}

.for-who-grid span {
  grid-row: 1 / span 2;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #174ea6;
  background: #e8f0fe;
  font-size: .8rem;
  font-weight: 900;
}

.for-who-grid article:nth-child(2) span {
  color: #137333;
  background: #e6f4ea;
}

.for-who-grid article:nth-child(3) span {
  color: #a50e0e;
  background: #fce8e6;
}

.for-who-grid h3 {
  margin: 0;
  color: #101623;
  font-size: 1.08rem;
  line-height: 1.2;
}

.for-who-grid p {
  margin: 0;
  color: #4f5b6c;
  font-size: .95rem;
}

.feature-grid,
.plans,
.split {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid article,
.plan,
.signup-card,
.dns-table,
.support {
  border: 1px solid rgba(218, 220, 224, .95);
  border-radius: 8px;
  background: var(--paper);
}

.feature-grid article {
  padding: 28px;
  background: #fff;
}

.steps article {
  min-height: 230px;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 850;
}

.steps article:nth-child(2) .step-icon {
  background: var(--green);
}

.steps article:nth-child(3) .step-icon {
  background: var(--red);
}

.feature-grid h2 {
  font-size: 1.2rem;
}

.feature-grid p,
.plan p,
.muted,
.support p {
  color: var(--muted);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading > p:not(.eyebrow) {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading h2,
.split h2,
.support h2 {
  font-size: 3rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.plans {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.plan {
  padding: 30px;
  background: #fff;
}

.plan.featured {
  background: #f8fbff;
  border-color: rgba(0, 113, 227, .28);
  box-shadow: 0 18px 48px rgba(26, 115, 232, .12);
}

.custom-plan {
  background: #f8fafd;
}

.plan-name {
  display: inline-flex;
  margin-bottom: 16px;
  color: #6e6e73;
  font-size: .84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.plan h3 {
  margin-bottom: 10px;
  font-size: 3rem;
  line-height: 1;
}

.plan h3 small {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.plan ul {
  margin: 24px 0 0;
  padding-left: 18px;
  color: #243246;
}

.plan li + li {
  margin-top: 10px;
}

.support-tickets {
  background: #fff;
}

.ticket-public-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.ticket-public-grid article {
  border: 1px solid rgba(218, 220, 224, .95);
  border-radius: 8px;
  background: #f8fafd;
  padding: 24px;
}

.ticket-public-grid strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.ticket-public-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.split {
  grid-template-columns: minmax(0, .9fr) minmax(340px, .52fr);
  align-items: start;
  background: #f8fafd;
}

.split .section-copy {
  max-width: 760px;
}

.split .muted {
  font-size: 1.08rem;
}

.signup-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 4px;
}

.flow-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 999px;
  color: #64748b;
  background: #f7f9fc;
  font-size: .78rem;
  font-weight: 850;
  text-align: center;
}

.flow-steps .active {
  color: var(--blue);
  background: #eef5ff;
  border-color: rgba(26, 115, 232, .24);
}

.signup-card label {
  display: grid;
  gap: 7px;
  color: #344154;
  font-size: .9rem;
  font-weight: 750;
}

.signup-card input,
.signup-card select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.signup-card button {
  width: 100%;
  cursor: pointer;
}

.id-link {
  text-align: center;
  color: var(--blue);
  font-weight: 750;
}

.trial-note {
  margin: 0;
  color: #5f6368;
  font-size: .84rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.id-choice {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  border: 0;
  padding: 0;
}

.id-choice legend {
  margin-bottom: 2px;
  color: #344154;
  font-size: .9rem;
  font-weight: 750;
}

.id-choice label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  cursor: pointer;
}

.id-choice input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.id-choice span {
  display: grid;
  gap: 2px;
}

.id-choice strong {
  color: #172033;
  font-size: .92rem;
}

.id-choice small {
  color: #64748b;
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.35;
}

.legal-acceptance {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  border: 1px solid rgba(26, 115, 232, .22);
  border-radius: 8px;
  padding: 12px;
  color: #344154;
  background: #f7fbff;
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.4;
}

.legal-acceptance input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.legal-acceptance a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-login-panel {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(0, 0, 0, .09);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 20px 55px rgba(32, 33, 36, .08);
}

.admin-login-panel div {
  display: grid;
  gap: 4px;
}

.admin-login-panel strong {
  font-size: 1.05rem;
}

.admin-login-panel span {
  color: #64748b;
  font-size: .92rem;
  font-weight: 750;
}

.admin-page {
  background: #f6f8fb;
}

.admin-loading-shell {
  display: none;
}

.auth-checking .admin-header,
.auth-checking .admin-shell {
  visibility: hidden;
}

.auth-checking .admin-loading-shell {
  display: block;
}

.admin-loading-header {
  position: sticky;
  top: 0;
  z-index: 19;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 10px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(22px);
}

.admin-loading-brand,
.admin-loading-nav,
.admin-loading-hero,
.admin-loading-board,
.admin-loading-panel-head,
.admin-loading-timeline {
  display: flex;
  align-items: center;
}

.admin-loading-brand {
  gap: 10px;
}

.admin-loading-nav {
  justify-content: center;
  gap: 24px;
}

.admin-loading-nav span {
  width: 74px;
  height: 18px;
  border-radius: 999px;
}

.admin-loading-main {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px) 72px;
}

.admin-loading-hero,
.admin-loading-board {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.admin-loading-hero {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  box-shadow: 0 18px 55px rgba(32, 33, 36, .06);
}

.admin-loading-account {
  display: grid;
  gap: 10px;
  width: min(100%, 320px);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  padding: 18px;
  background: #f8fafd;
}

.admin-loading-board {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
}

.admin-loading-sidebar,
.admin-loading-panel {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(32, 33, 36, .06);
}

.admin-loading-sidebar {
  display: grid;
  align-self: start;
  gap: 10px;
  padding: 12px;
}

.admin-loading-sidebar span {
  height: 46px;
  border-radius: 10px;
}

.admin-loading-panel {
  min-height: 290px;
  padding: clamp(20px, 4vw, 30px);
}

.admin-loading-panel-head {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-loading-timeline {
  align-items: stretch;
  gap: 10px;
}

.admin-loading-timeline span {
  flex: 1;
  min-height: 146px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  background: #f8fafd;
}

.skeleton-logo,
.skeleton-line,
.skeleton-button,
.skeleton-pill,
.admin-loading-nav span,
.admin-loading-sidebar span,
.admin-loading-timeline span {
  position: relative;
  overflow: hidden;
  background: #edf1f6;
}

.skeleton-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.skeleton-line,
.skeleton-button,
.skeleton-pill {
  display: block;
  border-radius: 999px;
}

.skeleton-line {
  height: 14px;
}

.skeleton-brand-line {
  width: 128px;
  height: 18px;
}

.skeleton-eyebrow {
  width: 116px;
  margin-bottom: 16px;
}

.skeleton-title {
  width: min(56vw, 440px);
  height: 46px;
  margin-bottom: 18px;
}

.skeleton-panel-title {
  width: min(52vw, 360px);
  height: 32px;
}

.skeleton-copy {
  width: min(62vw, 520px);
  height: 18px;
}

.skeleton-copy.short {
  width: 82%;
}

.skeleton-account-email {
  width: 76%;
  height: 24px;
}

.skeleton-button {
  width: 112px;
  height: 44px;
}

.skeleton-button.wide {
  width: 100%;
}

.skeleton-pill {
  width: 132px;
  height: 34px;
}

.skeleton-logo::after,
.skeleton-line::after,
.skeleton-button::after,
.skeleton-pill::after,
.admin-loading-nav span::after,
.admin-loading-sidebar span::after,
.admin-loading-timeline span::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .68), transparent);
  content: "";
  transform: translateX(-100%);
  animation: nmail-skeleton 1.25s ease-in-out infinite;
}

@keyframes nmail-skeleton {
  to {
    transform: translateX(100%);
  }
}

.admin-header {
  position: sticky;
}

.admin-shell {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px) 72px;
}

.outbox-page {
  min-height: 100vh;
  color: #202124;
  background: #eef3fb;
}

.outbox-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
}

.outbox-login-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.08fr) minmax(280px, .92fr);
  width: min(100%, 870px);
  min-height: 432px;
  overflow: hidden;
  border: 1px solid rgba(60, 64, 67, .14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(60, 64, 67, .16);
}

.outbox-login-brand {
  display: grid;
  align-content: space-between;
  gap: 48px;
  padding: 32px;
  color: #fff;
  background: linear-gradient(145deg, #2f7df0 0%, #1664d9 48%, #279052 100%);
}

.outbox-login-brand img {
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.outbox-login-brand strong {
  display: block;
  margin-bottom: 22px;
  font-size: 1rem;
}

.outbox-login-brand p {
  max-width: 330px;
  margin: 0;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.65;
}

.outbox-login-brand p + p {
  margin-top: 20px;
}

.outbox-login-form {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(28px, 5vw, 46px);
}

.outbox-login-heading {
  text-align: center;
}

.outbox-login-heading h1 {
  margin: 0;
  font-size: 2rem;
}

.outbox-login-heading p {
  margin: 4px 0 0;
  color: #5f6368;
  font-weight: 750;
}

.outbox-login-form label {
  position: relative;
  display: block;
}

.outbox-login-form .field-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  translate: 0 -50%;
  color: #5f6368;
  font-weight: 900;
}

.outbox-login-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(60, 64, 67, .16);
  border-radius: 14px;
  padding: 0 16px 0 48px;
  background: #fff;
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(60, 64, 67, .06);
}

.outbox-login-form .form-status:empty {
  display: none;
}

.outbox-login-form .form-status {
  border-radius: 12px;
  padding: 12px 14px;
  color: #8a5b00;
  background: #fff7df;
  font-size: .86rem;
  font-weight: 750;
}

.outbox-remember {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #303847;
  font-size: .9rem;
  font-weight: 700;
}

.outbox-remember input {
  width: 15px;
  min-height: 15px;
  padding: 0;
  accent-color: #1a73e8;
}

.outbox-login-form button {
  min-height: 46px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  background: #1a73e8;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(26, 115, 232, .18);
}

.outbox-shell {
  display: grid;
  grid-template-columns: 184px minmax(320px, 390px) minmax(0, 1fr);
  min-height: 100vh;
  background: #fff;
}

.outbox-rail,
.outbox-list-panel,
.outbox-preview,
.outbox-compose-panel,
.outbox-utility-panel {
  min-width: 0;
}

.outbox-rail {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  border-right: 1px solid #dde3ee;
  padding: 12px 8px;
  background: #f2f6fc;
}

.outbox-brand {
  min-height: 34px;
  padding: 4px 8px;
  font-size: 1.25rem;
  font-weight: 900;
}

.outbox-brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.outbox-rail nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.outbox-rail nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  border: 0;
  border-radius: 18px;
  padding: 0 14px;
  color: #202124;
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.outbox-rail nav button.active {
  background: #d3e3fd;
}

.outbox-compose-nav {
  justify-content: center;
  min-height: 40px !important;
  margin: 0 2px 8px;
  color: #202124 !important;
  background: #fff !important;
  box-shadow: 0 2px 7px rgba(60, 64, 67, .18);
}

.outbox-logout {
  justify-content: center;
  min-height: 34px;
  border-radius: 18px;
  font-size: .84rem;
}

.outbox-list-panel {
  grid-column: 2 / 3;
  border-right: 1px solid #e5e9f0;
  background: #fff;
}

.outbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  border-bottom: 1px solid #e5e9f0;
  padding: 8px 12px;
}

.outbox-toolbar h1 {
  margin: 0;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.outbox-toolbar button {
  min-height: 30px;
  border: 1px solid #d6dbe4;
  border-radius: 9px;
  padding: 0 12px;
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.outbox-message-list {
  display: grid;
  max-height: calc(100vh - 52px);
  overflow: auto;
}

.outbox-message {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) minmax(240px, 1fr) 160px;
  align-items: center;
  gap: 18px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  padding: 9px 12px;
  color: #202124;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.outbox-message.active {
  background: #fffde8;
}

.outbox-message strong {
  color: #202124;
  font-size: .9rem;
}

.outbox-message span,
.outbox-message small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.outbox-preview {
  grid-column: 3 / 4;
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 100vh;
  padding: 28px 34px;
  overflow: auto;
  background: #fff;
}

.outbox-preview-header {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  padding-bottom: 24px;
}

.outbox-preview-header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  overflow-wrap: anywhere;
}

.outbox-preview-header p {
  margin: 0;
  color: #64748b;
  font-weight: 750;
}

.outbox-details {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.outbox-details div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
}

.outbox-details dt {
  color: #64748b;
  font-weight: 850;
}

.outbox-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.outbox-events {
  display: grid;
  gap: 10px;
  border-radius: 8px;
  padding: 18px;
  background: #f8fafd;
}

.outbox-events h3,
.outbox-events p {
  margin: 0;
}

.outbox-events h3 {
  font-size: 1rem;
}

.outbox-compose-panel,
.outbox-utility-panel {
  grid-column: 2 / 4;
  min-height: 100vh;
  background: #fff;
}

.outbox-compose-panel {
  position: fixed;
  right: 24px;
  bottom: 0;
  z-index: 50;
  width: min(720px, calc(100vw - 48px));
  min-height: 0;
  max-height: min(780px, calc(100vh - 32px));
  overflow: hidden;
  border: 1px solid #cfd5df;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: #fff;
  box-shadow: 0 16px 40px rgba(60, 64, 67, .28);
}

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

.outbox-compose-header {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border-bottom: 1px solid #d6dbe4;
  padding: 6px 10px 6px 16px;
  color: #fff;
  background: #202124;
}

.outbox-compose-header h1,
.outbox-compose-header strong {
  margin: 0;
  font-size: .92rem;
  font-weight: 850;
}

.outbox-compose-header button {
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  color: #f8fafc;
  background: transparent;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.outbox-compose-header button:hover {
  background: rgba(255, 255, 255, .14);
}

.outbox-compose-header button:last-child {
  min-width: 32px;
  padding: 0 8px;
  font-size: 1.35rem;
  line-height: 1;
}

.outbox-compose-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-height: calc(min(780px, 100vh - 32px) - 42px);
  overflow: auto;
}

.outbox-compose-form label {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  margin: 0 16px;
  border-bottom: 1px solid #edf0f4;
  color: #5f6368;
  font-size: .9rem;
  font-weight: 500;
}

.outbox-compose-form label[hidden] {
  display: none;
}

.outbox-compose-form input,
.outbox-compose-form textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 14px 0;
  color: #202124;
  background: #fff;
  font: inherit;
  outline: none;
}

.outbox-compose-form input {
  min-height: 42px;
}

.outbox-compose-form input[readonly] {
  color: #202124;
  background: #fff;
  font-weight: 800;
}

.outbox-compose-form textarea {
  grid-column: 1 / -1;
  min-height: 260px;
  padding: 18px 16px;
  resize: vertical;
}

.outbox-compose-form .outbox-message-body {
  display: block;
  margin: 0;
  border-bottom: 0;
}

.outbox-message-body > span {
  display: none;
}

.outbox-compose-tabs,
.outbox-format-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #edf0f4;
  padding: 8px 16px;
}

.outbox-compose-tabs span {
  padding: 8px 14px;
  color: #8a8d93;
  font-size: .9rem;
  font-weight: 850;
}

.outbox-compose-tabs span.active {
  color: #0b65dc;
  border-bottom: 3px solid #0b65dc;
}

.outbox-format-toolbar {
  gap: 6px;
  overflow-x: auto;
  border-top: 1px solid #dfe3ea;
}

.outbox-format-toolbar span {
  min-width: 34px;
  border: 1px solid #d6dbe4;
  border-radius: 7px;
  padding: 6px 10px;
  color: #3c4043;
  background: #fff;
  text-align: center;
  font-size: .84rem;
  font-weight: 750;
}

.outbox-compose-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 50px;
  padding: 8px 16px 12px;
}

.outbox-compose-actions .form-status {
  margin-right: auto;
}

.outbox-compose-actions button {
  min-height: 36px;
  border: 1px solid #d6dbe4;
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.outbox-compose-actions button[type="submit"] {
  color: #fff;
  border-color: #0b65dc;
  background: #0b65dc;
}

.outbox-event-list {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.outbox-event-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 170px;
  gap: 14px;
  align-items: start;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  padding: 14px;
  background: #fff;
}

.outbox-event-row strong,
.outbox-event-row span,
.outbox-event-row small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.outbox-event-row strong {
  color: #174ea6;
}

.outbox-event-row small {
  color: #64748b;
  font-weight: 750;
}

.outbox-settings-list {
  display: grid;
  gap: 12px;
  max-width: 720px;
  padding: 16px;
}

.outbox-settings-list div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  padding: 14px 0;
}

.outbox-settings-list dt {
  color: #64748b;
  font-weight: 850;
}

.outbox-settings-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.outbox-settings-actions {
  display: flex;
  padding: 0 16px 24px;
}

.outbox-preview-back {
  display: none;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 32px;
}

.admin-hero h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.compact-admin-hero {
  align-items: center;
  margin-bottom: 24px;
}

.compact-admin-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.trial-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, .09);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(32, 33, 36, .1);
}

.trial-card span {
  color: var(--green);
  font-size: .82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.trial-card strong {
  font-size: 2rem;
  line-height: 1.05;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.trial-card p {
  margin: 0 0 4px;
  color: #5f6368;
  font-weight: 650;
}

.account-card .secondary-action {
  width: 100%;
}

.admin-board {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.admin-sidebar,
.admin-panel {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(32, 33, 36, .06);
}

.admin-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  align-self: start;
  gap: 6px;
  padding: 12px;
}

.admin-sidebar button {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 11px 12px;
  color: #435066;
  background: transparent;
  font-size: .94rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.admin-sidebar button.active,
.admin-sidebar button:hover {
  color: #0b0d12;
  background: #f1f3f6;
}

.admin-sidebar button.active .tab-icon,
.admin-sidebar button:hover .tab-icon {
  color: #fff;
  background: #0b0d12;
}

.admin-content {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.admin-panel {
  min-width: 0;
  padding: clamp(20px, 4vw, 30px);
}

.admin-panel[data-admin-panel] {
  display: none;
}

.admin-panel[data-admin-panel].active {
  display: block;
}

.overview-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 24px;
  align-items: end;
}

.admin-panel h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  overflow-wrap: anywhere;
}

.admin-panel p {
  max-width: 680px;
  margin: 10px 0 0;
  color: #5f6368;
  font-weight: 650;
}

.status-grid,
.mailbox-list,
.billing-flow,
.setup-timeline {
  display: grid;
  gap: 10px;
}

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

.status-grid div,
.mailbox-list > div,
.billing-flow div,
.domain-admin-card,
.setup-timeline div,
.registrar-instructions,
.custom-instructions {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  background: #f8fafd;
}

.status-grid div {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.status-grid small,
.domain-admin-card span,
.mailbox-list > div > span {
  color: #64748b;
  font-size: .82rem;
  font-weight: 800;
}

.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-panel button {
  min-height: 40px;
  cursor: pointer;
}

.admin-panel button.secondary-action {
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(26, 115, 232, .32);
}

.admin-form .checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-size: .92rem;
  color: #202124;
}

.admin-form .checkbox-line input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.admin-panel .primary-action,
.admin-panel .secondary-action {
  min-height: 40px;
  border-radius: 4px;
}

.setup-status,
.checker-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--blue);
  background: #e8f0fe;
  font-size: .84rem;
  font-weight: 850;
}

.dns-check-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.checker-pill.checking::before {
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border: 2px solid rgba(26, 115, 232, .25);
  border-top-color: var(--blue);
  border-radius: 50%;
  content: "";
  animation: dns-spin .8s linear infinite;
}

@keyframes dns-spin {
  to {
    transform: rotate(360deg);
  }
}

.setup-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.setup-timeline div {
  display: grid;
  gap: 6px;
  min-height: 146px;
  padding: 16px;
}

.setup-timeline span {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
}

.setup-timeline .done span {
  border-color: var(--green);
  background: var(--green);
  box-shadow: inset 0 0 0 5px #fff;
}

.setup-timeline .active {
  border-color: rgba(26, 115, 232, .28);
  background: #eef5ff;
}

.setup-timeline .active span {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: inset 0 0 0 5px #fff;
}

.setup-timeline strong {
  font-size: 1rem;
}

.setup-timeline small {
  color: #64748b;
  font-weight: 700;
  line-height: 1.35;
}

.registrar-grid {
  display: grid;
  grid-template-columns: minmax(260px, .46fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.registrar-grid:has(.dns-domain-toolbar:not([hidden])) {
  grid-template-columns: minmax(220px, .36fr) minmax(220px, .36fr) minmax(0, 1fr);
}

.dns-domain-toolbar {
  display: grid;
}

.registrar-grid label {
  display: grid;
  gap: 8px;
  color: #344154;
  font-size: .9rem;
  font-weight: 800;
}

.registrar-grid select,
.dns-domain-toolbar select {
  min-height: 48px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
}

.registrar-instructions,
.custom-instructions {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.registrar-instructions p,
.custom-instructions p {
  margin: 0;
}

.empty-state {
  display: grid;
  gap: 6px;
  border: 1px dashed rgba(0, 0, 0, .16);
  border-radius: 12px;
  padding: 20px;
  background: #f8fafd;
}

.empty-state strong {
  color: var(--ink);
  font-size: 1rem;
}

.empty-state p {
  margin: 0;
  color: #64748b;
  font-weight: 700;
}

.empty-state button {
  justify-self: start;
  margin-top: 8px;
}

.admin-form {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(180px, .8fr) minmax(180px, .8fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  background: #fff;
}

.domain-toolbar {
  margin: 0 0 16px;
}

.domain-toolbar label {
  display: grid;
  max-width: 360px;
  gap: 8px;
  color: #344154;
  font-size: .9rem;
  font-weight: 800;
}

.domain-toolbar select {
  min-height: 44px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 12px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 16px;
}

.admin-dialog {
  width: min(620px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 28px));
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 22px;
  padding: 0;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .22);
}

.admin-dialog::backdrop {
  background: rgba(12, 16, 24, .32);
  backdrop-filter: blur(14px);
}

.dialog-close-form {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding: 14px 14px 0;
  background: linear-gradient(#fff 70%, rgba(255, 255, 255, 0));
}

.dialog-close-form button {
  width: 34px;
  min-height: 34px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  color: #4b5563;
  background: #f1f3f6;
  font-size: 1.24rem;
  font-weight: 700;
  cursor: pointer;
}

.dialog-form,
.admin-dialog .admin-form {
  grid-template-columns: 1fr;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0 24px 24px;
  background: #fff;
}

.dialog-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}

.dialog-heading p:not(.eyebrow) {
  margin: 8px 0 0;
  color: #64748b;
  font-weight: 700;
}

.dialog-form button[type="submit"] {
  width: 100%;
}

.mailbox-form {
  grid-template-columns: minmax(360px, 1.25fr) minmax(220px, .9fr) minmax(220px, .9fr) auto;
}

.mailbox-domain-toolbar {
  grid-column: 1 / -1;
}

.alias-form {
  grid-template-columns: minmax(360px, 1fr) minmax(320px, 1fr) auto;
}

.admin-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #344154;
  font-size: .86rem;
  font-weight: 850;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.admin-form textarea {
  padding-top: 10px;
  line-height: 1.45;
}

.input-with-suffix {
  display: grid;
  grid-template-columns: minmax(76px, .42fr) minmax(0, .58fr);
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 8px;
  overflow: clip;
  background: #fff;
}

.input-with-suffix input {
  min-height: 40px;
  border: 0;
  border-radius: 0;
}

.input-with-suffix > span {
  padding: 0 12px;
  color: #64748b;
  font-size: .82rem;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-status,
.helper-copy {
  grid-column: 1 / -1;
  min-height: 20px;
}

.helper-copy {
  margin-bottom: 12px !important;
}

.danger-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(234, 67, 53, .35) !important;
  border-radius: 4px;
  padding: 0 16px;
  background: #fff !important;
  color: var(--red) !important;
  font-weight: 850;
}

.billing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.billing-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.delivery-switch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 10px;
  padding: 12px 14px;
  background: #f8fafc;
}

.delivery-switch-card div {
  display: grid;
  gap: 3px;
}

.delivery-switch-card strong {
  color: var(--ink);
  font-size: .9rem;
}

.delivery-switch-card span {
  color: #64748b;
  font-size: .82rem;
  font-weight: 750;
}

.delivery-switch-card strong span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.delivery-current {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 10px;
  background: #e0f2fe;
  color: #075985 !important;
  white-space: nowrap;
}

.delivery-domain-toolbar {
  margin: 0 0 12px;
}

.delivery-confirm-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.delivery-confirm-details div {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 10px;
  padding: 12px;
  background: #f8fafc;
}

.delivery-confirm-details dt {
  margin-bottom: 4px;
  color: #64748b;
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.delivery-confirm-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.delivery-confirm-details + .custom-instructions ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.delivery-confirm-details + .custom-instructions li {
  margin: 6px 0;
  color: #475569;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.45;
}

.delivery-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.delivery-toggle button {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 4px 10px;
  min-height: 96px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 10px;
  padding: 16px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.delivery-toggle button.active {
  border-color: rgba(26, 115, 232, .38);
  background: #eef5ff;
  box-shadow: inset 0 0 0 1px rgba(26, 115, 232, .1);
}

.delivery-toggle button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.delivery-toggle strong {
  align-self: center;
  font-size: 1rem;
}

.delivery-toggle span {
  grid-column: 2;
  color: #64748b;
  font-size: .84rem;
  font-weight: 750;
  line-height: 1.4;
}

.delivery-toggle .switch-dot {
  position: relative;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 24px;
  height: 24px;
  border: 2px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
}

.delivery-toggle button.active .switch-dot {
  border-color: #1a73e8;
}

.delivery-toggle button.active .switch-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: #1a73e8;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.billing-summary div {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  background: #f8fafd;
  padding: 14px;
}

.delivery-grid div {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  background: #f8fafd;
  padding: 14px;
}

.billing-summary dt {
  color: #64748b;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.delivery-grid dt {
  color: #64748b;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.billing-summary dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.plan-cards article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
}

.plan-cards span {
  color: #6b7280;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-cards strong {
  font-size: 1.8rem;
  line-height: 1;
}

.plan-cards p {
  margin: 0;
  color: #64748b;
  font-size: .9rem;
}

.delivery-grid dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.delivery-instructions {
  margin-top: 0;
}

.domain-admin-card {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.domain-admin-card strong {
  font-size: 1.35rem;
}

.mailbox-list > div,
.billing-flow div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}

.domain-list > div {
  align-items: stretch;
  border-radius: 16px;
  background: #fff;
}

.domain-list > div.active-domain {
  border-color: rgba(0, 0, 0, .16);
  background: #fafafa;
}

.domain-list > div > strong {
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}

.api-key-list > div {
  display: grid;
  grid-template-columns: minmax(150px, .9fr) minmax(180px, 1fr) minmax(300px, 1.8fr) minmax(140px, .8fr) auto;
  align-items: center;
}

.api-key-list > div > strong,
.api-key-list > div > span,
.api-key-list > div > .api-key-event {
  min-width: 0;
  overflow-wrap: anywhere;
}

.api-key-list > div > .api-key-event {
  margin: 0;
}

.mailbox-list .inline-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.mailbox-list .inline-actions button {
  min-height: 34px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 4px;
  padding: 0 10px;
  background: #fff;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 850;
}

.api-key-list .inline-actions button {
  min-width: 74px;
}

.api-secret-box {
  margin: 14px 0;
}

.api-secret-box code {
  display: block;
  margin-top: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #111827;
  color: #f8fafc;
  overflow-x: auto;
  white-space: nowrap;
}

.compact-action {
  margin-top: 10px;
  min-height: 34px;
  padding: 0 12px;
}

.api-key-usage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}

.api-key-usage div {
  min-width: 0;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.api-key-usage dt {
  color: #64748b;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.api-key-usage dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 900;
}

.api-key-event {
  margin: 10px 0 0;
  color: #64748b;
  font-size: .78rem;
  font-weight: 750;
}

.api-key-form textarea,
.extended-request-form textarea,
.support-ticket-form textarea {
  min-height: 118px;
  resize: vertical;
}

.support-ticket-form {
  margin-bottom: 16px;
}

.support-ticket-form .wide-field {
  grid-column: 1 / -1;
}

.ticket-list > div {
  align-items: start;
}

.api-test-form {
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) minmax(160px, .7fr) auto minmax(160px, .72fr);
}

.api-limit-grid {
  margin-bottom: 12px;
}

.api-docs {
  display: grid;
  gap: 14px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  background: #fff;
}

.api-docs summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

.api-docs summary::-webkit-details-marker {
  display: none;
}

.api-docs summary::after {
  float: right;
  color: #64748b;
  content: "+";
}

.api-docs[open] summary::after {
  content: "−";
}

.api-docs-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.api-docs-heading strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.api-docs-heading p {
  margin: 4px 0 0;
}

.api-docs-heading span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 10px;
  color: #174ea6;
  background: #e8f0fe;
  font-size: .76rem;
  font-weight: 900;
}

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

.api-code-grid article,
.api-error-grid div {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 10px;
  background: #f8fafd;
}

.api-code-grid article {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
}

.api-code-grid h3 {
  margin: 0;
  font-size: .95rem;
}

.api-code-grid pre {
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  border-radius: 8px;
  background: #111827;
}

.api-code-grid code {
  display: block;
  min-width: max-content;
  padding: 14px;
  background: transparent;
  color: #f8fafc;
  font-size: .78rem;
  line-height: 1.55;
  white-space: pre;
}

.api-error-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.api-error-grid div {
  padding: 12px;
}

.api-error-grid dt {
  color: #172033;
  font-size: .78rem;
  font-weight: 900;
}

.api-error-grid dd {
  margin: 6px 0 0;
  color: #64748b;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
}

.developers {
  background: #f8fafd;
}

.developers .section-heading p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.developer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.developer-panel {
  min-width: 0;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.developer-install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.developer-install-grid a {
  display: grid;
  gap: 6px;
  overflow-x: auto;
  border-radius: 8px;
  padding: 12px 14px;
  background: #111827;
  color: #f8fafc;
  text-decoration: none;
}

.developer-install-grid a span {
  color: rgba(248, 250, 252, .72);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.developer-install-grid code {
  display: block;
  color: inherit;
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.developer-rules {
  align-self: start;
  display: grid;
  gap: 14px;
}

.developer-rules > strong {
  font-size: 1.15rem;
}

.developer-rules p {
  margin: 0;
  color: #4f5b6c;
}

.developer-rules dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.developer-rules dl div {
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafd;
}

.developer-rules dt {
  color: #172033;
  font-size: .78rem;
  font-weight: 900;
}

.developer-rules dd {
  margin: 5px 0 0;
  color: #64748b;
  font-size: .86rem;
  font-weight: 700;
}

.safety-section {
  background: #fff;
}

.safety-section .section-heading p:last-child,
.delivery-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.safety-grid article {
  min-width: 0;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 8px;
  background: #f8fafd;
  padding: 22px;
}

.safety-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  color: #174ea6;
  background: #e8f0fe;
  font-size: .76rem;
  font-weight: 900;
}

.safety-grid h3 {
  margin: 18px 0 10px;
  color: #101623;
  font-size: 1.08rem;
  line-height: 1.18;
}

.safety-grid p {
  margin: 0;
  color: #4f5b6c;
  font-size: .95rem;
}

.delivery-section {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 68px);
  background: #f8fafd;
}

.delivery-copy {
  max-width: 560px;
}

.delivery-copy h2 {
  margin: 0 0 16px;
  font-size: 3rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.delivery-flow {
  position: relative;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(32, 33, 36, .08);
}

.delivery-flow div {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 62px;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 8px;
  background: #f8fafd;
  padding: 12px 16px 12px 42px;
}

.delivery-flow div::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 3px solid rgba(26, 115, 232, .22);
  border-radius: 999px;
  background: #1a73e8;
  transform: translateY(-50%);
}

.delivery-flow strong {
  color: #101623;
  font-size: .9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.delivery-separator {
  display: none;
}

.delivery-flow span {
  color: #64748b;
  font-size: .92rem;
  font-weight: 700;
  min-width: 0;
}

.delivery-flow .warning {
  border-color: rgba(251, 188, 4, .35);
  background: #fff8e1;
}

.delivery-flow .warning::before {
  border-color: rgba(251, 188, 4, .35);
  background: #fbbc04;
}

.delivery-flow .danger {
  border-color: rgba(234, 67, 53, .24);
  background: #fff1f0;
}

.delivery-flow .danger::before {
  border-color: rgba(234, 67, 53, .24);
  background: #ea4335;
}

.checker-pill.warning {
  color: #b45309;
  background: #fff7ed;
}

.billing-flow div {
  align-items: center;
  justify-content: flex-start;
  font-weight: 800;
}

.billing-flow div::before {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 6px;
  background: #eef2f7;
  color: #64748b;
  font-size: .8rem;
  font-weight: 900;
  content: " ";
}

.billing-flow .done::before {
  background: #e6f4ea;
  color: var(--green);
  content: "✓";
}

.billing-flow [data-billing-stripe-step].done::before {
  background: #e6f4ea;
  color: var(--green);
  content: "✓";
}

.dns-section {
  overflow: hidden;
  background: #fff;
}

.dns-table {
  max-width: 100%;
  overflow-x: auto;
  background: #fff;
  overscroll-behavior-x: contain;
}

.dns-header,
.dns-row {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) 90px 90px minmax(260px, 2fr);
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.admin-dns-table .dns-header,
.admin-dns-table .dns-row {
  grid-template-columns: 220px 70px 90px minmax(340px, 1fr) 150px 150px 105px;
  min-width: 1270px;
}

.dns-action,
.dns-purpose {
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
  color: #1f3a5f;
  background: #edf4ff;
  font-size: .78rem;
  font-weight: 850;
}

.dns-action.keep {
  color: #174a35;
  background: #e6f4ea;
}

.dns-action.add {
  color: #1f3a5f;
  background: #edf4ff;
}

.dns-action.replace {
  color: #7c3f00;
  background: #fff1d6;
}

.dns-empty-row {
  display: block;
  color: #64748b;
  font-weight: 800;
}

.dns-row span[data-record-status] {
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
  color: #7c5a00;
  background: #fff7d6;
  font-size: .78rem;
  font-weight: 850;
}

.dns-row span[data-record-status].ok {
  color: #137333;
  background: #e6f4ea;
}

.custom-instructions {
  margin-top: 16px;
}

.dns-header {
  background: #202124;
  color: #fff;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.dns-row strong {
  font-weight: 850;
}

.dns-row code {
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
}

.dns-record-hint {
  display: block;
  margin-top: 7px;
  color: #9a3412;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .76rem;
  font-weight: 850;
  line-height: 1.35;
}

.dns-row code[data-dkim-value] {
  font-size: .82rem;
  line-height: 1.55;
}

.support {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 88px);
  padding: 32px;
  background: #f8fafd;
}

.faq {
  background: #fff;
}

.faq-list {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid rgba(218, 220, 224, .95);
}

.faq-list details {
  border-bottom: 1px solid rgba(218, 220, 224, .95);
  padding: 22px 0;
}

.faq-list summary {
  cursor: pointer;
  color: #202124;
  font-size: 1.15rem;
  font-weight: 800;
}

.faq-list p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
}

.benefits {
  background: #fff;
}

.benefit-list {
  display: grid;
  gap: clamp(54px, 8vw, 94px);
  max-width: 1180px;
  margin: 0 auto;
}

.benefit-list article {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(420px, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.benefit-list article:nth-child(even) {
  grid-template-columns: minmax(420px, 1fr) minmax(280px, .72fr);
}

.benefit-list article:nth-child(even) > div:first-child {
  order: 2;
}

.benefit-list h3 {
  max-width: 560px;
  margin-bottom: 16px;
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  line-height: 1.03;
}

.benefit-list p:last-child {
  max-width: 530px;
  margin-bottom: 0;
  color: #4f5b6c;
  font-size: 1.12rem;
}

.story-visual {
  position: relative;
  min-height: 390px;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(66, 133, 244, .24), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(52, 168, 83, .18), transparent 30%),
    linear-gradient(135deg, #f8fafd, #eef3fd);
}

.story-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .56) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .56) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, .7), transparent 72%);
}

.mail-window,
.domain-card,
.setup-panel {
  position: absolute;
  border: 1px solid rgba(218, 220, 224, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 22px 58px rgba(60, 64, 67, .18);
  backdrop-filter: blur(14px);
}

.mail-window {
  left: 7%;
  right: 7%;
  top: 54px;
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(218, 220, 224, .75);
  color: #5f6368;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ea4335;
}

.window-bar span:nth-child(2) {
  background: #fbbc04;
}

.window-bar span:nth-child(3) {
  background: #34a853;
}

.window-bar strong {
  margin-left: 10px;
}

.mail-row {
  display: grid;
  gap: 4px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(218, 220, 224, .68);
}

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

.mail-row.active {
  background: #f8fbff;
}

.mail-row small {
  color: var(--blue);
  font-weight: 800;
}

.mail-row strong {
  color: #202124;
}

.mail-row span {
  color: #5f6368;
}

.address-preview {
  background:
    radial-gradient(circle at 76% 25%, rgba(251, 188, 4, .24), transparent 35%),
    radial-gradient(circle at 20% 78%, rgba(234, 67, 53, .15), transparent 34%),
    linear-gradient(135deg, #fff8e8, #eef7ff);
}

.domain-card {
  top: 46px;
  left: 8%;
  right: 8%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  align-items: center;
  padding: 22px;
}

.domain-dot {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), #34a853);
}

.domain-card small {
  color: #5f6368;
}

.address-grid {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.address-grid span {
  border: 1px solid rgba(218, 220, 224, .88);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  padding: 16px 18px;
  box-shadow: 0 14px 34px rgba(60, 64, 67, .12);
  color: #202124;
  font-weight: 850;
}

.setup-preview {
  background:
    radial-gradient(circle at 22% 22%, rgba(52, 168, 83, .22), transparent 34%),
    radial-gradient(circle at 78% 72%, rgba(66, 133, 244, .2), transparent 32%),
    linear-gradient(135deg, #effaf3, #f6f9ff);
}

.setup-panel {
  left: 10%;
  right: 10%;
  top: 42px;
  padding: 28px;
}

.setup-panel > div {
  display: grid;
  gap: 4px;
  margin-bottom: 22px;
}

.setup-panel small {
  color: #5f6368;
}

.setup-panel ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(218, 220, 224, .8);
  border-radius: 8px;
  padding: 14px;
  color: #202124;
  font-weight: 800;
}

.setup-panel li span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 6px #fff;
}

.support .primary-action {
  flex: 0 0 auto;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 88px);
  color: #6e6e73;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, .08);
  font-weight: 650;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

footer a:hover {
  color: var(--blue);
}

.legal-page {
  background: #f8fafd;
}

.legal-document {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 78px) 0;
}

.legal-document h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 6vw, 4rem);
}

.legal-document .lead {
  max-width: 760px;
}

.legal-card {
  display: grid;
  gap: 28px;
  margin-top: 34px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 42px);
  background: #fff;
  box-shadow: 0 18px 48px rgba(32, 33, 36, .08);
}

.legal-card section {
  display: grid;
  gap: 10px;
}

.legal-card h2 {
  margin: 0;
  font-size: 1.14rem;
}

.legal-card p,
.legal-card ul {
  margin: 0;
  color: #485163;
}

.legal-card ul {
  padding-left: 20px;
}

.legal-card li + li {
  margin-top: 6px;
}

@media (max-width: 900px) {
  .outbox-page {
    background: #fff;
  }

  .outbox-login-card {
    grid-template-columns: 1fr;
    min-height: auto;
    width: min(100%, 430px);
    margin: 0 auto;
    border-radius: 0;
  }

  .outbox-login-brand {
    min-height: 190px;
    padding: 28px 22px;
  }

  .outbox-shell {
    position: relative;
    grid-template-columns: 1fr;
    min-height: 100dvh;
    padding-bottom: 72px;
  }

  .outbox-rail {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    min-height: 64px;
    border-top: 1px solid #dde3ee;
    border-right: 0;
    border-bottom: 0;
    padding: 6px max(8px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    background: rgba(248, 250, 253, .98);
    box-shadow: 0 -8px 24px rgba(60, 64, 67, .12);
  }

  .outbox-brand,
  .outbox-rail > .outbox-logout {
    display: none;
  }

  .outbox-rail nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    width: 100%;
    overflow: visible;
  }

  .outbox-rail nav button {
    display: grid;
    width: auto;
    min-height: 52px;
    justify-content: center;
    justify-items: center;
    gap: 3px;
    border-radius: 12px;
    padding: 4px 2px;
    font-size: .72rem;
    line-height: 1;
  }

  .outbox-rail nav button.active {
    color: #174ea6;
    background: #d3e3fd;
  }

  .outbox-compose-nav {
    min-height: 52px !important;
    margin: 0;
    box-shadow: none;
  }

  .outbox-rail nav button span:last-child {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .outbox-list-panel {
    grid-column: auto;
    border-right: 0;
  }

  .outbox-toolbar {
    position: sticky;
    top: 0;
    z-index: 18;
    min-height: 58px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(10px);
  }

  .outbox-toolbar h1 {
    max-width: calc(100vw - 116px);
    font-size: .96rem;
  }

  .outbox-message-list {
    max-height: none;
    overflow: visible;
    padding: 6px 0 10px;
  }

  .outbox-message {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 10px;
    min-height: 76px;
    padding: 11px 14px;
  }

  .outbox-message strong {
    min-width: 0;
    font-size: .95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .outbox-message span {
    grid-column: 1 / -1;
    color: #5f6368;
    font-size: .86rem;
  }

  .outbox-message small {
    grid-column: 1 / -1;
    color: #64748b;
    font-size: .78rem;
  }

  .outbox-shell.outbox-preview-open .outbox-list-panel {
    display: none;
  }

  .outbox-shell.outbox-preview-open .outbox-preview {
    display: grid;
  }

  .outbox-preview {
    grid-column: auto;
    display: none;
    min-height: calc(100dvh - 72px);
    border-top: 0;
    padding: 0 16px 22px;
    overflow: visible;
  }

  .outbox-preview-header {
    position: sticky;
    top: 0;
    z-index: 16;
    gap: 6px;
    margin: 0 -16px;
    padding: 10px 16px 14px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(10px);
  }

  .outbox-preview-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-height: 34px;
    border: 1px solid #d6dbe4;
    border-radius: 17px;
    padding: 0 13px;
    color: #174ea6;
    background: #fff;
    font: inherit;
    font-size: .9rem;
    font-weight: 850;
  }

  .outbox-preview-header h2 {
    font-size: 1.34rem;
    line-height: 1.16;
  }

  .outbox-details {
    gap: 8px;
    margin: 16px 0;
  }

  .outbox-details div {
    grid-template-columns: 1fr;
    gap: 3px;
    border-bottom: 1px solid #edf0f4;
    padding-bottom: 8px;
  }

  .outbox-events {
    padding: 14px;
  }

  .outbox-compose-panel,
  .outbox-utility-panel {
    grid-column: auto;
    min-height: auto;
  }

  .outbox-compose-panel {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    max-height: calc(100dvh - 8px);
    border-right: 0;
    border-left: 0;
    border-radius: 14px 14px 0 0;
  }

  .outbox-compose-header {
    grid-template-columns: auto 1fr auto auto auto;
    gap: 8px;
    min-height: 46px;
    padding: 8px 10px;
  }

  .outbox-compose-header button {
    min-height: 34px;
    padding: 0 8px;
  }

  .outbox-compose-form {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 54px);
  }

  .outbox-compose-form label {
    grid-template-columns: 72px minmax(0, 1fr);
    margin: 0 14px;
    font-size: .9rem;
  }

  .outbox-compose-form input {
    min-height: 46px;
  }

  .outbox-compose-form textarea {
    min-height: min(38dvh, 320px);
    padding: 18px 14px;
  }

  .outbox-compose-tabs {
    padding: 6px 14px;
  }

  .outbox-format-toolbar {
    padding: 7px 14px;
  }

  .outbox-compose-actions {
    position: sticky;
    bottom: 0;
    min-height: 58px;
    padding: 8px 14px max(10px, env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -6px 18px rgba(60, 64, 67, .10);
  }

  .outbox-compose-actions button {
    min-height: 40px;
  }

  .outbox-event-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .outbox-settings-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .outbox-settings-actions {
    padding-bottom: 86px;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .site-header nav {
    display: none;
  }

  .admin-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .admin-header .brand {
    justify-self: start;
  }

  .admin-header .open-mail {
    justify-self: end;
  }

  .admin-menu-toggle {
    display: block;
    order: 3;
  }

  .admin-header .open-mail {
    order: 2;
  }

  .admin-header .brand {
    order: 1;
  }

  .mobile-admin-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    left: 12px;
    z-index: 60;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(32, 33, 36, .18);
    backdrop-filter: saturate(180%) blur(22px);
  }

  .mobile-admin-menu:not([hidden]) {
    display: grid;
  }

  .mobile-admin-menu button,
  .mobile-switch-account {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    padding: 9px 10px;
    color: #202938;
    background: #f6f7f9;
    font: inherit;
    font-size: .9rem;
    font-weight: 800;
    text-align: left;
  }

  .mobile-admin-menu button.active {
    color: #0b0d12;
    background: #eceff3;
  }

  .mobile-admin-menu button.active .tab-icon {
    color: #fff;
    background: #0b0d12;
  }

  .mobile-switch-account {
    grid-column: 1 / -1;
    display: inline-flex;
    justify-content: center;
    color: var(--blue);
    background: #fff;
    border: 1px solid rgba(26, 115, 232, .24);
  }

  .hero,
  .for-who-section,
  .feature-grid,
  .plans,
  .split,
  .ticket-public-grid,
  .developer-layout,
  .safety-grid,
  .delivery-section,
  .admin-hero,
  .admin-board,
  .overview-panel,
  .benefit-list article {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: none;
  }

  .admin-shell {
    padding-top: 24px;
    padding-bottom: 56px;
  }

  .admin-loading-header {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    min-height: 64px;
    padding: 10px 16px;
  }

  .admin-loading-nav {
    display: none;
  }

  .admin-loading-main {
    padding: 24px clamp(18px, 5vw, 72px) 56px;
  }

  .admin-loading-hero,
  .admin-loading-board {
    grid-template-columns: 1fr;
  }

  .admin-loading-account,
  .admin-loading-sidebar {
    display: none;
  }

  .admin-loading-timeline {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-loading-timeline span {
    min-height: 86px;
  }

  .compact-admin-hero {
    margin-bottom: 18px;
  }

  .compact-admin-hero .lead {
    max-width: 680px;
  }

  .account-card {
    display: none;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .setup-timeline,
  .registrar-grid,
  .admin-form,
  .billing-summary,
  .delivery-confirm-details,
  .plan-cards,
  .delivery-toggle,
  .delivery-grid,
  .api-key-usage,
  .api-code-grid,
  .api-error-grid,
  .developer-install-grid,
  .admin-dns-table .dns-header,
  .admin-dns-table .dns-row {
    grid-template-columns: 1fr;
  }

  .admin-dns-table .dns-row {
    min-width: 0;
  }

  .api-key-list > div {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .api-key-list > div > .api-key-event {
    margin-top: 2px;
  }

  .api-docs-heading {
    display: grid;
  }

  .delivery-copy {
    max-width: none;
  }

  .benefit-list article:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .benefit-list article:nth-child(even) > div:first-child {
    order: 0;
  }

  .hero {
    text-align: center;
  }

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

  .hero-lockup {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-points {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
    padding-inline: 16px;
  }

  .brand span {
    display: none;
  }

  .open-mail {
    min-height: 42px;
    padding-inline: 14px;
    font-size: .92rem;
  }

  .hero,
  .section {
    padding-inline: 18px;
  }

  h1 {
    font-size: 2.82rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .section-heading h2,
  .split h2,
  .support h2,
  .for-who-copy h2,
  .delivery-copy h2 {
    font-size: 2rem;
  }

  .for-who-grid article {
    grid-template-columns: 1fr;
  }

  .for-who-grid span {
    grid-row: auto;
  }

  .delivery-flow div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .intro-strip h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .primary-action,
  .secondary-action,
  .admin-panel button {
    width: 100%;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .admin-login-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-shell {
    padding-inline: 16px;
  }

  .admin-loading-main {
    padding-inline: 16px;
  }

  .admin-loading-header .skeleton-brand-line {
    display: none;
  }

  .skeleton-title {
    width: 100%;
    height: 36px;
  }

  .skeleton-panel-title {
    width: 100%;
  }

  .admin-loading-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .skeleton-pill,
  .skeleton-button {
    width: 100%;
  }

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

  .compact-admin-hero h1 {
    margin-bottom: 10px;
    font-size: 2rem;
    line-height: 1.12;
  }

  .compact-admin-hero .lead {
    font-size: 1rem;
    line-height: 1.45;
  }

  .admin-panel {
    border-radius: 14px;
    padding: 20px;
  }

  .panel-heading,
  .mailbox-list > div,
  .billing-actions,
  .quick-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-actions,
  .quick-actions button,
  .quick-actions .secondary-action {
    width: 100%;
  }

  .dns-check-actions,
  .dns-check-actions button,
  .dns-check-actions .checker-pill {
    width: 100%;
  }

  .dns-check-actions .checker-pill {
    justify-content: center;
  }

  .admin-panel button.secondary-action {
    width: 100%;
  }

  .admin-dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: calc(100vh - 10px);
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
  }

  .hero-visual {
    min-height: 440px;
  }

  .hero-visual img {
    height: 300px;
  }

  .mail-badge {
    top: -18px;
    left: 16px;
    min-height: 52px;
    padding-inline: 16px;
    font-size: 1rem;
  }

  .hero-alias-card {
    display: none;
  }

  .profile-card {
    left: 18px;
    right: 18px;
    bottom: 8px;
    width: auto;
  }

  .benefit-list {
    gap: 54px;
  }

  .story-visual {
    min-height: 330px;
  }

  .mail-window {
    left: 12px;
    right: 12px;
    top: 32px;
  }

  .mail-row {
    padding: 14px;
  }

  .domain-card,
  .setup-panel {
    left: 14px;
    right: 14px;
  }

  .address-grid {
    left: 14px;
    right: 14px;
    bottom: 24px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .address-grid span {
    padding: 11px 14px;
  }

  .setup-panel {
    top: 24px;
    padding: 18px;
  }

  .setup-panel li {
    padding: 11px;
  }

  .dns-header {
    display: none;
  }

  .dns-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    background: #fff;
    padding: 14px;
  }

  .dns-row code,
  .dns-row strong {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #f7f9fc;
    padding: 9px 10px;
  }

  .dns-row code::before,
  .dns-row strong::before,
  .dns-action::before,
  .dns-purpose::before,
  .dns-row span[data-record-status]::before {
    content: attr(data-label);
    color: #64748b;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 800;
  }

  .dns-row code[data-dkim-value] {
    font-size: .74rem;
    line-height: 1.45;
  }

  .dns-purpose {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    justify-content: stretch;
    gap: 8px;
    border-radius: 10px;
    padding: 9px 10px;
  }

  .dns-action {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    justify-content: stretch;
    gap: 8px;
    border-radius: 10px;
    padding: 9px 10px;
  }

  .dns-row span[data-record-status] {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    justify-content: stretch;
    gap: 8px;
    border-radius: 10px;
    padding: 9px 10px;
  }

  .support,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
