/* Atelvar developer site — brand matched to packages/ui/src/atelvar.css */
/* Cormorant Garamond and Source Sans 3 are self-hosted under the SIL OFL 1.1. See fonts/. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1e1a26;
  --ink-2: #2b2536;
  --brass: #b38b4d;
  --brass-text: #7a5c36;
  --brass-soft: #efe4d0;
  --ivory: #f6f3ee;
  --paper: #fffcf7;
  --muted: #5c5666;
  --line: rgba(30, 26, 38, 0.1);
  --footer-bg: #f1ece4;
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, sans-serif;
  --header-h: 4.25rem;
  --ease: 0.16s ease;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open { overflow: hidden; }

main {
  flex: 1 0 auto;
  padding-bottom: 4rem;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--ease), text-decoration-thickness var(--ease), color var(--ease);
}

@media (hover: hover) {
  a:hover {
    text-decoration-color: var(--ink);
    text-decoration-thickness: 1.5px;
  }
}

:focus-visible {
  outline: 2px solid var(--brass-text);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 200;
  padding: 0.55rem 0.9rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transform: translateY(-150%);
  transition: transform var(--ease);
}

.skip-link:focus, .skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--brass-text);
  outline-offset: 3px;
}

img { max-width: 100%; height: auto; }

.wrap {
  width: min(44rem, calc(100% - 2.75rem));
  margin-inline: auto;
}

.wrap--wide {
  width: min(56rem, calc(100% - 2.75rem));
}

/* Top bar */
.site-header {
  background: var(--ink);
  color: #fff;
  position: relative;
  z-index: 40;
}

.site-header__inner {
  width: min(62rem, calc(100% - 2.75rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
  padding: 0.7rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover { text-decoration: none; color: #fff; }

.wordmark__mark {
  color: var(--brass);
  font-size: 0.85rem;
  transform: translateY(-1px);
}

.wordmark__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.wordmark__logo {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  display: block;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.4rem 0.75rem 0.4rem 0.55rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1;
}

.nav-toggle:hover {
  border-color: var(--brass);
  color: #fff;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.nav-toggle__icon {
  position: relative;
  width: 1.05rem;
  height: 0.72rem;
  display: block;
}

.nav-toggle__icon span,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--ease), opacity var(--ease), top var(--ease);
}

.nav-toggle__icon::before,
.nav-toggle__icon::after { content: ""; }

.nav-toggle__icon::before { top: 0; }
.nav-toggle__icon span { top: 50%; transform: translateY(-50%); }
.nav-toggle__icon::after { bottom: 0; top: auto; }

.site-header.is-nav-open .nav-toggle__icon span { opacity: 0; }
.site-header.is-nav-open .nav-toggle__icon::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.site-header.is-nav-open .nav-toggle__icon::after {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) rotate(-45deg);
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.2rem 1.2rem;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.2rem 0;
}

.nav a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 5px;
}

@media (hover: hover) {
  .nav a:hover {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--brass);
    text-underline-offset: 5px;
  }
}

.site-header .nav a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
  color: #fff;
}

.nav-backdrop {
  display: none;
}

/* No-JS and narrow: the nav is a simple stacked list under the wordmark. */
@media (max-width: 55.98rem) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
  }

  .nav {
    flex: 1 0 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0;
    padding: 0.15rem 0 0.35rem;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    font-size: 1rem;
  }
}

/* With JS, the stacked list becomes an accessible drawer. */
@media (max-width: 55.98rem) {
  html.js .site-header__inner {
    flex-wrap: nowrap;
  }

  html.js .nav-toggle { display: inline-flex; }

  html.js .site-header {
    z-index: 90;
  }

  html.js .nav {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    width: 100%;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.5rem 1.375rem 1.25rem;
    background: var(--paper);
    box-shadow: 0 18px 32px rgba(30, 26, 38, 0.12);
    z-index: 80;
    overflow: auto;
    max-height: calc(100dvh - var(--header-h));
    transform: translateY(-0.5rem);
    visibility: hidden;
    transition: transform 0.2s ease, visibility 0.2s ease;
  }

  html.js .site-header.is-nav-open .nav,
  html.js .nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  html.js .nav a {
    color: var(--ink);
    font-size: 1.12rem;
    font-weight: 500;
    padding: 0.7rem 0.15rem 0.7rem 0.75rem;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
  }

  html.js .nav a[aria-current="page"] {
    color: var(--ink);
    text-decoration: none;
    box-shadow: inset 3px 0 0 var(--brass);
    padding-left: 0.75rem;
  }

  html.js .nav a:hover {
    color: var(--ink);
    text-decoration: none;
    text-decoration-color: transparent;
  }

  html.js .nav a:focus-visible {
    outline: 2px solid var(--brass-text);
    outline-offset: 3px;
    color: var(--ink);
  }

  html.js .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(30, 26, 38, 0.45);
    border: 0;
    padding: 0;
    margin: 0;
    z-index: 70;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }

  html.js .site-header.is-nav-open .nav-backdrop,
  html.js .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  html.js .nav-toggle {
    position: relative;
    z-index: 90;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js .nav,
  html.js .nav-backdrop {
    transition: none;
  }
}

/* Hero / page titles */
.hero {
  padding: 4.25rem 0 3.35rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-text);
  font-weight: 600;
}

h1, h2, h3 {
  text-rendering: optimizeLegibility;
}

h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.8vw, 3.15rem);
  line-height: 1.14;
  letter-spacing: 0.01em;
}

.lede {
  margin: 0;
  max-width: 36rem;
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.page-title {
  padding: 3.25rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.page-title h1 {
  margin-bottom: 0.5rem;
  max-width: none;
}

.page-title .lede { font-size: 1.08rem; color: var(--muted); }

/* Content */
.section {
  padding: 3.25rem 0 0;
}

.section + .section { padding-top: 3.25rem; }

h2 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 2.4vw, 1.85rem);
  line-height: 1.25;
}

h3 {
  margin: 1.6rem 0 0.45rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.28rem;
}

p { margin: 0 0 1rem; }

p:last-child { margin-bottom: 0; }

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

.card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.card-row--quad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 48rem) {
  .card-row { grid-template-columns: 1fr; }
  .card-row--quad { grid-template-columns: 1fr; }
}

@media (min-width: 48.01rem) {
  .card-row--quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.3rem 1.3rem 1.4rem;
  transition: border-color var(--ease);
}

@media (hover: hover) {
  .card:hover { border-color: rgba(179, 139, 77, 0.55); }
}

.card h2,
.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
}

/* Auditor 1204e L-2: guides index cards are h2 for heading order; same look as the h3 cards. */
.card h2 { line-height: inherit; }

.card p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

.panel {
  margin-top: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 8px;
  padding: 1.35rem 1.4rem 1.45rem;
}

.panel + .panel { margin-top: 1.35rem; }

.panel .eyebrow { margin-bottom: 0.4rem; }

.panel h3 { margin-top: 0; }

.panel strong { font-weight: 600; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 1.6rem;
}

.cta-row + h2 { margin-top: 1.6rem; }
.cta-row + p { margin-top: 1rem; }

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  margin-top: 1.05rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--ink);
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}

.btn:hover {
  background: var(--ink-2);
  text-decoration: none;
  color: #fff;
}

.btn:focus-visible {
  outline: 2px solid var(--brass-text);
  outline-offset: 3px;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(30, 26, 38, 0.22);
}

.btn--ghost:hover {
  border-color: var(--brass);
  background: var(--brass-soft);
  color: var(--ink);
}

.notice {
  margin: 1.35rem 0 0;
  padding: 0.8rem 1rem;
  background: var(--brass-soft);
  color: #5a4523;
  border: 1px solid #e4d5b8;
  border-radius: 6px;
  font-size: 0.92rem;
}

.legal p, .legal li {
  font-size: 1rem;
  color: var(--ink-2);
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal li { margin-bottom: 0.35rem; }

.legal h2 { margin-top: 2.4rem; }

.legal .section h2:first-child,
.legal h2:first-child { margin-top: 0; }

.legal .updated {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: var(--footer-bg);
}

.site-footer__inner {
  width: min(62rem, calc(100% - 2.75rem));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 28rem;
}

.site-footer nav[aria-label="Footer"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
}

.site-footer nav[aria-label="Footer"] a {
  font-size: 0.92rem;
  font-weight: 500;
}

.site-footer .wordmark {
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.site-footer .wordmark:hover { color: var(--ink); }

.site-footer .wordmark__name {
  color: var(--ink);
  font-size: 1.2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: 28rem;
}



.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  width: min(62rem, calc(100% - 2.75rem));
  margin: 1.25rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--brass-text);
  text-decoration: none;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  color: var(--ink);
  text-decoration: none;
}

.footer-social__link:focus-visible {
  outline: 2px solid var(--brass-text);
  outline-offset: 2px;
}

.footer-social__link svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Plain descriptor line under a product name (Atelvar Vera: cost and profit per item). */
.descriptor {
  margin: -0.15rem 0 0.85rem;
  font-style: italic;
  color: var(--muted);
}

.hero h1 + .descriptor {
  margin: -0.15rem 0 0.9rem;
  font-size: 1.08rem;
}


@media (max-width: 40rem) {
  h1 { font-size: 2.05rem; }

  .hero { padding: 2.75rem 0 2.25rem; }

  .page-title { padding: 2.5rem 0 1.6rem; }

  .section, .section + .section { padding-top: 2.5rem; }

  main { padding-bottom: 3rem; }
}

/* Form controls (calculator and any future fields) */
input, select, textarea, button {
  font: inherit;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brass-text);
  outline-offset: 2px;
}

/* Touch screens: every control at least 44px tall (Apple HIG / WCAG 2.5.5). Mouse layouts unchanged. */
@media (pointer: coarse) {
  .nav-toggle { min-height: 44px; }
  .wordmark { min-height: 44px; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .site-footer nav[aria-label="Footer"] { gap: 0 1.2rem; }
  .site-footer nav[aria-label="Footer"] a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
}

/* Guide pages */
.guide {
  padding-bottom: 3.25rem;
}

.guide .section h2:first-child { margin-top: 0; }

.guide .wrap > p,
.guide li {
  color: var(--ink-2);
}

.guide ul,
.guide ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.guide li { margin-bottom: 0.45rem; }

.example {
  margin: 1.35rem 0 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 8px;
  padding: 1.2rem 1.3rem 1.35rem;
}

.example > .eyebrow { margin-bottom: 0.45rem; }

.example h3 { margin-top: 0; }

.example p:last-child { margin-bottom: 0; }

.table-wrap {
  overflow-x: auto;
  margin: 0.7rem 0 0.85rem;
}

.guide table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.guide th,
.guide td {
  text-align: left;
  padding: 0.45rem 0.75rem 0.45rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.guide th {
  font-weight: 600;
  color: var(--ink);
}

.guide td:last-child,
.guide th:last-child {
  text-align: right;
  padding-right: 0;
  font-variant-numeric: tabular-nums;
}

.guide tr.total td {
  font-weight: 600;
  border-bottom: 0;
  color: var(--ink);
}

.guide .updated {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Shopify affiliate slot: empty until SHOPIFY_AFFILIATE_URL is a real https URL. */
.shopify-affiliate-slot:empty {
  display: none;
}

.shopify-affiliate {
  margin-top: 1.35rem;
}

.shopify-affiliate__lead,
.shopify-affiliate__line {
  margin: 0;
}

.shopify-affiliate__line {
  margin-top: 0.35rem;
}

.shopify-affiliate__ad {
  font-weight: 600;
  margin-right: 0.35em;
}

.shopify-affiliate__disclosure {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Signup form (pricing cheat sheet / Maker Margin Notes) */
.signup {
  position: relative;
  margin-top: 1.35rem;
  max-width: 28rem;
}


.signup-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup .field-label {
  display: block;
  margin: 0 0 0.45rem;
  font-weight: 600;
  font-size: 0.98rem;
}

.signup .field {
  margin: 0 0 1rem;
}

.signup input[type="email"] {
  width: 100%;
  max-width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.signup-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  color: var(--ink-2);
  max-width: 36rem;
}

.signup-consent input[type="checkbox"] {
  width: auto;
  min-width: 1.15rem;
  height: 1.15rem;
  margin: 0.28rem 0 0;
  padding: 0;
  border: 0;
  flex: none;
  accent-color: var(--ink);
}

.signup button.btn {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.signup .help {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 36rem;
}

@media (pointer: coarse) {
  .signup input[type="email"],
  .signup button.btn {
    min-height: 44px;
  }
  .signup-consent {
    min-height: 44px;
  }
  .signup-consent input[type="checkbox"] {
    min-width: 20px;
    min-height: 20px;
    width: 20px;
    height: 20px;
  }
}

.result__signup .btn {
  font-size: 0.95rem;
}

/* Link to this calculator: a copyable plain link code (no frame, no script, no tracking) */
.link-snippet {
  display: block;
  width: 100%;
  max-width: 44rem;
  min-height: 6.5rem;
  margin: 0.35rem 0 0.8rem;
  padding: 0.75rem 0.85rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(30, 26, 38, 0.22);
  border-radius: 6px;
  resize: vertical;
}
.link-snippet-copy[hidden],
.link-snippet-status[hidden] { display: none; }
