/* Website identity selected in Figma node 2170:3940, 1 November 2026. */
:root {
  --brand-yellow: #ffe100;
  --brand-black: #1e1e1e;
  --brand-yellow-hover: #f0d400;
  /* Compatibility aliases for existing shared page templates. */
  --coral: var(--brand-black);
  --coral-dark: #000;
  --coral-glow: rgba(255, 225, 0, .15);
  --ink: var(--brand-black);
  --emerald: var(--brand-black);
  --deep-green: var(--brand-black);
  --deep-green-soft: rgba(30, 30, 30, .08);
}
html.dark {
  --coral: var(--brand-yellow);
  --coral-dark: #fff06b;
  --coral-glow: rgba(255, 225, 0, .12);
  --ink: #f5f0e9;
}
.app-store-badge,
.app-store-badge:hover { filter: none; }
.modes-preface,
.usecases,
html.dark .modes-preface,
html.dark .usecases { background: var(--brand-black); }
.final-cta > .container > .download-share img { filter: invert(1); }
html.dark .download-share img { filter: invert(1); }
.qr-bubble .download-share img,
.download-qr-tile .download-share img,
html.dark .qr-bubble .download-share img,
html.dark .download-qr-tile .download-share img { filter: none; }
.modes-preface h2 .dot,
.usecases .uc-copy h3 .dot { color: var(--brand-yellow); }
.compare-us,
.price-card-best { border-color: var(--brand-black); box-shadow: none; }
.compare-us .check,
.best-badge,
.refund-icon,
.lang-filter button.active,
.cta-box a,
.blog-cta-banner .cta-banner-btn,
.sound-cta {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border-color: var(--brand-black);
}
.cta-box a:hover,
.blog-cta-banner .cta-banner-btn:hover,
.sound-cta:hover {
  background: var(--brand-yellow-hover);
  color: var(--brand-black);
}
.price-card-best { background: var(--brand-yellow); }
.price-card-best .price-label,
.price-card-best .price-num,
.price-card-best .price-unit,
.price-card-best .price-detail { color: var(--brand-black); }
.price-num { font-variant-numeric: tabular-nums; }
.price-unit { color: var(--ink-soft); font-size: .4em; white-space: nowrap; }
.value-total .total-strike { text-decoration: none; }
.pricing-foot { max-width: 620px; }
.footer a:hover,
.footer-links a:hover { color: var(--brand-yellow); }
.apply-section { background: var(--brand-yellow); color: var(--brand-black); }
.apply-section .apply-sub,
.apply-section h2,
.apply-section h3,
.apply-section p,
.apply-section label,
html.dark .apply-section .apply-sub { color: var(--brand-black); }
.apply-form input,
.apply-form select,
.apply-form textarea {
  color: var(--brand-black);
  background-color: rgba(255, 255, 255, .6);
  border-color: rgba(30, 30, 30, .35);
}
.apply-form select { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231e1e1e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); }
.apply-form input::placeholder,
.apply-form textarea::placeholder { color: rgba(30, 30, 30, .65); }
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus { background-color: #fff; border-color: var(--brand-black); }
.apply-form select option { color: var(--brand-black); background: #fff; }
.apply-form button { color: var(--brand-yellow); background: var(--brand-black); }
.apply-form button:hover { color: var(--brand-yellow); background: #000; }
.apply-status.ok { color: var(--brand-black); font-weight: 700; }
.apply-status.err { color: #81221b; }
html.dark .cta-box { background: var(--brand-black); }
html.dark .cta-box strong { color: #f5f0e9; }

/* Dark panels keep their accents legible in either page theme. */
.calc-section .calc-output-value,
.calc-section .calc-input-group .calc-hint strong { color: var(--brand-yellow); }
.calc-section input[type="range"] { accent-color: var(--brand-yellow); }
.calc-section .calc-input-group input[type="number"]:focus { border-color: var(--brand-yellow); }

/* Feature notes are descriptive labels, not crossed-out prices. */
.value-row { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 150px); }
.value-row .value-text { text-align: start; overflow-wrap: anywhere; }
.value-row .value-text p { color: var(--ink-soft); line-height: 1.5; }
.value-row .value-tag {
  white-space: normal;
  text-decoration: none;
  text-align: end;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* Constrain articles themselves; wide comparisons scroll inside their region. */
.page { width: 100%; min-width: 0; overflow-wrap: anywhere; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 24px 0; }
.table-scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.post-body .table-scroll table { margin: 0; min-width: 520px; }
.post-body th { text-align: start; }
[dir="rtl"] .page ul,
[dir="rtl"] .page ol { margin-left: 0; margin-right: 22px; }
[dir="rtl"] .toc ol { margin-right: 20px; }
.refund-card { text-align: start; }
[dir="rtl"] .nav .brand { margin-right: 0; margin-left: auto; }
[dir="rtl"] .nav-inner,
[dir="rtl"] .refund-card { flex-direction: row; }
[dir="rtl"] .brand-icon { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .nav-links,
[dir="rtl"] .lang-menu { right: auto; left: 0; }

@media (min-width: 761px) and (max-width: 960px) {
  .hero-shots .phone-l { left: calc(50% - 340px); width: 240px; }
  .hero-shots .phone-r { left: calc(50% + 100px); width: 240px; }
}

@media (max-width: 760px) {
  .value-row { grid-template-columns: 40px minmax(0, 1fr); gap: 8px 16px; padding: 24px; }
  .value-row .value-emoji { grid-row: 1 / span 2; align-self: start; }
  .value-row .value-tag { grid-column: 2; text-align: start; }
}
@media (max-width: 560px) {
  .nav-inner { gap: 8px; }
  .nav-links { right: 24px; }
  [dir="rtl"] .nav-links { left: 24px; right: auto; flex-direction: column; }
  .lang-menu { max-height: calc(100dvh - 100px); overflow-y: auto; }
  .lang-btn, .hamburger, .theme-btn { min-height: 44px; min-width: 44px; }
  .lang-menu a { min-height: 44px; display: flex; align-items: center; }
  .lang-filter button { min-height: 44px; }
  .toc, .cta-box, .contact-card { padding: 24px; }
  .post-card h2 { margin-top: 0; }
  .blog-cta-banner { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .blog-cta-banner .cta-banner-inner { min-width: 0; }
  .blog-cta-banner .cta-banner-btn { padding: 10px 14px; }
  .blog-cta-banner .cta-banner-close { min-width: 36px; min-height: 44px; padding: 0; }
  .tier-section, .calc-section { padding: 24px; }
  .apply-section { padding: 32px 24px; }
}

/* Comparison and pricing share deliberate, consistent internal spacing. */
.compare h2 { margin-bottom: 48px; }
.compare-cards { gap: 24px; align-items: stretch; }
.compare-card {
  padding: 32px;
  border: 1px solid var(--sand-dark);
  border-radius: 20px;
  min-width: 0;
  opacity: 1;
}
.compare-us { border-color: var(--ink); }
.compare-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 28px;
  margin-bottom: 24px;
}
.compare-card .compare-label {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}
.compare-card ul { gap: 16px; }
.compare-card li {
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  text-wrap: pretty;
}
.compare-card .check { width: 20px; height: 20px; margin-top: 2px; }
.compare-them .check { background: var(--ink); color: var(--white); }
.pricing-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 760px; margin-bottom: 32px; }
.price-card { padding: 32px; border-radius: 20px; opacity: 1; }
.price-card-best { border-width: 3px; padding: 30px; }
.price-label { margin-bottom: 24px; font-size: 15px; color: var(--ink); }
.price-num { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 24px; }
.price-unit { font-size: 16px; margin: 0; font-weight: 600; line-height: 1.5; }
.price-detail { line-height: 1.6; }
.founder-portrait img { transform: scaleX(-1); }
[dir="rtl"] .compare-card li { flex-direction: row; }
.home-resource-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  width: min(100%, 940px);
  margin: 48px auto 0;
  padding: 8px;
  gap: 4px;
  background: var(--white);
  border-radius: 16px;
}
.home-resource-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  min-height: 56px;
  padding: 12px 18px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: start;
  text-wrap: balance;
  gap: 16px;
  transition: color .15s ease, background-color .15s ease;
}
.home-resource-links a::after {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
[dir="rtl"] .home-resource-links a::after { transform: rotate(225deg); }
.home-resource-links a:hover,
.home-resource-links a:focus-visible {
  background: var(--brand-yellow);
  color: var(--brand-black);
}
.home-resource-links a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
@media (max-width: 760px) {
  .compare h2 { margin-bottom: 32px; }
  .compare-cards { grid-template-columns: 1fr; gap: 24px; max-width: 480px; }
  .compare-card { padding: 24px; }
  .compare-card-heading { margin-bottom: 24px; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 480px; gap: 24px; }
  .price-card { padding: 32px 24px; }
  .price-card-best { padding: 30px 22px; }
  .home-resource-links {
    grid-template-columns: 1fr;
    width: min(calc(100% - 48px), 440px);
    margin-top: 36px;
    padding: 6px;
    gap: 2px;
  }
  .home-resource-links a { min-height: 56px; padding: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-resource-links a { transition: none; }
}
