* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  color-scheme: light dark;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.wrap {
  width: min(1184px, calc(100% - 96px));
  margin-inline: auto;
}
.page-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: clip;
}
.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.7px;
}
.brand:hover {
  text-decoration: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.theme-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  background: transparent;
}
.theme-toggle:hover {
  background: var(--group);
}
.theme-toggle svg {
  width: 17px;
  height: 17px;
}
:root[data-theme='light'] .theme-sun,
:root[data-theme='dark'] .theme-moon {
  display: none;
}
.header-note {
  color: var(--muted);
  font-size: 11px;
}
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-block: 16px 24px;
}
.hero-copy {
  text-align: center;
  position: relative;
  z-index: 1;
}
h1 {
  font-weight: 500;
  font-size: clamp(36px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -2px;
}
h1 > span {
  color: var(--muted);
  margin-left: 0.2em;
}
.motion-shell {
  flex: none;
  position: relative;
  width: min(1480px, calc(100% - 24px));
  aspect-ratio: 1040 / 390;
  margin: 16px auto 0;
}
.motion-scene {
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 50%;
  width: 1040px;
  height: 390px;
  transform: translateX(-50%) scale(var(--scene-scale, 1));
  transform-origin: top center;
  isolation: isolate;
}
.motion-scene[data-ready] {
  visibility: visible;
}
.demo-browser {
  position: absolute;
  left: 36px;
  top: 16px;
  width: 660px;
  height: 340px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-4);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.025),
    0 24px 64px -24px rgba(0, 0, 0, 0.15);
}
.demo-browser-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 44px;
  padding-inline: 20px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-4) var(--radius-4) 0 0;
  background: var(--group);
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.25;
}
.demo-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  height: 24px;
  border-radius: var(--radius-1);
  background: var(--bg);
  color: var(--muted);
  font-size: 10px;
}
.demo-location svg {
  width: 10px;
  height: 10px;
}
.browser-menu {
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--muted);
}
.signup-form {
  position: absolute;
  top: 44px;
  left: 0;
  width: 100%;
  padding: 26px 40px;
}
.signup-heading {
  position: relative;
}
.site-monogram {
  position: absolute;
  right: 0;
  top: 2px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  font-size: 18px;
  font-weight: 500;
  background: var(--group);
}
.signup-heading h2 {
  font-size: 26px;
  line-height: 32px;
  letter-spacing: -0.8px;
  font-weight: 500;
}
.signup-heading p {
  font-size: 12px;
  line-height: 18px;
  margin-top: 4px;
  color: var(--muted);
}
.demo-field-label {
  font-size: 12px;
  line-height: 18px;
  margin-top: 20px;
}
.email-field {
  position: relative;
  height: 52px;
  margin-top: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-3);
  background: var(--bg);
}
.field-placeholder,
.field-value {
  position: absolute;
  left: 16px;
  top: 13px;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.field-placeholder {
  color: var(--muted);
}
.field-value {
  opacity: 0;
}
.field-trigger {
  position: absolute;
  right: 11px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-2);
}
.field-trigger img {
  width: 26px;
  height: 26px;
}
.field-trigger.is-hovered {
  outline: 4px solid var(--soft);
}
.field-check {
  position: absolute;
  right: 14px;
  top: 14px;
  color: var(--success);
  opacity: 0;
}
.field-check svg {
  width: 21px;
  height: 21px;
}
.email-field[data-filled='true'] {
  border-color: var(--muted);
}
.continue-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  margin-top: 16px;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0 16px;
  font-size: 12px;
  border-radius: var(--radius-3);
  transform-origin: center;
}
.continue-button svg {
  width: 16px;
  height: 16px;
}
.continue-button.is-hovered {
  opacity: 0.86;
}
.signup-success {
  position: absolute;
  inset: 44px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
}
.success-mail {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--group);
  border: 1px solid var(--border);
  border-radius: var(--radius-4);
  margin-bottom: 16px;
}
.success-mail svg {
  width: 23px;
  height: 23px;
}
.signup-success h2 {
  font-weight: 500;
  font-size: 27px;
  letter-spacing: -0.8px;
  line-height: 34px;
}
.signup-success p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}
.success-recipient {
  font-size: 13px;
  margin-top: 16px;
}
.mask-menu {
  position: absolute;
  right: 39px;
  top: 230px;
  width: 300px;
  height: 128px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-4);
  background: var(--bg);
  box-shadow: var(--shadow-menu);
  transform-origin: top right;
  opacity: 0;
  z-index: 3;
}
.mask-menu-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  line-height: 18px;
}
.mask-menu-heading strong {
  font-weight: 600;
}
.menu-scope {
  margin-left: auto;
  font-size: 9px;
  color: var(--muted);
}
.menu-action,
.menu-busy,
.menu-result {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 44px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-2);
  padding-inline: 10px;
  font-size: 12px;
}
.menu-action {
  background: var(--accent);
  color: var(--on-accent);
}
.menu-action.is-hovered {
  opacity: 0.85;
}
.menu-action svg {
  width: 14px;
  height: 14px;
  margin-left: auto;
}
.menu-plus {
  font-size: 20px;
  line-height: 1;
  font-weight: 300;
}
.menu-busy {
  opacity: 0;
  background: var(--group);
  color: var(--muted);
}
.creation-spinner {
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--border);
  border-top-color: var(--text);
  border-radius: 50%;
}
.menu-result {
  opacity: 0;
  background: var(--group);
  padding-inline: 8px;
}
.menu-address {
  font-size: 14.4px;
  line-height: 24px;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.menu-result svg {
  width: 14px;
  height: 14px;
  margin-left: auto;
  color: var(--success);
}
.menu-detail {
  position: absolute;
  left: 14px;
  bottom: 13px;
  font-size: 9px;
  color: var(--muted);
}
.flying-address {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  transform-origin: top left;
  opacity: 0;
  font-size: 18px;
  letter-spacing: -0.3px;
  line-height: 24px;
  white-space: nowrap;
  pointer-events: none;
}
.demo-inbox {
  position: absolute;
  left: 756px;
  top: 106px;
  width: 248px;
  height: 220px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-4);
  box-shadow: 0 12px 40px -24px rgba(0, 0, 0, 0.12);
}
.inbox-header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.inbox-header strong {
  font-weight: 500;
}
.inbox-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: var(--radius-2);
}
.inbox-icon svg {
  width: 13px;
  height: 13px;
}
.inbox-arrived {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--success);
  opacity: 0;
}
.inbox-body {
  position: relative;
  padding-top: 12px;
}
.inbox-today {
  font-size: 9px;
  color: var(--muted);
}
.inbox-empty {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  display: grid;
  gap: 12px;
  padding-top: 4px;
}
.inbox-empty i {
  height: 5px;
  background: var(--soft);
  border-radius: 3px;
  width: 86%;
}
.inbox-empty i:first-child {
  width: 42%;
}
.inbox-empty i:last-child {
  width: 65%;
}
.received-message {
  position: absolute;
  top: 38px;
  left: -6px;
  right: -6px;
  padding: 8px 6px;
  background: var(--group);
  border-radius: var(--radius-2);
  opacity: 0;
}
.received-sender {
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
}
.received-message strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}
.received-recipient {
  display: block;
  color: var(--muted);
  font-size: 8px;
  line-height: 15px;
  white-space: nowrap;
}
.received-line {
  display: block;
  width: 74%;
  height: 3px;
  border-radius: 3px;
  background: var(--border);
  margin-top: 7px;
}
.inbox-note {
  position: absolute;
  bottom: 12px;
  left: 16px;
  color: var(--muted);
  font-size: 9px;
}
.delivery-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: -1;
  opacity: 0;
}
.delivery-path {
  stroke: var(--border);
  stroke-width: 1.5;
  fill: none;
}
.flying-mail {
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 26px;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-toast);
  z-index: 7;
  opacity: 0;
}
.flying-mail svg {
  width: 21px;
  height: 21px;
}
.demo-cursor {
  position: absolute;
  width: 24px;
  height: 32px;
  top: 0;
  left: 0;
  z-index: 9;
  opacity: 0;
  fill: var(--bg);
  stroke: var(--text);
  stroke-width: 1.25;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
  transform-origin: 3px 2px;
}
.click-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  z-index: 8;
  opacity: 0;
}
.motion-scene > *,
.demo-browser * {
  pointer-events: none;
}
.motion-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1100px, calc(100% - 64px));
  margin: 0 auto;
}
.demo-steps {
  display: flex;
  gap: 24px;
}
.demo-steps button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 11px;
  line-height: 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.demo-steps button > span {
  font-family: var(--font-mono);
  font-size: 8px;
  opacity: 0.7;
}
.demo-steps button[aria-pressed='true'] {
  color: var(--text);
}
.demo-steps button > i {
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border);
}
.demo-steps button > i::after {
  content: '';
  display: block;
  width: 100%;
  transform: scaleX(var(--step-progress, 0));
  transform-origin: left;
  height: 1px;
  background: var(--text);
}
.playback-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.replay-demo,
.animation-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  background: transparent;
}
.replay-demo:hover,
.animation-toggle:hover {
  background: var(--group);
}
.replay-demo svg,
.animation-toggle svg {
  width: 12px;
  height: 12px;
}
.hero-actions {
  text-align: center;
  margin-top: 12px;
}
.hero-description {
  font-size: 14px;
  line-height: 21px;
  color: var(--text);
}
.hero-description > span {
  color: var(--muted);
}
.browser-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-3);
  font-size: 12px;
  line-height: 20px;
  padding: 12px 16px;
  font-weight: 500;
  transition:
    background var(--motion-quick),
    transform var(--motion-quick);
  white-space: nowrap;
  cursor: pointer;
}
.store-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.store-link.primary {
  background: var(--accent);
  color: var(--on-accent);
}
.store-link.secondary {
  background: var(--bg);
  border-color: var(--border);
}
.store-link.secondary:hover {
  background: var(--group);
}
.store-link svg {
  width: 17px;
  height: 17px;
}
.store-link .external-arrow {
  width: 12px;
  height: 12px;
  margin-left: 8px;
}
.store-link[aria-disabled='true'] {
  cursor: default;
}
.fastmail-note {
  font-size: 9px;
  color: var(--muted);
  margin-top: 12px;
}
.site-footer {
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  gap: 24px;
}
.site-footer > span {
  font-size: 9px;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  gap: 24px;
  font-size: 11px;
}
.site-footer a {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
}
.site-footer svg {
  width: 11px;
  height: 11px;
}
.skip-link {
  position: fixed;
  z-index: 10;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 16px;
  border-radius: var(--radius-2);
}
.skip-link:focus {
  transform: translateY(0);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  white-space: nowrap;
  border: 0;
}
.policy-main {
  max-width: 656px;
  padding-block: 64px 96px;
}
.policy-main h1 {
  font-size: 48px;
  letter-spacing: -2px;
  margin: 0;
  line-height: 1.1;
  font-weight: 600;
}
.policy-date {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}
.policy-intro {
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -0.4px;
  margin-top: 32px;
}
.policy-main h2 {
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.3px;
  font-weight: 600;
  margin-top: 40px;
}
.policy-main p:not(.policy-date):not(.policy-intro),
.policy-main li {
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
  margin-top: 12px;
}
.policy-main ul {
  padding-left: 20px;
}
.policy-main li {
  padding-left: 4px;
}
.policy-main a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--text);
}
.policy-main code {
  font-family: var(--font-mono);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.policy-main .policy-summary {
  border: 1px solid var(--border);
  background: var(--group);
  border-radius: var(--radius-4);
  padding: 20px 24px;
  margin-top: 28px;
}
.policy-summary p:first-child {
  margin-top: 0 !important;
}
@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .site-header {
    height: 72px;
  }
  .hero {
    padding-block: 16px 24px;
  }
  h1 {
    font-size: 44px;
    letter-spacing: -2px;
  }
  h1 > span {
    display: block;
    margin: 0;
  }
  .motion-shell {
    margin-top: 20px;
    width: calc(100% - 12px);
    aspect-ratio: 700 / 568;
  }
  .hero-actions {
    margin-top: 16px;
  }

  .motion-scene {
    width: 700px;
    height: 568px;
  }
  .demo-browser {
    left: 20px;
  }
  .demo-inbox {
    left: 100px;
    top: 388px;
    width: 500px;
    height: 164px;
    padding: 16px 20px;
  }
  .inbox-header {
    padding-bottom: 10px;
    font-size: 16px;
    gap: 10px;
  }
  .inbox-icon {
    width: 28px;
    height: 28px;
  }
  .inbox-icon svg {
    width: 16px;
    height: 16px;
  }
  .inbox-today {
    font-size: 11px;
  }
  .inbox-body {
    padding-top: 5px;
  }
  .received-message {
    top: 24px;
    padding: 4px 8px;
  }
  .received-sender {
    font-size: 14px;
    line-height: 20px;
  }
  .received-message strong {
    font-size: 16px;
    line-height: 22px;
  }
  .received-recipient {
    font-size: 12px;
    line-height: 18px;
  }
  .received-line,
  .inbox-note {
    display: none;
  }
  .inbox-empty {
    top: 32px;
    gap: 10px;
  }
  .motion-controls {
    width: calc(100% - 40px);
    margin-top: 4px;
  }
  .demo-steps {
    gap: 16px;
  }
  .demo-steps button {
    font-size: 10px;
    gap: 4px;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 68px;
  }
  .brand {
    font-size: 17px;
    gap: 8px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .header-note {
    display: none;
  }
  .hero {
    padding-block: 12px 24px;
  }
  h1 {
    font-size: 40px;
    letter-spacing: -1.9px;
  }
  .motion-shell {
    overflow: clip;
  }
  .hero-actions {
    margin-top: 16px;
  }
  .hero-description {
    font-size: 13px;
    line-height: 22px;
  }
  .browser-links {
    gap: 8px;
    margin-top: 20px;
  }
  .store-link {
    padding: 11px 12px;
    gap: 8px;
    font-size: 11px;
  }
  .store-link .external-arrow {
    margin-left: 0;
  }
  .fastmail-note {
    max-width: 248px;
    margin-inline: auto;
    font-size: 8px;
    line-height: 15px;
  }
  .site-footer {
    padding-block: 20px;
    gap: 12px;
  }
  .site-footer > span {
    font-size: 7px;
    max-width: 180px;
  }
  .site-footer nav {
    gap: 16px;
    font-size: 9px;
  }
  .policy-main {
    padding-block: 40px 64px;
  }
  .policy-main h1 {
    font-size: 40px;
  }
  .policy-intro {
    font-size: 18px;
    line-height: 28px;
  }
  .policy-main p:not(.policy-date):not(.policy-intro),
  .policy-main li {
    font-size: 13px;
    line-height: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .store-link {
    transition: none;
  }
  .store-link:hover {
    transform: none;
  }
}
@media (forced-colors: active) {
  .store-link,
  .animation-toggle,
  .demo-browser,
  .demo-inbox,
  .inbox-icon {
    border: 1px solid ButtonText;
  }
  .store-link.primary,
  .inbox-icon {
    background: ButtonFace;
    color: ButtonText;
  }
  .delivery-path {
    stroke: CanvasText;
  }
  .flying-mail {
    stroke: Highlight;
  }
  .field-check {
    color: CanvasText;
  }
  h1 > span {
    color: CanvasText;
  }
}
