:root {
  --ink: #1a1a1b;
  --ink-soft: #3a3a3c;
  --muted: #5f5e5a;
  --paper: #f6f5f1;
  --line: #e3e1da;
  --orange: #f46b38;
  --orange-deep: #b8461c;
  --glow: #fff1d6;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
svg path { fill: none; stroke: currentColor; stroke-width: 1.6; }

/* Header and footer */
.site-header, .site-footer { max-width: 1280px; margin: 0 auto; padding: 18px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand__name { font-family: var(--serif); font-size: 32px; line-height: 1; }
.brand__by { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.site-nav { display: flex; gap: 26px; font-size: 15px; }
.site-nav a { text-decoration: none; color: var(--ink-soft); }
.site-footer { border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); padding-bottom: 36px; }

/* Hero */
.hero {
  position: relative;
  margin: 0 16px;
  padding: 56px 24px 96px;
  border-radius: 36px;
  /* clip, not hidden: a hidden overflow can be scrolled by focus and push the content out of view. */
  overflow: hidden;
  overflow: clip;
  background: linear-gradient(to bottom, #e2531d 0%, var(--orange) 48%, #f7854a 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 69px 69px -59px rgba(255, 255, 255, 0.5), 0 30px 60px rgba(150, 50, 10, 0.18);
}
.hero__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.3) 1.4px, transparent 1.6px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 55%);
  mask-image: linear-gradient(to bottom, #000, transparent 55%);
}
.hero__glow {
  position: absolute; left: -10%; right: -10%; bottom: -46%; height: 82%;
  background: radial-gradient(ellipse 45% 50% at 50% 100%, rgba(255, 248, 230, 0.95) 0%, rgba(255, 218, 160, 0.8) 20%, rgba(255, 172, 96, 0.45) 42%, rgba(244, 107, 56, 0) 70%);
  transform-origin: 50% 100%;
  animation: glow 7s ease-in-out infinite;
}
.hero__glyphs {
  position: absolute; z-index: 1; top: 40%; width: 40%; height: 44%; overflow: hidden;
  font-family: var(--mono); font-size: 13px; line-height: 26px; letter-spacing: 0.5em; white-space: nowrap;
  color: rgba(255, 241, 214, 0.65);
  animation: flicker 5s ease-in-out infinite;
}
.hero__glyphs--left { left: 0; text-align: right; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 92% 50%, #000, transparent 72%); mask-image: radial-gradient(ellipse 70% 60% at 92% 50%, #000, transparent 72%); }
.hero__glyphs--right { right: 0; animation-delay: -2.5s; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 8% 50%, #000, transparent 72%); mask-image: radial-gradient(ellipse 70% 60% at 8% 50%, #000, transparent 72%); }
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 6px;
  background: #fff; border-radius: 999px; padding: 8px 13px; font-size: 13px; font-weight: 500;
  box-shadow: 0 10px 24px rgba(120, 35, 5, 0.25);
  animation: float 6s ease-in-out infinite;
}
.chip::before { content: ''; width: 9px; height: 5px; border-left: 2px solid var(--orange-deep); border-bottom: 2px solid var(--orange-deep); transform: rotate(-45deg) translateY(-2px); }
.chip--outlook { left: 6%; top: 30%; --r: -4deg; }
.chip--gmail { right: 6%; top: 26%; --r: 3deg; animation-delay: -2s; }
.chip--apple { right: 9%; bottom: 10%; --r: -2deg; animation-delay: -4s; }

.hero__inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.9); border-radius: 999px; padding: 7px 14px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px 2px rgba(244, 107, 56, 0.8); }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 62px); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
.hero__lead { margin: 0; font-size: 18px; line-height: 1.5; color: #2b1a12; max-width: 560px; }

/* Template pills */
.templates { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #fff; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; box-shadow: 0 6px 16px rgba(120, 35, 5, 0.18); }
.pill__num { font-family: var(--mono); font-size: 11.5px; opacity: 0.6; }
.pill[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Mail window */
.mail {
  width: 100%; padding: 1.5px; border-radius: 22px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.95) 0%, var(--glow) 45%, rgba(255, 255, 255, 0.9) 100%);
  box-shadow: -70px 20px 120px -20px rgba(255, 241, 214, 0.7), 70px 20px 120px -20px rgba(255, 241, 214, 0.7), 0 40px 90px rgba(120, 35, 5, 0.35);
}
.mail__window { background: #fff; border-radius: 20.5px; overflow: hidden; text-align: left; }
.mail__head { padding: 14px 22px; border-bottom: 1px solid #eeece6; font-family: var(--mono); font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.mail__meta { display: flex; flex-direction: column; gap: 4px; }
.person-nav { display: flex; align-items: center; gap: 4px; }
.person-nav__label { min-width: 160px; text-align: center; color: var(--ink); }
.person-nav__label small { color: #8a8984; font-size: inherit; }
.round-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.mail__body { padding: 26px 28px 30px; }
.mail__body > p { margin: 0 0 6px; font-family: Arial, Helvetica, sans-serif; font-size: 15px; color: var(--ink-soft); }
.mail__body > .mail__last { margin-bottom: 24px; }

/* Drop zone */
/* Ghost and overlay share one grid cell, so the zone grows with whichever is taller. */
.dropzone { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 180px; border-radius: 16px; }
.dropzone > * { grid-area: 1 / 1; }
.dropzone__ghost { display: flex; gap: 16px; padding: 22px; opacity: 0.55; overflow: hidden; }
.ghost-logo { width: 56px; height: 56px; border-radius: 12px; background: #eeece6; flex: none; }
.ghost-rule { width: 2px; background: #f4c7b3; flex: none; }
.ghost-lines { display: flex; flex-direction: column; gap: 9px; padding-top: 4px; }
.ghost-lines span { display: block; height: 9px; border-radius: 6px; background: #eeece6; }
.ghost-lines span:nth-child(1) { width: 150px; height: 11px; background: #e6e3db; }
.ghost-lines span:nth-child(2) { width: 210px; }
.ghost-lines span:nth-child(3) { width: 180px; }
.dropzone__overlay {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 18px; text-align: center; border: 1.5px dashed #f0a27f; border-radius: 16px; background: rgba(255, 255, 255, 0.82);
  animation: breathe 2.4s ease-in-out infinite;
}
.dropzone.is-dragover .dropzone__overlay { border-style: solid; border-color: var(--orange); background: rgba(253, 236, 228, 0.92); animation: none; }
.dropzone__title { margin: 0; font-size: 16px; font-weight: 600; }
.dropzone__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dropzone__hint { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 500; cursor: pointer; text-decoration: none; }
.btn:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--orange { background: var(--orange); color: var(--ink); font-weight: 600; min-height: 50px; padding: 0 22px; box-shadow: 0 0 24px rgba(244, 107, 56, 0.45); }
.btn--orange:disabled { opacity: 0.6; cursor: progress; }
.btn--logo { min-height: 40px; padding: 0 14px; font-size: 13.5px; background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn--logo.has-logo { background: #fff; border-color: var(--line); }
.link-btn { background: none; border: none; color: var(--muted); font-size: 13.5px; text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 6px; }

/* Signature preview */
.signature { overflow-x: auto; }
.logo-slot { display: inline-flex; align-items: center; justify-content: center; border: 1.5px dashed #f0a27f; border-radius: 12px; background: #fff4ee; color: var(--orange-deep); font: 700 11px/1 Arial, sans-serif; cursor: pointer; padding: 0 8px; }

.status { margin: 0; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 14px; max-width: 640px; }
.status.is-error { background: #fff; color: #9b2c0a; font-weight: 500; }

/* Controls */
.controls { width: 100%; background: #fff; border-radius: 18px; padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 26px rgba(120, 35, 5, 0.2); }
.controls__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 22px; }
.controls__row--fields { justify-content: stretch; gap: 10px; border-top: 1px solid #eeece6; padding-top: 10px; }
.controls__row--end { justify-content: flex-end; gap: 4px; }
.control-group { display: flex; align-items: center; gap: 4px; }
.control-label { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-right: 4px; }
.swatches, .chips { display: flex; gap: 4px; }
.swatch { width: 44px; height: 44px; border: none; background: transparent; padding: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.swatch span { display: block; width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 4px transparent; }
.swatch[aria-pressed='true'] span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.swatch-custom { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; }
.swatch-custom input { width: 26px; height: 26px; padding: 0; border: 1px dashed var(--muted); border-radius: 50%; background: none; cursor: pointer; }
.swatch-custom input::-webkit-color-swatch-wrapper { padding: 2px; }
.swatch-custom input::-webkit-color-swatch { border: none; border-radius: 50%; }
.font-chip { min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); font-size: 13.5px; cursor: pointer; }
.font-chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips--wrap { flex-wrap: wrap; }
.font-chip--check { display: inline-flex; align-items: center; gap: 6px; }
.font-chip--check[aria-pressed='true'] { background: #fdece4; border-color: var(--orange); color: var(--ink); }
.font-chip--check[aria-pressed='true']::before { content: ''; width: 8px; height: 4px; border-left: 2px solid var(--orange-deep); border-bottom: 2px solid var(--orange-deep); transform: rotate(-45deg) translateY(-2px); }
.font-chip--check[aria-pressed='false'] { color: #8a8984; text-decoration: line-through; }
.field { flex: 1 1 150px; display: flex; flex-direction: column; gap: 4px; text-align: left; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.field small { font-size: inherit; opacity: 0.8; }
.field input { width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font: 14px var(--sans); color: var(--ink); background: #fff; }

/* Version choice, after the signatures are loaded */
.checkout { width: 100%; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 24px; background: var(--ink); color: var(--paper); text-align: left; box-shadow: 0 18px 40px rgba(120, 35, 5, 0.3); }
.plans { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.checkout__title { grid-column: 1 / -1; padding: 0; margin-bottom: 16px; font-family: var(--serif); font-size: 30px; color: #fff; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 20px; border-radius: 18px; border: 1.5px solid #34343a; background: #232326; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.plan--paid { background: linear-gradient(160deg, #3a2014 0%, #232326 65%); }
.plan:has(input:checked) { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(244, 107, 56, 0.2), 0 18px 44px rgba(244, 107, 56, 0.22); }
.plan--paid:has(input:checked) { transform: translateY(-2px); }
.plan:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.plan__badge { position: absolute; top: -12px; right: 18px; padding: 5px 11px; border-radius: 999px; background: var(--orange); color: var(--ink); font: 600 11.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 0 20px rgba(244, 107, 56, 0.6); }
.plan__name { font-size: 15px; font-weight: 600; color: #fff; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-family: var(--serif); font-size: 48px; line-height: 1; color: #fff; }
.plan__price small { font-family: var(--sans); font-size: 13px; color: #f7a37f; }
.plan--free .plan__price { font-size: 32px; color: #d9d7cf; }
.plan__unit { font-size: 13.5px; color: #b9b7af; }
.plan__list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: #ecebe6; }
.plan__list li { display: flex; align-items: baseline; gap: 9px; }
.plan__list li::before { content: ''; flex: none; width: 9px; height: 5px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg) translateY(-3px); }
.plan--free .plan__list { color: #b9b7af; }
.plan--free .plan__list li::before { border-color: #77767a; }
.plan__sample { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #fff; color: var(--ink-soft); font: 12px Arial, Helvetica, sans-serif; }
.plan__sample u { color: #8a8984; font-size: 11px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.checkout__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.btn--xl { width: 100%; min-height: 60px; font-size: 17px; }
.btn--quiet { background: #fff; border-color: #fff; box-shadow: none; }
.checkout__note { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; color: #b9b7af; }

/* Buy bar: keeps the purchase one click away while people adjust their signatures. */
.buybar {
  /* Centered with margins, not a transform: the entrance animation animates transform. */
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 16px; margin: 0 auto;
  width: min(780px, calc(100% - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 20px; border-radius: 20px; background: rgba(26, 26, 27, 0.95); color: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px);
  animation: appear 0.3s ease-out both;
}
.buybar__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.buybar__info strong { font-size: 15px; }
.buybar__info span { font-size: 13px; color: #b9b7af; }
.buybar__actions { display: flex; align-items: center; gap: 6px; flex: none; }
.buybar__switch { min-height: 44px; padding: 0 12px; border: none; background: none; color: #d9d7cf; font-size: 13.5px; text-decoration: underline; cursor: pointer; }
.buybar .btn--orange { min-height: 48px; }
.buybar .btn--quiet { background: #fff; color: var(--ink); }

.mini-btn { min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 500 12.5px var(--sans); cursor: pointer; }
.mini-btn:hover { border-color: var(--orange); }

/* Person editor */
.editor { width: min(620px, calc(100% - 24px)); padding: 0; border: none; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.editor::backdrop { background: rgba(26, 26, 27, 0.55); backdrop-filter: blur(3px); }
.editor form { display: flex; flex-direction: column; gap: 18px; padding: 26px; }
.editor h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; }
.editor__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field--wide { grid-column: 1 / -1; }
.editor__error { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fdece4; color: #9b2c0a; font-size: 14px; }
.editor__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.editor__delete { margin-right: auto; color: #9b2c0a; }

.more-settings { border-top: 1px solid #eeece6; padding-top: 6px; }
.more-settings summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 10px; min-height: 40px; padding: 8px 0; font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; }
.more-settings summary::-webkit-details-marker { display: none; }
.more-settings summary::after { content: '+'; font: 400 18px/1 var(--mono); color: var(--orange-deep); transition: transform 0.2s; }
.more-settings[open] summary::after { transform: rotate(45deg); }
.more-settings summary span { font: 11.5px var(--mono); color: var(--muted); }
.more-settings .controls__row--fields { border-top: none; padding-top: 4px; }
.tag { font-family: var(--mono); font-size: 11.5px; color: var(--ink); background: var(--paper); border-radius: 6px; padding: 3px 7px; }

/* Sections */
.section { max-width: 1100px; margin: 0 auto; padding: 80px 32px 8px; }
.section__head { display: flex; flex-direction: column; gap: 10px; max-width: 700px; margin-bottom: 28px; }
.kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-deep); }
.section h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.05; }
.section__head p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.step { position: relative; padding: 16px 16px 22px; border-radius: 22px; border: 1px solid var(--line); background: #fff; }
.step__visual { height: 176px; margin-bottom: 18px; border-radius: 14px; background: linear-gradient(160deg, #fdece4, #f8d6c4); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.step__num, .tuto-step__num { width: 28px; height: 28px; margin-bottom: 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 600 13px var(--mono); }
.step__num { background: var(--ink); color: #fff; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.mini-sheet { width: 230px; overflow: hidden; border-radius: 10px; background: #fff; font: 11px var(--mono); box-shadow: 0 10px 24px rgba(120, 35, 5, 0.18); }
.mini-sheet__file { display: block; padding: 7px 10px; color: var(--muted); }
.mini-sheet__row { display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px 10px; border-top: 1px solid #f0eee8; }
.mini-sheet__row.is-head { background: #fafaf7; color: var(--muted); }
.mini-sheet i, .mini-pick i { font-style: normal; }
.mini-pick { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mini-pick__pills { display: flex; gap: 4px; }
.mini-pick__pills i { padding: 5px 9px; border-radius: 999px; background: #fff; font: 500 10.5px var(--sans); }
.mini-pick__pills i.is-on { background: var(--ink); color: #fff; }
.mini-sig { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #fff; font-family: Arial, Helvetica, sans-serif; box-shadow: 0 10px 24px rgba(120, 35, 5, 0.18); }
.mini-sig b { width: 30px; height: 30px; border-radius: 7px; background: #2a2a2b; color: #fff; font: 12px Georgia, serif; display: flex; align-items: center; justify-content: center; }
.mini-sig > span { display: flex; flex-direction: column; padding-left: 8px; border-left: 2px solid var(--orange); }
.mini-sig strong { font-size: 12px; }
.mini-sig em { font-style: normal; font-size: 10.5px; color: var(--muted); }
.mini-pick__swatches { display: flex; gap: 7px; }
.mini-pick__swatches i { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px #fff; }
.mini-pick__swatches i:nth-child(2) { background: #2a2a2b; }
.mini-pick__swatches i:nth-child(3) { background: #2f6b4f; }
.mini-pick__swatches i:nth-child(4) { background: #2f5bd3; }
.mini-zip { width: 230px; display: flex; flex-direction: column; gap: 6px; }
.mini-zip__file { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; background: #fff; font: 11.5px var(--mono); box-shadow: 0 6px 16px rgba(120, 35, 5, 0.12); }
.mini-zip__file::before { content: '.eml'; padding: 2px 5px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 9.5px; }
.mini-zip__file.is-guide::before { content: 'tuto'; background: var(--orange); color: var(--ink); }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tier { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.tier.is-active { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(244, 107, 56, 0.15); transform: translateY(-2px); }
.tier__range { font: 12px var(--mono); color: var(--muted); }
.tier__price { font-family: var(--serif); font-size: 42px; line-height: 1.05; }
.tier__unit { font-size: 13.5px; color: var(--muted); }
.tiers__note { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.calculator { display: grid; gap: 16px; margin-top: 16px; padding: 22px; border-radius: 22px; background: var(--ink); color: var(--paper); }
.calculator__input { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 500; }
.calculator__value { display: flex; align-items: center; gap: 8px; color: #b9b7af; font-weight: 400; }
.calculator__value input { width: 100px; min-height: 46px; border: 1px solid #3a3a3f; border-radius: 10px; background: #232326; color: #fff; font: 600 20px var(--sans); text-align: center; }
#team-range { width: 100%; accent-color: var(--orange); }
/* Tick labels sit at their logarithmic position on the slider. */
.calculator__scale { position: relative; height: 14px; margin: -10px 8px 0; font: 11.5px var(--mono); color: #9a999e; }
.calculator__scale span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.calculator__scale span:first-child { transform: none; }
.calculator__scale span:last-child { transform: translateX(-100%); }
.calculator__result { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.calculator__result > div { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: #232326; }
.calculator__result > div:first-child { box-shadow: inset 0 0 0 1.5px var(--orange); }
.calculator__result strong { font-family: var(--serif); font-size: 48px; font-weight: 400; line-height: 1; color: #fff; }
.calculator__label { font: 12px var(--mono); color: #b9b7af; }
#calc-unit { font-size: 13.5px; color: #f7a37f; }
.calculator__compare #calc-sub { font-size: 20px; color: #d9d7cf; }
.compare { width: 100%; margin-top: 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; font-size: 14.5px; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #eeece6; }
.compare tbody tr:last-child > * { border-bottom: none; }
.compare thead th { background: #fafaf7; color: var(--muted); font: 600 13px var(--mono); }
.compare tbody th { font-weight: 500; }
.compare .is-paid { background: #fdf3ee; font-weight: 600; }
.compare thead .is-paid { background: #fbe1d4; color: var(--orange-deep); }

/* Tutorials */
.tuto-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tuto-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 44px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.tuto-tab strong { font-size: 15px; }
.tuto-tab span { font: 11.5px var(--mono); color: var(--muted); }
.tuto-tab[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tuto-tab[aria-selected='true'] span { color: #b9b7af; }
.tuto-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.tuto-step { position: relative; padding: 14px 14px 18px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.tuto-step__visual { height: 156px; margin-bottom: 14px; border-radius: 12px; background: #f3f1ec; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; overflow: hidden; }
.tuto-step__num { width: 26px; height: 26px; background: var(--orange); color: var(--ink); font-size: 12.5px; }
.tuto-step h3 { margin: 0 0 4px; font-size: 16px; }
.tuto-step p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.ill-file { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ill-file__icon { width: 52px; height: 64px; padding-bottom: 8px; border: 1.5px solid #d9d7cf; border-radius: 6px 16px 6px 6px; background: #fff; display: flex; align-items: flex-end; justify-content: center; font: 600 11px var(--mono); color: var(--orange-deep); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08); }
.ill-file__name { padding: 2px 6px; border-radius: 4px; background: #e2ecff; font: 11px var(--mono); color: var(--ink-soft); }
.ill-cursor { position: absolute; top: 30px; right: -30px; padding: 3px 6px; border-radius: 6px; background: var(--ink); color: #fff; font: 600 11px var(--mono); }
.ill-cursor::before { content: ''; position: absolute; top: -12px; left: -10px; width: 12px; height: 17px; background: var(--ink); clip-path: polygon(0 0, 100% 68%, 52% 68%, 38% 100%); }
.ill-mail { width: 180px; padding: 8px 10px; border-radius: 10px; background: #fff; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08); }
.ill-mail__bar { width: 60%; height: 6px; border-radius: 3px; background: #e6e3db; }
.ill-mail__lines { display: flex; flex-direction: column; gap: 4px; }
.ill-mail__lines i { height: 4px; border-radius: 2px; background: #eeece6; }
.ill-mail__lines i:last-child { width: 70%; }
.ill-sig { display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 6px; font-family: Arial, Helvetica, sans-serif; }
.ill-sig.is-selected { background: #cfe0ff; box-shadow: 0 0 0 1.5px #6c9cff; }
.ill-sig b { flex: none; width: 22px; height: 22px; border-radius: 5px; background: #2a2a2b; color: #fff; font: 9px Georgia, serif; display: flex; align-items: center; justify-content: center; }
.ill-sig > span { display: flex; flex-direction: column; padding-left: 6px; border-left: 2px solid var(--orange); }
.ill-sig strong { font-size: 9.5px; }
.ill-sig em { font-style: normal; font-size: 8px; color: var(--muted); }
.ill-keys { display: flex; align-items: center; gap: 4px; font: 600 11px var(--mono); color: var(--muted); }
kbd { padding: 3px 7px; border: 1px solid #d9d7cf; border-bottom-width: 3px; border-radius: 6px; background: #fff; color: var(--ink); font: 600 11px var(--mono); }
.ill-menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; padding: 0 10px; }
.ill-menu__item { padding: 6px 9px; border-radius: 8px; background: #fff; font-size: 11.5px; font-weight: 500; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06); }
.ill-menu__item.is-target { background: var(--orange); color: var(--ink); box-shadow: 0 0 0 3px rgba(244, 107, 56, 0.25); }
.ill-menu__sep { font-size: 13px; color: var(--muted); }
.ill-editor { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 0 10px; }
.ill-editor__box { padding: 6px 8px; border: 1.5px dashed #9ab8ff; border-radius: 8px; background: #fff; }
.ill-editor__action { padding: 6px 12px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 11px; font-weight: 600; text-align: center; box-shadow: 0 0 0 3px rgba(244, 107, 56, 0.25); }
.ill-editor__action.is-checkbox { display: flex; align-items: center; gap: 6px; background: #fff; color: var(--ink-soft); font-weight: 500; box-shadow: 0 0 0 2px var(--orange); }
.ill-editor__action.is-checkbox::before { content: ''; flex: none; width: 10px; height: 10px; border: 1.5px solid var(--muted); border-radius: 2px; }
.ill-site-btn { padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 500; box-shadow: 0 0 0 3px rgba(244, 107, 56, 0.45); }
.ill-field { width: 190px; display: flex; flex-direction: column; gap: 4px; }
.ill-field__label { font: 10.5px var(--mono); color: var(--muted); }
.ill-field__input { padding: 7px 9px; border: 1.5px solid var(--orange); border-radius: 8px; background: #fff; font: 11px var(--mono); }

/* FAQ */
.faq { max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.faq details { padding: 0 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq summary { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; font-size: 16px; font-weight: 500; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 400 22px/1 var(--mono); color: var(--orange-deep); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.site-footer { margin-top: 72px; display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr)); align-items: start; gap: 28px; padding-top: 36px; }
.footer__brand p { margin: 8px 0 0; max-width: 280px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__col strong { margin-bottom: 2px; font: 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.footer__col a { color: var(--muted); text-decoration: none; }
.footer__col a:hover { color: var(--ink); text-decoration: underline; opacity: 1; }

/* Content pages: tutorials, guides, legal */
.page { max-width: 1040px; margin: 0 auto; padding: 24px 32px 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font: 12.5px var(--mono); color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.page h1 { max-width: 840px; margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.5vw, 60px); line-height: 1.03; text-wrap: balance; }
.page__lead { max-width: 700px; margin: 0 0 32px; font-size: 18px; line-height: 1.55; color: var(--ink-soft); }
.prose { max-width: 760px; margin-top: 40px; }
.prose h2 { margin: 44px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.prose h3 { margin: 26px 0 6px; font-size: 18px; }
.prose p, .prose li { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 22px; }
.prose .compare { margin: 16px 0; }
.legal .prose { margin-top: 8px; }
.placeholder { padding: 0 5px; border-radius: 4px; background: #fff0b8; color: #6b4e00; font-weight: 500; }
.page__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 56px; padding: 32px; border-radius: 28px;
  background: linear-gradient(to bottom, #e2531d 0%, var(--orange) 60%, #f7854a 100%);
  box-shadow: inset 0 69px 69px -59px rgba(255, 255, 255, 0.5), 0 24px 50px rgba(150, 50, 10, 0.18);
}
.page__cta h2 { max-width: 560px; margin: 0; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; color: var(--ink); }
.page__cta .btn { min-height: 54px; padding: 0 26px; background: var(--ink); color: #fff; }
.page__related { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; }
.page__related strong { margin-right: 6px; font: 12.5px var(--mono); color: var(--muted); }
.page__related a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 500; text-decoration: none; }

/* Motion */
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-8px) rotate(var(--r, 0deg)); } }
@keyframes glow { 0%, 100% { opacity: 0.85; transform: scaleX(1); } 50% { opacity: 1; transform: scaleX(1.06); } }
@keyframes flicker { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes breathe { 0%, 100% { border-color: #f0a27f; } 50% { border-color: var(--orange); } }
@keyframes appear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.appear { animation: appear 0.45s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 1180px) {
  .chip { display: none; }
}

@media (max-width: 760px) {
  .site-header, .site-footer { padding: 16px; }
  .hero { margin: 0 8px; padding: 40px 14px 64px; border-radius: 28px; }
  .hero__glyphs { display: none; }
  .mail__body { padding: 20px 16px 24px; }
  .person-nav__label { min-width: 0; }
  .controls__row--end { justify-content: center; }
  .section { padding: 56px 16px 8px; }
  .plans { grid-template-columns: 1fr; }
  .checkout { padding: 16px; }
  .compare th, .compare td { padding: 10px; font-size: 13px; }
  .editor__grid { grid-template-columns: 1fr; }
  .person-nav { flex-wrap: wrap; }
  .buybar { bottom: 8px; padding: 10px; flex-wrap: wrap; }
  .buybar__info { flex-direction: row; flex-wrap: wrap; gap: 0 8px; padding: 0 6px; }
  .buybar__actions { width: 100%; }
  .buybar__switch { order: 2; }
  .buybar .btn--orange { flex: 1; }
  .site-footer { grid-template-columns: 1fr 1fr; padding-bottom: 140px; }
  .footer__brand { grid-column: 1 / -1; }
  .page { padding: 16px 16px 0; }
  .page__cta { padding: 24px; }
}
