/* PaperDock's warm white and indigo palette. Shared semantic tokens keep app and marketing in sync. */
:root {
  --background: oklch(0.985 0.008 91);
  --foreground: oklch(0.22 0.027 270);
  --card: oklch(0.998 0.003 95);
  --card-foreground: oklch(0.22 0.027 270);
  --popover: oklch(0.998 0.003 95);
  --popover-foreground: oklch(0.22 0.027 270);
  --primary: oklch(0.47 0.2 276);
  --primary-foreground: oklch(0.99 0.004 95);
  --secondary: oklch(0.95 0.023 280);
  --secondary-foreground: oklch(0.31 0.07 277);
  --muted: oklch(0.95 0.012 85);
  --muted-foreground: oklch(0.52 0.026 265);
  --accent: oklch(0.94 0.035 280);
  --accent-foreground: oklch(0.34 0.11 276);
  --border: oklch(0.89 0.018 270);
  --input: oklch(0.89 0.018 270);
  --ring: oklch(0.57 0.17 276);
}

.dark {
  --background: oklch(0.19 0.025 274);
  --foreground: oklch(0.96 0.012 90);
  --card: oklch(0.235 0.03 273);
  --card-foreground: oklch(0.96 0.012 90);
  --popover: oklch(0.235 0.03 273);
  --popover-foreground: oklch(0.96 0.012 90);
  --primary: oklch(0.72 0.14 276);
  --primary-foreground: oklch(0.18 0.028 275);
  --secondary: oklch(0.3 0.035 275);
  --secondary-foreground: oklch(0.96 0.012 90);
  --muted: oklch(0.29 0.023 275);
  --muted-foreground: oklch(0.72 0.025 265);
  --accent: oklch(0.32 0.06 274);
  --accent-foreground: oklch(0.96 0.012 90);
  --border: oklch(0.34 0.03 270);
  --input: oklch(0.34 0.03 270);
  --ring: oklch(0.72 0.14 276);
}

html {
  scroll-behavior: smooth;
}
body {
  background: var(--background);
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--foreground);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
summary {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 5px;
}
p {
  color: var(--muted-foreground);
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 600;
}
h2 {
  font-size: clamp(28px, 3.3vw, 42px);
}
h3 {
  font-size: 20px;
}
img,
svg {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}
section[id] {
  scroll-margin-top: 100px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklch, var(--background) 90%, transparent);
  backdrop-filter: blur(18px);
}
.header-inner {
  max-width: 1280px;
  margin: auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand-dot {
  color: var(--primary);
  margin-left: -9px;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--muted-foreground);
}
a:hover {
  color: var(--primary);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 17px;
}
.language,
.theme {
  font-size: 13px;
}
.theme {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 21px;
  line-height: 1;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--primary);
  border-radius: 99px;
  padding: 13px 26px;
  color: var(--primary-foreground);
  background: var(--primary);
  font-weight: 550;
  font-size: 14px;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.button:hover {
  color: var(--primary-foreground);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #5146c522;
}
.button span {
  font-size: 19px;
}
.button.small {
  padding: 8px 19px;
  font-size: 13px;
}
.button.outline {
  background: var(--card);
  border-color: var(--border);
  color: var(--foreground);
}
.mobile-menu {
  display: none;
}
.hero {
  position: relative;
  padding-top: 85px;
  padding-bottom: 65px;
  text-align: center;
  isolation: isolate;
}
.hero-glow {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 15%;
  width: 70%;
  height: 500px;
  pointer-events: none;
  background: radial-gradient(
    ellipse,
    color-mix(in oklch, var(--primary) 9%, transparent),
    transparent 65%
  );
}
.pill {
  display: inline-block;
  border: 1px solid color-mix(in oklch, var(--primary) 20%, transparent);
  background: color-mix(in oklch, var(--primary) 5%, var(--background));
  color: var(--primary);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.14em;
}
.hero h1 {
  font-size: clamp(42px, 5.4vw, 74px);
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin-top: 27px;
}
.hero h1 > span {
  color: var(--primary);
}
.hero-intro {
  max-width: 630px;
  margin: 24px auto 25px;
  font-size: 17px;
  line-height: 1.8;
}
.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.fineprint {
  font-size: 12px;
  line-height: 1.7;
}
.hero > .fineprint {
  margin-top: 16px;
}
.mockup {
  position: relative;
  margin-top: 54px;
  padding: 12px;
  border: 1px solid color-mix(in oklch, var(--primary) 20%, var(--border));
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 35px 100px -45px #2d288059;
  text-align: left;
}
.window {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--background);
}
.window-bar {
  height: 43px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  background: var(--card);
  font-size: 11px;
  color: var(--muted-foreground);
}
.dots {
  display: flex;
  gap: 5px;
}
.dots i {
  width: 8px;
  height: 8px;
  background: #f3b4b9;
  border-radius: 50%;
}
.dots i:nth-child(2) {
  background: #edcf89;
}
.dots i:nth-child(3) {
  background: #a4d6b8;
}
.demo-label {
  margin-left: auto;
  font-size: 10px;
}
.workspace {
  display: grid;
  grid-template-columns: 180px 1fr;
}
.demo-sidebar {
  padding: 28px 17px;
  background: var(--card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}
.sidebar-title {
  font-size: 9px;
  font-weight: 600;
  color: var(--muted-foreground);
  letter-spacing: 0.13em;
  margin-bottom: 20px;
}
.demo-sidebar p {
  padding: 8px 10px;
}
.demo-sidebar .active {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 8px;
}
.local-badge {
  margin-top: auto;
  font-size: 10px;
  color: var(--muted-foreground);
}
.demo-main {
  padding: 28px;
}
.demo-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.17em;
  font-weight: 650;
  color: var(--primary);
}
.small-text {
  font-size: 8px;
}
.demo-heading h2 {
  font-size: 23px;
  letter-spacing: -0.03em;
  margin-top: 9px;
}
.selection-count {
  font-size: 11px;
  color: var(--primary);
  padding: 6px 11px;
  border-radius: 99px;
  background: var(--secondary);
  white-space: nowrap;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.product {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.product:has(input:checked) {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.product-image {
  position: relative;
  background: #ededf6;
  height: 151px;
}
.sample-1 .product-image {
  background: #f2eae1;
}
.sample-2 .product-image {
  background: #e8eee7;
}
.product-image svg {
  width: 100%;
  height: 100%;
}
.sample-check {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
  cursor: pointer;
}
.product-text {
  padding: 14px;
}
.product-text h3 {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.product-text p {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 9px;
  color: var(--foreground);
}
.product-text p span {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted-foreground);
}
.export-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted-foreground);
  font-size: 11px;
  align-items: center;
}
.file-chip {
  background: var(--secondary);
  padding: 7px 12px;
  border-radius: 7px;
  color: var(--primary);
  white-space: nowrap;
}
.platforms {
  text-align: center;
  padding-top: 37px;
  padding-bottom: 60px;
}
.platforms h2 {
  font-size: 29px;
  margin: 13px 0;
}
.section-intro {
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 14px;
}
.grid {
  display: grid;
  gap: 22px;
}
.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.platform-card {
  text-align: left;
  display: flex;
  gap: 17px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.platform-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  border-radius: 13px;
  background: var(--muted);
  color: var(--foreground);
}
.platform-a {
  color: #94611d;
}
.platform-e {
  color: #4565aa;
}
.platform-s {
  color: #397249;
}
.platform-card h3 {
  font-size: 17px;
  margin: 3px 0 9px;
}
.platform-card p {
  font-size: 12px;
  line-height: 1.7;
}
.platform-note {
  font-size: 11px;
  margin-top: 23px;
}
.section {
  padding-top: 65px;
  padding-bottom: 65px;
}
.section-heading {
  margin-bottom: 35px;
}
.section-heading h2 {
  margin: 13px 0;
}
.section-heading > p {
  font-size: 15px;
}
.feature-card {
  padding: 30px 27px 0;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
  overflow: hidden;
}
.feature-number {
  display: block;
  background: var(--secondary);
  color: var(--primary);
  width: 39px;
  height: 39px;
  border-radius: 12px;
  text-align: center;
  line-height: 39px;
  font-size: 12px;
  margin-bottom: 25px;
}
.feature-card h3 {
  font-size: 19px;
}
.feature-card p {
  font-size: 14px;
  margin-top: 13px;
  line-height: 1.8;
  min-height: 103px;
}
.feature-decoration {
  margin: 25px -27px 0;
  padding: 25px 15px;
  text-align: center;
  background: linear-gradient(130deg, var(--secondary), var(--background));
  color: var(--primary);
  font-size: 20px;
  font-family: ui-monospace, monospace;
  letter-spacing: -0.05em;
}
.steps article {
  border-top: 1px solid var(--border);
  padding-top: 23px;
}
.step-index {
  color: var(--primary);
  font-family: ui-monospace, monospace;
  font-size: 13px;
}
.steps h3 {
  margin: 22px 0 12px;
}
.steps p {
  font-size: 14px;
  max-width: 310px;
}
.privacy-band {
  margin: 25px 0;
  padding: 45px 50px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--secondary);
  display: flex;
  gap: 36px;
  align-items: center;
}
.shield {
  color: var(--primary);
  font-size: 60px;
}
.privacy-band h2 {
  font-size: 28px;
}
.privacy-band p {
  max-width: 740px;
  font-size: 14px;
  margin: 15px 0;
}
.privacy-band a {
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
}
.pricing .section-heading {
  text-align: center;
}
.price-card {
  max-width: 870px;
  margin: auto;
  border: 1px solid color-mix(in oklch, var(--primary) 30%, var(--border));
  border-radius: 26px;
  padding: 37px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: var(--card);
  box-shadow: 0 20px 70px -50px #41348655;
}
.price {
  font-size: 64px;
  line-height: 1.2;
  color: var(--foreground);
  font-weight: 600;
  letter-spacing: -0.055em;
  margin: 23px 0 10px;
}
.price span {
  font-size: 14px;
  letter-spacing: 0;
  color: var(--muted-foreground);
  margin-left: 10px;
  font-weight: 400;
}
.price-card h3 {
  font-size: 16px;
}
.price-card .fineprint {
  margin-top: 15px;
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 30px;
  font-size: 13px;
}
.price-card li {
  display: flex;
  gap: 12px;
  margin: 16px 0;
}
.price-card li span {
  color: var(--primary);
}
.price-card .button {
  width: 100%;
}
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-weight: 550;
  font-size: 15px;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary span {
  color: var(--primary);
}
.faq details[open] summary span {
  transform: rotate(45deg);
}
.faq details p {
  margin-top: 15px;
  font-size: 14px;
}
.final-cta {
  margin-top: 30px;
  margin-bottom: 80px;
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.final-cta p {
  margin: 17px 0 28px;
}
.footer {
  padding-top: 45px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 45px;
}
.footer-grid p {
  font-size: 13px;
  margin: 13px 0;
}
.footer-grid h3 {
  font-size: 13px;
  letter-spacing: 0;
  margin: 8px 0 19px;
}
.footer-grid > div > a:not(.brand) {
  display: block;
  font-size: 13px;
  color: var(--muted-foreground);
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 25px 0;
  font-size: 10px;
  color: var(--muted-foreground);
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
.footer-bottom > div {
  display: flex;
  gap: 20px;
  white-space: nowrap;
}
.article {
  max-width: 830px;
  padding-top: 70px;
  padding-bottom: 85px;
}
.article h1 {
  font-size: clamp(36px, 4vw, 55px);
  margin: 22px 0;
}
.article-lead {
  font-size: 17px;
  margin-bottom: 35px;
}
.article section {
  margin: 35px 0;
}
.article h2 {
  font-size: 22px;
  margin-bottom: 13px;
}
.article p {
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.article-next {
  display: flex;
  gap: 25px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--primary);
  font-size: 14px;
}
.download-box {
  margin-top: 20px;
  padding: 25px;
  background: var(--secondary);
  border-radius: 17px;
}
.download-box p {
  margin-top: 10px;
}
.skip {
  position: fixed;
  top: -70px;
  left: 20px;
  padding: 12px 20px;
  background: var(--card);
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.demo-caption {
  margin: 9px 5px 0;
  text-align: center;
  font-size: 10px;
}

@media (max-width: 950px) {
  .desktop-nav {
    gap: 16px;
  }
  .header-cta {
    display: none !important;
  }
  .workspace {
    grid-template-columns: 145px 1fr;
  }
  .demo-main {
    padding: 22px;
  }
  .product-image {
    height: 125px;
  }
  .demo-heading h2 {
    font-size: 20px;
  }
  .demo-label {
    display: none;
  }
  .feature-card {
    padding-left: 22px;
    padding-right: 22px;
  }
  .feature-decoration {
    margin-left: -22px;
    margin-right: -22px;
  }
  .privacy-band {
    padding: 35px;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  .faq {
    gap: 35px;
  }
}
@media (max-width: 680px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header-inner {
    padding: 14px 20px;
  }
  .brand {
    font-size: 22px;
  }
  .desktop-nav {
    display: none;
  }
  .header-tools {
    gap: 14px;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu summary {
    list-style: none;
    font-size: 19px;
  }
  .mobile-menu nav {
    position: absolute;
    right: 20px;
    top: 66px;
    padding: 15px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 15px 30px #0001;
    min-width: 160px;
  }
  .mobile-menu a {
    display: block;
    padding: 8px 12px;
  }
  .hero {
    padding-top: 55px;
    padding-bottom: 35px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-intro {
    font-size: 15px;
  }
  .pill {
    font-size: 9px;
  }
  .button {
    font-size: 12px;
    padding: 12px 20px;
    gap: 14px;
  }
  .hero > .fineprint {
    font-size: 10px;
  }
  .mockup {
    margin-top: 35px;
    padding: 6px;
    border-radius: 18px;
  }
  .window {
    border-radius: 12px;
  }
  .window-bar {
    height: 34px;
    padding: 0 12px;
    font-size: 8px;
  }
  .workspace {
    display: block;
  }
  .demo-sidebar {
    display: none;
  }
  .demo-main {
    padding: 17px 12px;
  }
  .demo-heading h2 {
    font-size: 19px;
  }
  .small-text {
    font-size: 7px;
  }
  .selection-count {
    font-size: 9px;
    padding: 4px 8px;
  }
  .product-grid {
    gap: 8px;
  }
  .product-image {
    height: 94px;
  }
  .sample-check {
    top: 6px;
    left: 6px;
    width: 14px;
    height: 14px;
  }
  .product-text {
    padding: 8px;
  }
  .product-text h3 {
    font-size: 9px;
    min-height: 25px;
  }
  .product-text p {
    font-size: 10px;
  }
  .product-text p span {
    display: none;
  }
  .export-row {
    font-size: 9px;
    margin-top: 17px;
    gap: 5px;
  }
  .file-chip {
    font-size: 8px;
    padding: 6px;
  }
  .platforms {
    padding-top: 35px;
    padding-bottom: 20px;
  }
  .platforms h2 {
    font-size: 27px;
  }
  .three {
    grid-template-columns: 1fr;
  }
  .platform-card {
    max-width: 450px;
  }
  .platform-note {
    font-size: 11px;
    text-align: left;
  }
  .section {
    padding-top: 45px;
    padding-bottom: 35px;
  }
  .section-heading h2 {
    font-size: 31px;
  }
  .feature-card p {
    min-height: 0;
  }
  .feature-decoration {
    padding: 18px;
  }
  .steps p {
    max-width: 100%;
  }
  .privacy-band {
    padding: 28px;
    gap: 15px;
  }
  .shield {
    display: none;
  }
  .privacy-band h2 {
    font-size: 25px;
  }
  .price-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 27px;
  }
  .price {
    font-size: 58px;
  }
  .faq {
    display: block;
  }
  .faq summary {
    font-size: 14px;
  }
  .final-cta {
    padding-top: 40px;
    padding-bottom: 35px;
    margin-bottom: 35px;
  }
  .final-cta h2 {
    font-size: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    gap: 15px;
  }
  .footer-bottom > span:nth-child(2) {
    order: 3;
    flex-basis: 100%;
  }
  .article {
    padding-top: 45px;
  }
  .article h1 {
    font-size: 38px;
  }
  .article-lead {
    font-size: 15px;
  }
  .article p {
    font-size: 14px;
  }
  .article-next {
    gap: 15px;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.account-menu { position: relative; flex-shrink: 0; }
.account-menu summary {
  display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px;
  border: 1px solid var(--border); border-radius: 99px; cursor: pointer;
  list-style: none; font-size: 13px; background: var(--card);
}
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary:hover, .account-menu[open] summary { border-color: var(--primary); }
.account-menu summary:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.account-avatar {
  display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--accent); color: var(--accent-foreground); font-weight: 600;
}
.account-chevron { color: var(--muted-foreground); }
.account-panel {
  position: absolute; top: calc(100% + 12px); right: 0; width: 220px;
  padding: 16px; border: 1px solid var(--border); border-radius: 14px;
  background: var(--popover); color: var(--popover-foreground);
  box-shadow: 0 12px 36px #0002; z-index: 30;
}
.account-caption { display: block; color: var(--muted-foreground); font-size: 12px; }
[data-account-name] { display: block; margin: 4px 0 14px; overflow-wrap: anywhere; font-size: 14px; }
[data-sign-out] {
  width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 8px;
  font: inherit; font-size: 13px; color: var(--foreground); background: var(--secondary); cursor: pointer;
}
[data-sign-out]:hover { background: var(--accent); }
[data-auth-message]:empty { display: none; }
[data-auth-message] { font-size: 12px; max-width: 160px; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .account-label, .account-chevron { display: none; }
  .account-menu summary { padding: 4px; }
  .header-tools { gap: 9px; }
  [data-google-login] { padding: 9px 12px; font-size: 12px; }
  .account-panel { right: -70px; width: min(220px, calc(100vw - 40px)); }
}

/* Reference order: extension, language, theme, account, pricing. */
.header-tools { gap: 12px; position: relative; }
.header-tools > .button { border-radius: 6px; height: 42px; padding: 0 16px; gap: 9px; white-space: nowrap; }
.header-extension { background: var(--foreground); color: var(--background); border-color: var(--foreground); }
.header-extension:hover { color: var(--background); opacity: .88; }
.header-tools .login-button { background: transparent; color: var(--foreground); border-color: var(--border); }
.header-tools .language, .header-tools .theme {
  display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--foreground);
}
.header-tools .account-menu summary { height: 42px; border-radius: 6px; }
.header-tools [data-auth-message]:not(:empty) {
  position: absolute; top: calc(100% + 10px); right: 0; max-width: 280px;
  padding: 10px 14px; background: var(--popover); border: 1px solid var(--border); border-radius: 8px;
}
@media (max-width: 1150px) { .desktop-nav { display: none; } .mobile-menu { display: block; } }
@media (max-width: 680px) {
  .header-tools { gap: 8px; flex-wrap: wrap; width: 100%; }
  .header-tools .language, .header-tools .theme, .header-tools .account-menu summary { width: 36px; height: 36px; }
  .header-tools > .button { height: 36px; padding: 0 10px; }
  .header-inner { flex-wrap: wrap; gap: 10px; padding-left: 12px; padding-right: 12px; }
  .brand { font-size: 19px; gap: 6px; }
  .brand img { width: 28px; height: 28px; }
  .account-panel { right: 0; }
}

.header-tools .account-menu summary {
  width: 44px; height: 44px; padding: 2px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent;
}
.account-label, .account-chevron { display: none; }
.account-avatar { width: 100%; height: 100%; background: #5932ac; color: #fff; font-size: 18px; }
@media (max-width: 680px) {
  .header-tools .account-menu summary { width: 36px; height: 36px; }
  .account-avatar { font-size: 15px; }
}

@media (min-width: 681px) and (max-width: 1150px) {
  .mobile-menu summary { list-style: none; cursor: pointer; }
  .mobile-menu nav { position: absolute; right: 0; top: 54px; padding: 15px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; min-width: 160px; }
}
