:root {
  color-scheme: light;
  --font-sans:
    "Figtree", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "EB Garamond", Georgia, "Times New Roman", serif;
  --bg: #f6edde;
  --cream-bright: #fff9e8;
  --shell: #fff8ee;
  --panel: #fffdf7;
  --ink: #17130f;
  --muted: #6e6258;
  --line: #e2d3bf;
  --lavender: #ead2ff;
  --lavender-soft: #f3e7ff;
  --gold: #d2a33a;
  --gold-deep: #8a5f17;
  --dark: #18130e;
  --ok: #277354;
  --forest: #1f6450;
  --forest-deep: #074b3e;
  --sage: #dce9d6;
  --plum: #55335d;
  --copper: #a86535;
  --warn: #9b5c16;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--cream-bright) 0%, var(--bg) 48%, #f3e8d8 100%);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input {
  font: inherit;
}

.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 10px 20px;
  background: var(--forest-deep);
  color: #fffbe8;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.announcement a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fffbe8;
  white-space: nowrap;
}

.announcement a::after {
  content: ">";
  font-size: 20px;
  line-height: 1;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1160px, calc(100vw - 40px));
  margin: 16px auto 0;
  padding: 10px 14px;
  background: rgba(255, 248, 238, 0.9);
  border: 1px solid rgba(23, 19, 15, 0.14);
  border-radius: 10px;
  box-shadow: 0 14px 38px rgba(82, 59, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.account-nav {
  position: relative;
}

.account-nav-link {
  gap: 8px;
}

.nav-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 250, 242, 0.95);
}

.account-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(320px, calc(100vw - 40px));
  display: none;
  gap: 14px;
  border: 1px solid rgba(29, 25, 20, 0.16);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 22px 60px rgba(55, 38, 20, 0.16);
  backdrop-filter: blur(18px);
}

.account-nav:hover .account-popover,
.account-nav:focus-within .account-popover {
  display: grid;
}

.account-popover[hidden] {
  display: none;
}

.account-popover-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.account-popover-top strong,
.account-popover-top span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-popover-top strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.account-popover-top span,
.account-popover-meta {
  color: var(--muted);
  font-size: 13px;
}

.account-popover-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-popover-meta span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(29, 25, 20, 0.12);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(247, 239, 226, 0.7);
  font-weight: 800;
}

.account-popover-signout {
  width: 100%;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
}

.button,
.button-secondary,
.download-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--dark);
  border-radius: 8px;
  padding: 11px 16px;
  background: var(--dark);
  color: #fff8e8;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 9px 22px rgba(29, 25, 20, 0.08);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:disabled,
.button-secondary:disabled {
  opacity: 0.55;
  cursor: wait;
}

.button-secondary {
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
  border-color: rgba(29, 25, 20, 0.22);
}

.button-danger {
  border-color: rgba(139, 63, 32, 0.34);
  color: var(--warn);
}

.button:hover,
.button-secondary:hover,
.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(29, 25, 20, 0.12);
}

.page {
  width: min(1160px, calc(100vw - 40px));
  margin: 0 auto;
}

.eyebrow,
.status-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--shell);
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow-dark {
  border-color: rgba(16, 79, 66, 0.16);
  background: rgba(16, 79, 66, 0.08);
  color: var(--forest-deep);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

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

h1 {
  max-width: 760px;
  font-size: 76px;
  line-height: 0.94;
}

h2 {
  font-size: 54px;
  line-height: 1;
}

h3 {
  font-size: 20px;
  font-weight: 900;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.lead {
  max-width: 660px;
  font-size: 18px;
}

.premium-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - 72px);
  margin-top: -16px;
  padding: 64px 0 78px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 249, 232, 0.98) 0%, rgba(250, 239, 220, 0.96) 100%),
    linear-gradient(135deg, rgba(31, 100, 80, 0.1), transparent 55%);
  color: var(--ink);
}

.premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(23, 19, 15, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 19, 15, 0.03) 1px, transparent 1px),
    repeating-linear-gradient(135deg, transparent 0 26px, rgba(7, 75, 62, 0.035) 26px 27px);
  background-size:
    96px 96px,
    96px 96px,
    160px 160px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 72%, transparent 100%);
}

.premium-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 86px;
  background: linear-gradient(180deg, transparent, rgba(246, 237, 222, 0.95));
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(118deg, transparent 0 52%, rgba(31, 100, 80, 0.055) 52% 53%, transparent 53%),
    linear-gradient(160deg, transparent 0 34%, rgba(210, 163, 58, 0.06) 34% 35%, transparent 35%);
  pointer-events: none;
}

.status-dot,
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #58d79c;
  box-shadow: 0 0 0 6px rgba(88, 215, 156, 0.12);
}

.hero-showcase {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1fr);
  gap: 56px;
  align-items: center;
  padding-top: 14px;
}

.hero-copy {
  display: grid;
  justify-items: start;
  gap: 18px;
  max-width: 520px;
}

.hero-copy h1 {
  max-width: 540px;
  color: var(--ink);
  font-size: 76px;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
}

.hero-lead {
  max-width: 500px;
  color: #2a241d;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.58;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  justify-content: flex-start;
  padding-top: 2px;
}

.button-hero {
  border-color: var(--forest-deep);
  background: var(--forest-deep);
  color: #fff8e8;
}

.button-hero-secondary {
  border-color: rgba(23, 19, 15, 0.32);
  color: var(--ink);
  background: rgba(255, 253, 247, 0.74);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  max-width: 500px;
  padding-top: 6px;
}

.trust-strip span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(23, 19, 15, 0.12);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 250, 242, 0.7);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.product-hunt-card {
  width: min(100%, 500px);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.product-hunt-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.product-hunt-card img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
}

.product-hunt-card-copy {
  min-width: 0;
  flex: 1 1 0%;
}

.product-hunt-card h3 {
  overflow: hidden;
  margin: 0;
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-hunt-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 4px 0 0;
  color: #666666;
  font-size: 14px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
}

.product-hunt-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  border-radius: 8px;
  padding: 8px 16px;
  background: #ff6154;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.product-hunt-card-link:hover {
  background: #e94f43;
}

.hero-visual {
  position: relative;
  z-index: 1;
  --mx: 0px;
  --my: 0px;
}

.demo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 238, 191, 0.22);
  border-radius: 8px;
  background: #18130f;
  color: #fff8e8;
  box-shadow:
    0 36px 90px rgba(70, 49, 26, 0.2),
    0 0 0 8px rgba(255, 248, 238, 0.62);
  transform: translate3d(var(--mx), var(--my), 0);
  transition: transform 180ms ease;
}

.demo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(210, 163, 58, 0.22) 38%, transparent 50%),
    linear-gradient(145deg, rgba(31, 100, 80, 0.2), transparent 48%);
  transform: translateX(-55%);
  animation: demo-sheen 6.8s ease-in-out infinite;
  pointer-events: none;
}

.demo-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 238, 191, 0.16);
  background: rgba(255, 248, 232, 0.06);
  color: rgba(255, 248, 232, 0.74);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-toolbar > span {
  color: #a7d8c6;
  white-space: nowrap;
}

.demo-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-title strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.08) 0 1px, transparent 1px 44%),
    linear-gradient(145deg, rgba(42, 35, 28, 0.98) 0%, #15110e 100%);
}

.voice-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hotkey-pill {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 238, 191, 0.18);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 250, 242, 0.08);
  color: rgba(255, 248, 232, 0.82);
  font-size: 12px;
  font-weight: 900;
}

.demo-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) 44px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.demo-panel {
  min-height: 270px;
  display: grid;
  align-content: start;
  gap: 18px;
  border: 1px solid rgba(255, 238, 191, 0.2);
  border-radius: 8px;
  padding: 22px;
}

.speech-panel {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.1), rgba(255, 250, 242, 0.055)),
    rgba(255, 250, 242, 0.04);
}

.clean-panel {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(255, 247, 232, 0.95)), var(--panel);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.54);
}

.voice-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  min-height: 54px;
  border: 1px solid rgba(247, 215, 146, 0.32);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(12, 10, 8, 0.94);
  color: #fff3cf;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.pulse-dot {
  flex: 0 0 auto;
  animation: pulse-dot 1.9s ease-in-out infinite;
}

.wave {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 2px;
}

.wave span {
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--gold);
  animation: wave-bounce 1.15s ease-in-out infinite;
}

.wave span:nth-child(2) {
  animation-delay: 0.12s;
}

.wave span:nth-child(3) {
  animation-delay: 0.24s;
}

.wave span:nth-child(4) {
  animation-delay: 0.36s;
}

.wave span:nth-child(5) {
  animation-delay: 0.48s;
}

.label,
.mini-kicker {
  display: block;
  color: #f5d17b;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.clean-panel .label {
  color: var(--forest);
}

.transcript-text,
.clean-text {
  font-size: 20px;
  line-height: 1.55;
}

.transcript-text {
  color: rgba(255, 248, 232, 0.78);
}

.clean-text {
  color: var(--ink);
  font-weight: 700;
}

.process-rail {
  position: relative;
  display: grid;
  place-items: center;
}

.process-rail::before {
  content: "";
  width: 4px;
  height: 100%;
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.14);
}

.process-rail::after {
  content: "";
  position: absolute;
  top: 16px;
  width: 4px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), #58d79c);
  animation: rail-scan 2.4s ease-in-out infinite;
}

.process-rail span {
  position: absolute;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 238, 191, 0.26);
  border-radius: 50%;
  background: #211912;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.process-rail span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.process-rail span:nth-child(1) {
  top: 22px;
}

.process-rail span:nth-child(2) {
  top: calc(50% - 17px);
}

.process-rail span:nth-child(3) {
  bottom: 22px;
}

.process-rail span:nth-child(2)::before {
  background: #58d79c;
  animation: pulse-dot 1.9s ease-in-out infinite;
}

.process-rail span:nth-child(3)::before {
  background: #fff3cf;
}

.tone-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.tone-row span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(31, 100, 80, 0.16);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(220, 233, 214, 0.54);
  color: var(--forest-deep);
  font-size: 12px;
  font-weight: 900;
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 24px;
}

.privacy-proof {
  padding-top: clamp(48px, 7vw, 82px);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.privacy-card {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 250, 242, 0.9)), var(--panel);
}

.privacy-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(232, 244, 236, 0.7), rgba(255, 250, 242, 0.88)), var(--panel);
}

.privacy-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(243, 232, 245, 0.62), rgba(255, 250, 242, 0.9)), var(--panel);
}

.mini-kicker {
  color: var(--forest);
}

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

.card,
.plan-card,
.account-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
}

.card {
  display: grid;
  gap: 10px;
}

.feature-band {
  padding: clamp(58px, 8vw, 96px) 0;
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.055) 0 1px, transparent 1px 44%),
    linear-gradient(135deg, var(--forest-deep), #122f2a 74%);
  color: #fff8e8;
}

.feature-band p {
  color: rgba(255, 248, 232, 0.72);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.feature-stack {
  display: grid;
  gap: 12px;
}

.feature-stack article {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 238, 191, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 250, 242, 0.07);
}

.feature-stack strong {
  color: #fff8e8;
  font-size: 18px;
}

.feature-stack span {
  color: rgba(255, 248, 232, 0.68);
  line-height: 1.5;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.final-cta h2 {
  max-width: 760px;
}

.plan-card {
  display: grid;
  gap: 14px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 38px;
  font-weight: 850;
  line-height: 1.05;
}

.price del {
  color: var(--muted);
  font-size: 21px;
  font-weight: 800;
  text-decoration-color: rgba(145, 98, 31, 0.66);
  text-decoration-thickness: 2px;
}

.price-current {
  color: var(--ink);
}

.price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.5;
}

.download-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--panel);
}

.download-button {
  width: 100%;
}

.muted {
  color: var(--muted);
}

.account-layout {
  display: grid;
  gap: 18px;
  padding: 54px 0 72px;
}

.account-panel {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 34px);
}

.account-panel h1 {
  max-width: none;
  font-size: 60px;
  line-height: 0.95;
}

.account-panel .card h2 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.account-panel .card p {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
}

.account-hero,
.account-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.account-hero {
  align-items: end;
}

.account-hero p {
  max-width: 560px;
  margin-top: 12px;
  font-size: 17px;
}

.google-preview {
  min-width: 146px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(29, 25, 20, 0.12);
  border-radius: 999px;
  padding: 9px 12px 9px 9px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-weight: 850;
}

.google-g,
.google-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
}

.google-g {
  width: 30px;
  height: 30px;
  color: #4285f4;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(29, 25, 20, 0.1);
}

.google-button {
  border-color: rgba(29, 25, 20, 0.18);
  background: #fff;
  color: var(--ink);
}

.google-mark {
  width: 22px;
  height: 22px;
}

.google-mark svg {
  width: 18px;
  height: 18px;
}

.profile-stack {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.profile-avatar-wrap {
  position: relative;
  width: 72px;
  height: 72px;
}

.profile-avatar {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(234, 208, 255, 0.68), rgba(199, 150, 45, 0.28)), var(--shell);
  box-shadow:
    inset 0 0 0 1px rgba(29, 25, 20, 0.12),
    0 8px 22px rgba(29, 25, 20, 0.1);
}

.profile-avatar-large {
  width: 68px;
  height: 68px;
}

#account-name {
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

.google-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 2px solid var(--panel);
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 5px 14px rgba(29, 25, 20, 0.12);
}

.account-summary .button-secondary {
  flex: 0 0 auto;
}

.meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #eadbc7;
}

.meter span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--gold);
}

.notice {
  display: none;
  border: 1px solid #e8c27a;
  border-radius: 8px;
  padding: 12px;
  background: #fff4d7;
  color: var(--warn);
}

.notice[data-visible="true"] {
  display: block;
}

.site-footer {
  width: min(1160px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@keyframes wave-bounce {
  0%,
  100% {
    height: 14px;
  }

  50% {
    height: 32px;
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(0.92);
    box-shadow: 0 0 0 5px rgba(88, 215, 156, 0.11);
  }

  50% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(88, 215, 156, 0.03);
  }
}

@keyframes demo-sheen {
  0%,
  42% {
    transform: translateX(-55%);
  }

  74%,
  100% {
    transform: translateX(55%);
  }
}

@keyframes rail-scan {
  0%,
  100% {
    top: 18px;
    opacity: 0.45;
  }

  50% {
    top: calc(100% - 90px);
    opacity: 1;
  }
}

@media (max-width: 940px) {
  .premium-hero {
    min-height: auto;
    padding: 58px 0 60px;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 46px;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .hero-copy h1 {
    max-width: 720px;
    font-size: 68px;
  }

  .hero-lead {
    max-width: 650px;
  }

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

  .process-rail {
    min-height: 44px;
  }

  .process-rail::before {
    width: 100%;
    height: 4px;
  }

  .process-rail::after {
    top: auto;
    left: 18px;
    width: 72px;
    height: 4px;
    animation: rail-scan-horizontal 2.4s ease-in-out infinite;
  }

  .process-rail span:nth-child(1) {
    top: 5px;
    left: 24px;
  }

  .process-rail span:nth-child(2) {
    top: 5px;
    left: calc(50% - 17px);
  }

  .process-rail span:nth-child(3) {
    top: 5px;
    right: 24px;
    bottom: auto;
  }

  .privacy-grid,
  .feature-layout {
    grid-template-columns: 1fr;
  }

  .privacy-card {
    min-height: auto;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@keyframes rail-scan-horizontal {
  0%,
  100% {
    left: 20px;
    opacity: 0.45;
  }

  50% {
    left: calc(100% - 92px);
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .announcement {
    flex-direction: column;
    gap: 4px;
    min-height: auto;
  }

  .site-header {
    position: static;
    align-items: center;
    flex-direction: row;
    width: calc(100vw - 24px);
    margin-top: 12px;
  }

  .nav {
    width: auto;
    justify-content: flex-end;
    gap: 4px;
  }

  .nav a {
    min-height: 34px;
    padding-right: 9px;
    padding-left: 9px;
    font-size: 14px;
  }

  .account-nav {
    position: static;
  }

  .account-popover {
    right: 14px;
    left: 14px;
    width: auto;
  }

  .account-hero,
  .account-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .google-preview {
    width: fit-content;
  }

  .premium-hero {
    padding: 34px 0 44px;
  }

  .hero-showcase {
    gap: 28px;
    width: calc(100vw - 28px);
    padding-top: 0;
  }

  .hero-copy {
    gap: 15px;
  }

  .hero-copy h1 {
    font-size: 48px;
    line-height: 1.03;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-actions {
    padding-top: 0;
  }

  .demo-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }

  .demo-body {
    padding: 14px;
  }

  .voice-command {
    align-items: stretch;
    flex-direction: column;
  }

  .hotkey-pill {
    justify-content: center;
  }

  .demo-panel {
    min-height: auto;
    padding: 18px;
  }

  .voice-pill {
    width: 100%;
    font-size: 14px;
  }

  .transcript-text,
  .clean-text {
    font-size: 17px;
  }

  .lead {
    font-size: 16px;
  }

  .trust-strip span {
    width: calc(50% - 4px);
    justify-content: center;
    text-align: center;
  }

  .actions {
    width: 100%;
  }

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

  .account-panel h1 {
    font-size: 42px;
  }

  #account-name {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
