/* Generated from src/theme/tokens.ts — do not edit here. */
@font-face { font-family: 'Astroguna Display'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/BricolageGrotesque_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Astroguna Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/IBMPlexSans_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Astroguna Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/IBMPlexSans_500Medium.ttf') format('truetype'); }
@font-face { font-family: 'Astroguna Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/IBMPlexSans_600SemiBold.ttf') format('truetype'); }
:root {
  --c-bgBase: #FFFCF5;
  --c-bgRaised: #FFF4E0;
  --c-bgSunken: #F2E9D6;
  --c-bgSelected: #1C1420;
  --c-bgControl: #FFFCF5;
  --c-ink: #1C1420;
  --c-inkDim: #6B6069;
  --c-inkOnSelected: #FFFCF5;
  --c-vermilion: #E03E2F;
  --c-green: #0F6B5C;
  --c-marigold: #E8A317;
  --c-aubergine: #3B1E4A;
  --c-alert: #B3261E;
  --c-divider: #E6DFD2;
  --lattice-dot: color-mix(in srgb, var(--c-ink) 2%, transparent);
  --space-base: 4px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 20px;
  --space-xxl: 24px;
  --space-xxxl: 32px;
  --space-huge: 40px;
  --space-giant: 56px;
  --space-hair: 2px;
  --layout-gutter: 20px;
  --layout-latticePitch: 20px;
  --layout-tapMin: 48px;
  --layout-inlineControl: 32px;
  --layout-controlHeight: 44px;
  --layout-chipHeight: 36px;
  --layout-listRowMin: 60px;
  --layout-dataRowGlyph: 20px;
  --layout-iconButton: 24px;
  --layout-stepGlyph: 16px;
  --layout-checkGlyph: 14px;
  --layout-checkbox: 20px;
  --layout-otpCaretHeight: 26px;
  --layout-tickHeight: 28px;
  --layout-barHeight: 20px;
  --layout-bulletOffset: 11px;
  --layout-otpCellWidth: 48px;
  --layout-otpCellHeight: 56px;
  --layout-drawerRowHeight: 52px;
  --layout-drawerHeaderHeight: 64px;
  --layout-tabTickWidth: 18px;
  --layout-minScreenWidth: 360px;
  --layout-drawerWidth: 324px;
  --layout-webPageMaxWidth: 648px;
  --radius-card: 12px;
  --stroke-hairline: 1px;
  --stroke-structure: 1.5px;
  --stroke-emphasis: 3px;
  --type-display40-size: 40px;
  --type-display40-leading: 46px;
  --type-display32-size: 32px;
  --type-display32-leading: 37px;
  --type-title28-size: 28px;
  --type-title28-leading: 34px;
  --type-title24-size: 24px;
  --type-title24-leading: 30px;
  --type-heading20-size: 20px;
  --type-heading20-leading: 28px;
  --type-body17-size: 17px;
  --type-body17-leading: 26px;
  --type-body17Devanagari-size: 17px;
  --type-body17Devanagari-leading: 27px;
  --type-bodySm15-size: 15px;
  --type-bodySm15-leading: 23px;
  --type-mono13-size: 13px;
  --type-mono13-leading: 18px;
  --type-mono12-size: 12px;
  --type-mono12-leading: 16px;
  --type-label11-size: 11px;
  --type-label11-leading: 14px;
  --type-micro9-size: 9px;
  --type-micro9-leading: 12px;
  --tracking-display: -0.01em;
  --tracking-caps: 0.06em;
  --tracking-label: 0.08em;
  --motion-press: 80ms;
  --motion-curve: 0.25, 0.46, 0.45, 0.94;
  --motion-pressScale: 0.98;
  --brand-google-red: #EA4335;
  --brand-google-blue: #4285F4;
  --brand-google-yellow: #FBBC05;
  --brand-google-green: #34A853;
  --font-display: 'Astroguna Display', system-ui, sans-serif;
  --font-sans: 'Astroguna Sans', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --c-bgBase: #14120F;
    --c-bgRaised: #2B2621;
    --c-bgSunken: #0D0B0A;
    --c-bgSelected: #4A423A;
    --c-bgControl: #2B2621;
    --c-ink: #F5EDE4;
    --c-inkDim: #B0A8A0;
    --c-inkOnSelected: #F5EDE4;
    --c-vermilion: #FF6A55;
    --c-green: #4FB79E;
    --c-marigold: #F0B940;
    --c-aubergine: #BE94D4;
    --c-alert: #F85963;
    --c-divider: #3E3832;
  }
}

/*
 * Every colour, size and space here is a variable generated from
 * src/theme/tokens.ts by scripts/build-delete-account-page.ts, which prepends
 * them to this file. No literal values: hard rule 6 applies to this page too.
 */

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

html {
  -webkit-text-size-adjust: 100%;
}

/* `display: flex` on a panel or button would otherwise beat `hidden`. */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background-color: var(--c-bgBase);
  /* The dot lattice every layout in the app sits on. */
  background-image: radial-gradient(
    circle at center,
    var(--lattice-dot) var(--stroke-hairline),
    transparent var(--stroke-structure)
  );
  background-size: var(--layout-latticePitch) var(--layout-latticePitch);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: var(--type-body17-size);
  line-height: var(--type-body17-leading);
  padding-inline: var(--layout-gutter);
}

.page {
  max-width: var(--layout-webPageMaxWidth);
  margin-inline: auto;
  padding-block: var(--space-giant);
  display: flex;
  flex-direction: column;
  gap: var(--space-xxxl);
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  margin: 0;
}

h1 {
  font-size: var(--type-display40-size);
  line-height: var(--type-display40-leading);
}

h2 {
  font-size: var(--type-heading20-size);
  line-height: var(--type-heading20-leading);
}

h2:focus {
  outline: none;
}

p {
  margin: 0;
}

.masthead {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.eyebrow,
.label {
  font-family: var(--font-sans);
  font-size: var(--type-label11-size);
  line-height: var(--type-label11-leading);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-inkDim);
}

.eyebrow {
  color: var(--c-vermilion);
}

.lede,
.dim {
  color: var(--c-inkDim);
}

.small {
  font-size: var(--type-bodySm15-size);
  line-height: var(--type-bodySm15-leading);
}

.facts {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-block-start: var(--space-xxl);
  border-top: var(--stroke-hairline) solid var(--c-divider);
}

.facts h2:not(:first-child) {
  margin-block-start: var(--space-lg);
}

.facts ul {
  margin: 0;
  padding-inline-start: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  color: var(--c-inkDim);
}

.facts p {
  color: var(--c-inkDim);
}

.panel {
  background: var(--c-bgRaised);
  border: var(--stroke-hairline) solid var(--c-divider);
  border-radius: var(--radius-card);
  padding: var(--space-xxl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.notice {
  border-inline-start: var(--stroke-emphasis) solid var(--c-alert);
  padding: var(--space-md) var(--space-lg);
  background: var(--c-bgSunken);
  border-radius: var(--radius-card);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

input[type='email'],
input[type='password'] {
  min-height: var(--layout-tapMin);
  padding-inline: var(--space-lg);
  border: var(--stroke-structure) solid var(--c-divider);
  border-radius: var(--radius-card);
  background: var(--c-bgBase);
  color: var(--c-ink);
  font: inherit;
}

input:focus-visible,
.button:focus-visible,
summary:focus-visible {
  outline: var(--stroke-emphasis) solid var(--c-aubergine);
  outline-offset: var(--stroke-emphasis);
}

.button {
  min-height: var(--layout-tapMin);
  padding-inline: var(--space-xxl);
  border-radius: var(--radius-card);
  border: var(--stroke-structure) solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition: transform var(--motion-press) cubic-bezier(var(--motion-curve));
}

.button:active:not(:disabled) {
  transform: scale(var(--motion-pressScale));
}

/* Same as the app's Button: bgSunken/inkDim whatever the variant. */
.button:disabled {
  cursor: default;
  background: var(--c-bgSunken);
  border-color: transparent;
  color: var(--c-inkDim);
}

.button[aria-busy='true'] {
  cursor: progress;
}

.primary {
  background: var(--c-vermilion);
  color: var(--c-bgBase);
}

.secondary {
  background: var(--c-bgBase);
  border-color: var(--c-ink);
  color: var(--c-ink);
}

.ghost {
  background: transparent;
  color: var(--c-ink);
}

.destructive {
  background: transparent;
  border-color: var(--c-alert);
  color: var(--c-alert);
}

.mark {
  width: var(--space-xl);
  height: var(--space-xl);
}

/* Apple's mark is monochrome: it takes the button's own text colour. */
.apple {
  fill: currentColor;
}

.g-red {
  fill: var(--brand-google-red);
}
.g-blue {
  fill: var(--brand-google-blue);
}
.g-yellow {
  fill: var(--brand-google-yellow);
}
.g-green {
  fill: var(--brand-google-green);
}

.divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--c-inkDim);
  font-size: var(--type-bodySm15-size);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-top: var(--stroke-hairline) solid var(--c-divider);
}

.alt summary {
  min-height: var(--layout-tapMin);
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--c-ink);
  font-weight: 500;
}

.alt[open] summary {
  margin-block-end: var(--space-md);
}

.check {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  min-height: var(--layout-tapMin);
  cursor: pointer;
}

.check input {
  width: var(--space-xl);
  height: var(--space-xl);
  margin: var(--space-xs) 0 0;
  accent-color: var(--c-ink);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
  .button:active:not(:disabled) {
    transform: none;
  }
}
