/* Translitify — original theme styles */
:root {
  --ink: #12242c;
  --ink-soft: #243840;
  --teal: #0f7a72;
  --teal-deep: #0a5c56;
  --teal-bright: #1aa89c;
  --teal-mist: #e6f4f2;
  --ivory: #f6f2ea;
  --paper: #fffcf7;
  --sand: #e8e0d2;
  --copper: #c4623a;
  --copper-deep: #9a4a2c;
  --text: #1c2a2e;
  --muted: #5a6a6e;
  --line: #d9d2c6;
  --white: #ffffff;
  --error: #b42318;
  --error-bg: #fef3f2;
  --ok: #0f7a72;
  --ok-bg: #e6f4f2;
  --shadow: 0 12px 40px rgba(18, 36, 44, 0.08);
  --shadow-sm: 0 4px 16px rgba(18, 36, 44, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 76px;
  --max: 1120px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--teal);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--teal);
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 0.75rem;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.container-narrow {
  width: min(760px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(246, 242, 234, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 210, 198, 0.7);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.logo img,
.logo svg {
  width: 36px;
  height: 36px;
}

.logo-word {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
}

.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem 1.25rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
  color: var(--paper);
}

.btn-primary {
  background: var(--teal);
  color: var(--paper);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: var(--paper);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-light {
  background: var(--paper);
  color: var(--teal-deep);
  border-color: var(--paper);
}

.btn-light:hover {
  background: var(--ivory);
  color: var(--teal-deep);
}

.btn-lg {
  padding: 0.9rem 1.4rem;
  font-size: 1rem;
}

.site-nav .btn {
  margin-left: 0.35rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 4.25rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.85rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 3.65rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.lede,
.hero p.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-notes li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.hero-art {
  background: linear-gradient(160deg, #0f7a72 0%, #12242c 100%);
  border-radius: 24px;
  min-height: 380px;
  padding: 2rem;
  color: var(--paper);
  position: relative;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-art svg {
  width: 100%;
  height: auto;
}

.hero-card-stack {
  display: grid;
  gap: 0.9rem;
  position: relative;
  z-index: 1;
}

.mini-card {
  background: rgba(255, 252, 247, 0.1);
  border: 1px solid rgba(255, 252, 247, 0.16);
  border-radius: 14px;
  padding: 1.05rem 1.15rem;
  backdrop-filter: blur(8px);
}

.mini-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
  color: #fff;
}

.mini-card p {
  margin: 0;
  color: rgba(255, 252, 247, 0.82);
  font-size: 0.92rem;
}

.hero-art .watermark {
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-family: var(--font-serif);
  font-size: 7rem;
  font-weight: 600;
  opacity: 0.07;
  letter-spacing: -0.06em;
  pointer-events: none;
  color: #fff;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 1.08rem;
}

.bg-paper {
  background: var(--paper);
}

.bg-ink {
  background: var(--ink);
  color: rgba(255, 252, 247, 0.86);
}

.bg-ink h2,
.bg-ink h3 {
  color: var(--paper);
}

.bg-mist {
  background: var(--teal-mist);
}

/* Cards / grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.5rem 1.45rem 1.55rem;
  box-shadow: var(--shadow-sm);
}

.bg-paper .card {
  background: var(--white);
}

.card h3 {
  margin-top: 0.35rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--teal-mist);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card a.more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--teal-deep);
}

.card a.more:hover {
  color: var(--teal);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 0.25rem 0.2rem;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.7rem;
}

.step h3 {
  font-size: 1.2rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Languages */
.lang-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.lang-pill {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 18px;
  padding: 1.8rem 1.55rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: var(--ink);
  border-color: var(--ink);
  color: rgba(255, 252, 247, 0.88);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.price-card.featured h3,
.price-card.featured .price {
  color: var(--paper);
}

.price-card .tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.5rem;
}

.price-card.featured .tag {
  color: #f3e6c8;
}

.price {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--ink);
  margin: 0.35rem 0 0.85rem;
  letter-spacing: -0.02em;
}

.placeholder {
  font-style: italic;
  background: #f3e6c8;
  color: var(--ink);
  padding: 0.05em 0.3em;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.92em;
}

.price-card.featured .placeholder {
  background: rgba(243, 230, 200, 0.2);
  color: #f3e6c8;
}

.price-card ul {
  margin: 0 0 1.4rem;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  flex: 1;
}

.price-card.featured ul {
  color: rgba(255, 252, 247, 0.78);
}

.price-card li {
  margin: 0.4rem 0;
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.25rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--teal);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .answer {
  padding: 0 1.25rem 1.15rem;
  color: var(--muted);
}

.faq-item .answer p {
  margin: 0;
}

/* CTA band */
.cta-band {
  padding: 4rem 0;
}

.cta-inner {
  background: var(--ink);
  color: rgba(255, 252, 247, 0.86);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cta-inner h2 {
  color: var(--paper);
  margin-bottom: 0.4rem;
}

.cta-inner p {
  margin: 0;
  max-width: 34rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.25rem 0 2.25rem;
  border-bottom: 1px solid var(--sand);
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}

.page-hero .lede {
  margin-bottom: 0;
}

/* About */
.prose {
  max-width: 42rem;
}

.prose p {
  margin: 0 0 1.1rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.aside-card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 18px;
  padding: 1.6rem;
}

.aside-card h2,
.aside-card h3 {
  margin-top: 0;
}

.aside-card dt {
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.85rem;
}

.aside-card dd {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

/* Forms */
.form {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.15rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.label-hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}

.req {
  color: var(--copper);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  width: 100%;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.field.error input,
.field.error select,
.field.error textarea,
.field.error .dropzone {
  border-color: var(--error);
  background: var(--error-bg);
}

.field-error {
  color: var(--error);
  font-size: 0.85rem;
  display: none;
}

.field.error .field-error {
  display: block;
}

.dropzone {
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  padding: 1.15rem;
  background: var(--ivory);
  text-align: center;
  color: var(--muted);
  cursor: pointer;
}

.dropzone.dragover {
  border-color: var(--teal);
  background: var(--teal-mist);
}

.dropzone input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.dropzone strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.2rem;
}

.file-list {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400;
}

.check-row input {
  margin-top: 0.3rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--teal);
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.form-success {
  display: none;
  background: var(--ok-bg);
  border: 1px solid #b7e0da;
  border-radius: 14px;
  padding: 1.4rem 1.3rem;
  color: var(--ink);
}

.form-success h2 {
  font-size: 1.5rem;
}

.form.is-success .form-success {
  display: block;
}

.form.is-success .form-fields {
  display: none;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--sand);
  border-radius: 14px;
  background: var(--paper);
}

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

th, td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--sand);
  vertical-align: top;
}

th {
  background: var(--ivory);
  font-weight: 600;
  color: var(--ink);
}

tr:last-child td {
  border-bottom: 0;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 252, 247, 0.78);
  padding: 3.25rem 0 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 252, 247, 0.12);
}

.site-footer .logo-word,
.site-footer .logo {
  color: var(--paper);
}

.site-footer a {
  color: rgba(255, 252, 247, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer h2 {
  color: var(--paper);
  font-size: 1rem;
  font-family: var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0.4rem 0;
}

.footer-brand p {
  margin: 0.85rem 0 0;
  max-width: 22rem;
  font-size: 0.95rem;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 252, 247, 0.55);
}

/* Utilities */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.section-head.center {
  margin-inline: auto;
}

.link-row {
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .card-grid,
  .price-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.featured {
    transform: none;
  }

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

@media (max-width: 800px) {
  :root { --header-h: 68px; }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--sand);
    padding: 0.75rem 1.25rem 1.15rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li a {
    display: block;
    padding: 0.7rem 0.2rem;
  }

  .site-nav .btn {
    margin: 0.6rem 0 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container,
  .container-narrow {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  section {
    padding: 2.75rem 0;
  }

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

  .hero-grid,
  .split,
  .card-grid,
  .card-grid-4,
  .price-grid,
  .steps,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 0;
    padding: 1.4rem;
  }

  .cta-inner {
    padding: 1.75rem 1.35rem;
  }

  .form {
    padding: 1.25rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---- Pricing hero + order calculator (2026 rework) ---- */
.hero-price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.85rem;
  margin: 0 0 0.55rem;
}

.hero-price-amount {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}

.hero-price-unit {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero-price-note {
  margin: 0 0 1.4rem;
  color: var(--muted);
  max-width: 36rem;
}

.price-panel {
  background: var(--paper);
  border-radius: 24px;
  padding: 1.7rem 1.55rem 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--sand);
  color: var(--text);
}

.price-panel .eyebrow {
  margin-bottom: 0.35rem;
}

.price-panel .hero-price-amount {
  color: var(--teal-deep);
}

.price-panel ul {
  list-style: none;
  margin: 1.1rem 0 1.35rem;
  padding: 0;
}

.price-panel li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--sand);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.price-panel li:last-child {
  border-bottom: 0;
}

.price-panel .panel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.price-panel .panel-actions .btn {
  width: 100%;
}

.suggested-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.85rem 0 0;
}

/* Guarantee */
.guarantee {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  max-width: 52rem;
}

.guarantee p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

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

/* Order page */
.order-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1.75rem;
  align-items: start;
}

.order-summary {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--ink);
  color: rgba(255, 252, 247, 0.86);
  border-radius: 20px;
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--shadow);
}

.order-summary h2 {
  color: var(--paper);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.totals {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}

.totals li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 252, 247, 0.1);
  font-size: 0.95rem;
}

.totals li[hidden] {
  display: none !important;
}

.totals .grand {
  border-bottom: 0;
  padding-top: 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--paper);
}

.totals .grand span:last-child {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.summary-note,
.page-count-note {
  font-size: 0.88rem;
  color: rgba(255, 252, 247, 0.7);
  margin: 0.35rem 0 0;
}

.page-count-note {
  color: var(--muted);
  margin: 0.35rem 0 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.choice {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: var(--white);
  cursor: pointer;
  display: block;
}

.choice:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-mist);
  box-shadow: 0 0 0 1px var(--teal);
}

.choice input {
  margin: 0 0.5rem 0 0;
  accent-color: var(--teal);
}

.choice strong {
  display: inline;
  color: var(--ink);
}

.choice .choice-price {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--teal-deep);
}

.choice p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.option-add-on {
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: var(--white);
  margin: 0 0 0.65rem;
}

.option-add-on.is-disabled {
  opacity: 0.55;
}

.count-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkout-placeholder {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
}

.checkout-placeholder h2 {
  font-size: 1.7rem;
}

.checkout-placeholder .checkout-total {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--teal-deep);
  margin: 0.3rem 0 1rem;
}

.checkout-placeholder .checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

@media (max-width: 900px) {
  .order-shell,
  .choice-grid,
  .count-grid {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  .hero-price-amount {
    font-size: 2.5rem;
  }
}
