:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --paper: #fffdf8;
  --paper-soft: #f0ebe1;
  --muted: #ece6db;
  --ink: #17130f;
  --subtle: #6b6258;
  --hairline: rgba(88, 72, 54, 0.18);
  --accent: #7d3429;
  --accent-dark: #59261f;
  --blue: var(--accent);
  --blue-dark: var(--accent-dark);
  --gold: #b88334;
  --green: #2fb767;
  --shadow: 0 26px 72px rgba(58, 41, 24, 0.13);
  --shadow-soft: 0 14px 38px rgba(58, 41, 24, 0.08);
  --radius: 10px;
  --radius-large: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Avenir Next", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 2%, rgba(184, 131, 52, 0.16), transparent 34rem),
    radial-gradient(circle at 96% 18%, rgba(47, 183, 103, 0.10), transparent 26rem),
    linear-gradient(180deg, #fbfaf6 0%, var(--bg) 52%, #f2eee6 100%);
  color: var(--ink);
  letter-spacing: 0;
  opacity: 1;
  transition: opacity 160ms ease;
}

body.leaving { opacity: 0; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 25% 20%, rgba(23, 19, 15, 0.05) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 60%, rgba(184, 131, 52, 0.05) 0 1px, transparent 1px);
  background-size: 18px 18px, 26px 26px;
}

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

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

main {
  direction: ltr;
}

p { color: var(--subtle); line-height: 1.62; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(88, 72, 54, 0.13);
  background: rgba(255, 253, 248, 0.82);
  backdrop-filter: blur(22px) saturate(1.1);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand span,
.footer-brand span {
  direction: ltr;
  unicode-bidi: isolate;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: #fff8ea;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 232, 170, 0.92), rgba(184, 131, 52, 0.78) 36%, transparent 37%),
    linear-gradient(145deg, #18130f, #7d3429 62%, #b88334);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 24px rgba(74, 42, 26, 0.18);
  font-family: "Iowan Old Style", "Georgia", serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 4px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0 6%, var(--green) 6% 18%, transparent 18% 27%, var(--green) 27% 42%, transparent 42% 52%, var(--green) 52% 78%, transparent 78%);
  opacity: 0.96;
}

.brand-mark-small {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 16px;
}

.brand-mark-large {
  width: 86px;
  height: 86px;
  border-radius: 28px;
  font-size: 46px;
  margin-bottom: 24px;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
  color: #514941;
}

.mobile-menu-panel { display: contents; }

.site-nav a {
  padding: 8px 0;
  transition: color 180ms ease;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 650;
}

.site-nav a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-picker select {
  height: 38px;
  max-width: 160px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  padding: 0 34px 0 12px;
  font: inherit;
  color: var(--ink);
}

.nav-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 15px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button svg,
.site-header svg,
.feature svg,
.guide-list svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(125, 52, 41, 0.22);
}

.button-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

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

.button-secondary:hover {
  border-color: rgba(125, 52, 41, 0.34);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button:focus-visible,
.site-nav a:focus-visible,
.contact-copy:focus-visible,
.contact-icon-link:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(47, 183, 103, 0.38);
  outline-offset: 3px;
}

.button-disabled {
  cursor: default;
  opacity: 0.78;
}

.button-disabled:hover {
  transform: none;
}

.button-small {
  min-height: 38px;
  padding: 0 13px;
  font-size: 13px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.hero {
  position: relative;
  min-height: calc(100dvh - 72px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(54px, 7vw, 92px) clamp(20px, 6vw, 86px);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.02);
}

.hero-scrim {
  background:
    radial-gradient(circle at 8% 35%, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.76) 34%, transparent 58%),
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.84) 38%, rgba(255, 253, 248, 0.18) 72%, rgba(255, 253, 248, 0.04) 100%),
    linear-gradient(0deg, rgba(247, 245, 240, 0.94) 0%, rgba(247, 245, 240, 0) 30%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding-top: 10px;
  transform: translateY(-1rem);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 740;
  text-transform: none;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  font-size: clamp(44px, 6vw, 76px);
  font-family: "Iowan Old Style", "Georgia", serif;
  font-weight: 760;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 18px;
}

.hero-lede,
.page-lede {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 20px;
  text-wrap: pretty;
}

.privacy-statement {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 720;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mobile-mac-note {
  display: none;
  max-width: 520px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  font-size: 14px;
  line-height: 1.48;
}

.mobile-device .mobile-mac-note {
  display: block;
}

.site-toast {
  position: fixed;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 80;
  max-width: min(92vw, 420px);
  padding: 12px 14px;
  border: 1px solid rgba(217, 222, 231, 0.92);
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.94);
  color: #fff;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.22);
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.site-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.64);
  color: #4f463d;
  font-size: 13px;
}

.trust-row svg { color: var(--green); }

.section,
.page-hero {
  padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 64px);
}

.section-tight {
  padding: 32px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 253, 248, 0.68);
}

.section-muted {
  background:
    radial-gradient(circle at 92% 10%, rgba(184, 131, 52, 0.12), transparent 24rem),
    var(--paper-soft);
  border-block: 1px solid var(--hairline);
}

.container {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.narrow { max-width: 780px; }

.split,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
}

.align-center { align-items: center; }

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.brand-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 251, 253, 0.92));
}

.brand-art,
.pro-art {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: var(--paper);
}

.brand-art {
  box-shadow: 0 16px 42px rgba(120, 98, 45, 0.12);
}

.brand-art img,
.pro-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-art-small {
  min-height: 320px;
}

.pro-art {
  max-width: 440px;
  justify-self: end;
  box-shadow: 0 22px 58px rgba(17, 24, 39, 0.22);
}

.section-heading p {
  font-size: 18px;
}

.feature-grid,
.steps,
.compare,
.language-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.feature,
.steps article,
.compare article,
.language-card {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.78);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.feature svg,
.guide-list svg {
  color: var(--blue);
}

.feature h3,
.steps h3,
.language-card h3 {
  margin-top: 16px;
}

.feature p,
.steps p,
.language-card p {
  margin-bottom: 0;
}

.dictation-layer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-details {
  margin-top: 20px;
  padding: 20px 22px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.82);
}

.process-details p {
  max-width: 860px;
}

.language-footnote {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(217, 222, 231, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--subtle);
  font-size: 14px;
}

.phrase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.phrase-card {
  min-height: 164px;
  padding: 26px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--shadow-soft);
}

.phrase-card h2,
.phrase-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

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

.download-start-card img {
  border-radius: 18px;
  margin-bottom: 22px;
}

.steps article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

.steps article h3 {
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 680;
}

.page-shell {
  min-height: 70vh;
}

.page-hero {
  background:
    radial-gradient(circle at 14% 0%, rgba(184, 131, 52, 0.18), transparent 34rem),
    radial-gradient(circle at 94% 12%, rgba(125, 52, 41, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(255, 253, 248, 0.96) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--hairline);
}

.download-panel {
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.download-panel img {
  border-radius: 18px;
  margin-bottom: 22px;
}

dl {
  margin: 0;
}

dt {
  color: var(--subtle);
  font-size: 13px;
}

dd {
  margin: 2px 0 16px;
  font-weight: 650;
}

.hash {
  overflow-wrap: anywhere;
  font-size: 12px;
  color: #4f463d;
}

.guide-list {
  display: grid;
  gap: 14px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.guide-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow-soft);
}

.guide-list p {
  margin-bottom: 0;
}

.plain-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--subtle);
  line-height: 1.62;
}

.plain-list li + li {
  margin-top: 8px;
}

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

.contact-address {
  margin: 0;
  color: var(--ink);
  font-weight: 680;
  overflow-wrap: anywhere;
}

.contact-method {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.72);
}

.contact-icon-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #2f6edb;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 21px 21px;
  box-shadow: 0 10px 24px rgba(30, 66, 138, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.contact-icon-link:hover {
  transform: translateY(-1px);
  filter: brightness(0.97);
  box-shadow: 0 14px 28px rgba(30, 66, 138, 0.16);
}

.contact-method-copy {
  display: grid;
  gap: 2px;
}

.contact-method-label {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0;
}

.contact-method-value {
  color: var(--ink);
  font-weight: 720;
  overflow-wrap: anywhere;
}

.contact-method-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.contact-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.contact-copy:hover {
  border-color: #aeb8c8;
}

.contact-open {
  border-color: rgba(47, 110, 219, 0.24);
  background: #eef5ff;
  color: var(--blue);
}

.contact-open:hover {
  border-color: rgba(47, 110, 219, 0.38);
}

.contact-wechat .contact-icon-link {
  background-color: #1aad19;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M9.6 4.2c-4.1 0-7.4 2.6-7.4 5.9 0 1.8 1 3.4 2.6 4.5l-.6 2.1 2.4-1.2c.9.3 1.9.5 3 .5.3 0 .6 0 .9-.1-.2-.6-.3-1.1-.3-1.7 0-3.1 3.1-5.6 7-5.6h.3c-.8-2.5-3.9-4.4-7.9-4.4Zm-2.5 4.7a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8Zm5 0a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8Zm5 1.1c-3.2 0-5.8 2-5.8 4.5s2.6 4.5 5.8 4.5c.8 0 1.5-.1 2.2-.4l1.9 1-.5-1.7c1.3-.8 2.2-2 2.2-3.4 0-2.5-2.6-4.5-5.8-4.5Zm-1.9 3.6a.7.7 0 1 1 0-1.4.7.7 0 0 1 0 1.4Zm3.9 0a.7.7 0 1 1 0-1.4.7.7 0 0 1 0 1.4Z'/%3E%3C/svg%3E");
}

.contact-telegram .contact-icon-link {
  background-color: #229ed9;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M21.7 4.4 18.5 19c-.2 1.1-.9 1.4-1.8.9l-4.9-3.6-2.4 2.3c-.3.3-.5.5-1 .5l.4-5 9.1-8.2c.4-.4-.1-.6-.6-.2L6 12.8 1.2 11.3C.2 11 0 10.3 1.4 9.8L20.1 2.6c.9-.3 1.7.2 1.6 1.8Z'/%3E%3C/svg%3E");
}

.contact-whatsapp .contact-icon-link {
  background-color: #25d366;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 2.1a9.8 9.8 0 0 0-8.5 14.8L2.3 21.9l5.1-1.3A9.8 9.8 0 1 0 12 2.1Zm0 17.6a7.7 7.7 0 0 1-3.9-1.1l-.3-.2-3 .8.8-2.9-.2-.3A7.7 7.7 0 1 1 12 19.7Zm4.2-5.8c-.2-.1-1.4-.7-1.6-.8-.2-.1-.4-.1-.6.1-.2.3-.7.8-.8 1-.2.2-.3.2-.6.1-.3-.1-1.1-.4-2-1.2-.7-.7-1.2-1.5-1.4-1.8-.1-.2 0-.4.1-.5l.4-.5c.1-.2.2-.3.3-.5.1-.2 0-.4 0-.5 0-.1-.6-1.5-.8-2-.2-.5-.4-.4-.6-.4h-.5c-.2 0-.5.1-.7.4-.2.3-.9.9-.9 2.2s.9 2.5 1.1 2.7c.1.2 1.8 2.8 4.4 3.9.6.3 1.1.4 1.5.5.6.2 1.2.2 1.6.1.5-.1 1.4-.6 1.6-1.1.2-.6.2-1 .1-1.1 0-.2-.2-.3-.5-.4Z'/%3E%3C/svg%3E");
}

.contact-hint {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--subtle);
}

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

.compare ul {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.compare li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-top: 1px solid var(--hairline);
}

.compare li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(47, 183, 103, 0.12);
  color: #1e7644;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.badge-muted {
  background: rgba(184, 131, 52, 0.13);
  color: #7a531d;
}

.language-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.language-card {
  min-height: 178px;
}

.language-card.current {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.language-card .native {
  color: var(--ink);
  font-weight: 760;
  font-size: 20px;
}

.language-card .local-note {
  color: var(--green);
  font-weight: 720;
}

.language-card-muted {
  background:
    linear-gradient(180deg, rgba(244, 239, 229, 0.96), rgba(232, 224, 211, 0.96));
}

.language-card-muted .native {
  font-size: 24px;
}

.faq-list {
  border-top: 1px solid var(--hairline);
}

details {
  border-bottom: 1px solid var(--hairline);
  padding: 20px 0;
}

summary {
  cursor: pointer;
  font-weight: 720;
  font-size: 18px;
}

details p {
  margin: 12px 0 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--hairline);
  background: rgba(255, 253, 248, 0.86);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  color: #514941;
}

.site-footer p {
  justify-self: end;
  margin: 0;
}

.footer-meta {
  justify-self: end;
  display: grid;
  gap: 6px;
  text-align: end;
}

.footer-meta p {
  justify-self: end;
}

.footer-meta p + p {
  color: #7a8494;
  font-size: 12px;
}

[dir="rtl"] .hero-scrim {
  background:
    linear-gradient(270deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.86) 32%, rgba(255, 253, 248, 0.2) 67%, rgba(255, 253, 248, 0.04) 100%),
    linear-gradient(0deg, rgba(247, 245, 240, 0.88) 0%, rgba(247, 245, 240, 0) 28%);
}

.timeline-list article {
  padding: 28px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow-soft);
}

.timeline-list h2 {
  margin-top: 10px;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 12px;
  }

  .brand { grid-column: 1; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    justify-self: end;
    min-height: 38px;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    background: var(--paper);
    padding: 0 12px;
    font: inherit;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: clamp(14px, 4vw, 28px);
    right: clamp(14px, 4vw, 28px);
    z-index: 40;
    display: none;
    padding: 12px;
    border: 1px solid var(--hairline);
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: 0 22px 52px rgba(58, 41, 24, 0.16);
    backdrop-filter: blur(18px);
  }

  .site-header.nav-open .mobile-menu-panel {
    display: block;
  }

  .site-header.nav-open .site-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .site-header.nav-open .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 16px;
  }

  .site-header.nav-open .site-nav a[aria-current="page"] {
    background: rgba(125, 52, 41, 0.08);
  }

  .site-header.nav-open .header-actions {
    display: grid;
    gap: 10px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--hairline);
  }

  .site-header.nav-open .language-picker select {
    width: 100%;
    max-width: none;
    min-height: 44px;
  }

  .site-header.nav-open .header-actions .button {
    width: 100%;
    min-height: 46px;
  }

  .hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 280px;
  }

  .hero-image { object-position: 65% center; }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.9) 45%, rgba(255, 253, 248, 0.08) 100%);
  }

  .split,
  .two-column,
  .feature-grid,
  .dictation-layer-grid,
  .steps,
  .compare,
  .language-grid,
  .phrase-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav { justify-content: start; }

  .site-footer p,
  .footer-meta,
  .footer-meta p { justify-self: start; }

  .footer-meta { text-align: start; }
}

@media (max-width: 560px) {
  h1 { font-size: 42px; }

  .hero-lede,
  .page-lede { font-size: 18px; }

  .privacy-statement { font-size: 19px; }

  .button { width: 100%; }

  .hero-actions,
  .trust-row { width: 100%; }

  .trust-row span { flex: 1; }

  .feature,
  .steps article,
  .compare article,
  .language-card,
  .phrase-card,
  .guide-list article,
  .download-panel {
    padding: 22px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-address,
  .contact-method {
    grid-column: 1;
  }

  .contact-method {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .contact-method-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

.contact-copy {
    width: 100%;
  }
}

.hero-direct .hero-content {
  max-width: 680px;
}

.direct-art {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-large);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.direct-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.journey article {
  padding: 30px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow-soft);
}

.journey span,
.purchase-state > svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.journey span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 760;
  margin-bottom: 18px;
}

.price-row {
  margin-top: 28px;
}

.price-row article {
  padding: 24px;
}

.price-row span {
  width: auto;
  min-width: 48px;
  padding: 0 10px;
}

.price-row h3 {
  margin: 0 0 6px;
  font-size: clamp(30px, 4vw, 44px);
}

.two-by-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-list {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-top: 1px solid var(--hairline);
  color: var(--subtle);
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.spec-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
}

.spec-list div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

.spec-list dd {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .journey,
  .two-by-two {
    grid-template-columns: 1fr;
  }
}

.purchase-state > svg {
  width: 46px;
  height: 46px;
  color: var(--blue);
  margin-bottom: 18px;
}

.placeholder-form {
  display: grid;
  gap: 14px;
  max-width: 480px;
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.82);
}

.placeholder-form label {
  display: grid;
  gap: 8px;
  color: var(--subtle);
  font-weight: 680;
}

.placeholder-form input {
  min-height: 44px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  color: var(--ink);
}

.footer-note {
  margin-top: 26px;
}

.text-link.inline {
  display: inline;
}

.messenger-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.messenger-grid .contact-method {
  grid-column: auto;
}

.messenger-grid .contact-method span {
  display: grid;
  gap: 2px;
}

.messenger-grid .contact-method small {
  color: var(--subtle);
  font-size: 13px;
}

[dir="rtl"] .check-list li {
  padding-right: 28px;
  padding-left: 0;
}

[dir="rtl"] .check-list li::before {
  right: 0;
  left: auto;
}

@media (max-width: 920px) {
  .journey,
  .two-by-two {
    grid-template-columns: 1fr;
  }
}


/* Russian mirror commerce */
.mirror-pending { border-top:1px solid var(--line); }
.price-display { display:flex; align-items:baseline; gap:.75rem; margin-top:1.5rem; }
.price-display strong { font-size:clamp(2.5rem, 7vw, 4.6rem); letter-spacing:-.055em; color:var(--accent); }
.price-display span { color:var(--subtle); font-weight:650; }
.payment-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.payment-slot { border:1px solid var(--hairline); border-radius:14px; background:rgba(255,253,248,.88); padding:28px; box-shadow:var(--shadow-soft); }
.payment-slot > svg { width:24px; height:24px; color:var(--blue); }
.payment-slot .button { width:100%; margin-top:1rem; }
.legal-links { display:flex; flex-wrap:wrap; gap:.55rem 1.25rem; margin-top:1.25rem; }
.commerce-meta { margin-top:2rem; padding-top:1.25rem; border-top:1px solid var(--hairline); }
.commerce-meta p { color:var(--subtle); font-size:12px; }
.international-payment { margin-top:2rem; padding:1rem 1.25rem; border:1px solid var(--hairline); border-radius:10px; background:rgba(255,253,248,.72); }
@media (max-width:760px) { .payment-grid { grid-template-columns:1fr; } }
