/* ===========================================================================
   Tea Master Landing — Page Styles
   Built on the Tea Master design system (assets/tm-tokens.css)
   =========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--tm-font-sans);
  background: var(--tm-emerald-900);
  color: var(--tm-fg-on-grad);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

/* visually hidden, but kept in the DOM for screen readers + AI crawlers */
.tm-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ----- container ---------------------------------------------------------- */

.tm-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- nav ---------------------------------------------------------------- */

.tm-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: linear-gradient(180deg, rgba(6,78,59,0.45) 0%, rgba(6,78,59,0.20) 70%, rgba(6,78,59,0) 100%);
  border-bottom: none;
  /* soft fade-out so the bottom edge dissolves into the hero gradient */
  mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
  padding-bottom: 28px;
  margin-bottom: -28px;
}
.tm-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tm-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.tm-nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.tm-nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}
.tm-nav-links a {
  transition: color 200ms var(--tm-ease-ios);
}
.tm-nav-links a:hover { color: #fff; }
@media (max-width: 720px) {
  .tm-nav-links { display: none; }
}

.tm-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ----- language switcher -------------------------------------------------- */

.tm-globe-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 200ms var(--tm-ease-ios), color 200ms var(--tm-ease-ios), transform 200ms var(--tm-ease-ios);
}
.tm-globe-btn:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.tm-globe-btn:active { transform: scale(0.96); }
.tm-globe-btn svg { width: 18px; height: 18px; }
.tm-globe-code { font-variant-numeric: tabular-nums; }
@media (max-width: 520px) {
  .tm-globe-btn { padding: 6px 10px 6px 8px; font-size: 11px; }
  .tm-globe-btn svg { width: 16px; height: 16px; }
}

/* modal */
.tm-lang-modal[hidden] { display: none; }
.tm-lang-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: tm-fade-in 200ms var(--tm-ease-ios);
}
@keyframes tm-fade-in { from { opacity: 0; } to { opacity: 1; } }
.tm-lang-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 40, 30, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tm-lang-modal-panel {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--tm-radius-3xl);
  border: 1px solid rgba(255,255,255,0.6);
  padding: 28px 24px 22px;
  box-shadow: var(--tm-shadow-xl);
  animation: tm-pop-in 280ms var(--tm-ease-ios);
}
@keyframes tm-pop-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.tm-lang-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tm-emerald-800);
  background: rgba(6,78,59,0.08);
  transition: background 200ms var(--tm-ease-ios);
}
.tm-lang-modal-close:hover { background: rgba(6,78,59,0.14); }
.tm-lang-modal-close svg { width: 16px; height: 16px; }
.tm-lang-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--tm-emerald-900);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.tm-lang-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tm-lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: transparent;
  color: var(--tm-emerald-900);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  transition: background 180ms var(--tm-ease-ios);
  width: 100%;
}
.tm-lang-option:hover { background: rgba(6,78,59,0.06); }
.tm-lang-option[data-active="true"] {
  background: var(--tm-emerald-700);
  color: #fff;
  font-weight: 600;
}
.tm-lang-option .tm-lang-option-code {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}
.tm-lang-option[data-active="true"] .tm-lang-option-code { opacity: 0.85; }

/* ----- App Store button --------------------------------------------------- */

.tm-app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  padding: 12px 20px 12px 18px;
  border-radius: 14px;
  font-weight: 500;
  transition: transform 200ms var(--tm-ease-ios), box-shadow 200ms var(--tm-ease-ios);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}
.tm-app-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.55);
}
.tm-app-store-btn:active { transform: scale(0.97); }
.tm-app-store-btn .apple {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.tm-app-store-btn .label {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}
.tm-app-store-btn .label small {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 4px;
  white-space: nowrap;
}
.tm-app-store-btn .label strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.tm-app-store-btn.tm-nav-cta {
  padding: 8px 16px 8px 14px;
}
.tm-app-store-btn.tm-nav-cta .apple { width: 18px; height: 18px; }
.tm-app-store-btn.tm-nav-cta .label small { font-size: 8px; margin-bottom: 1px; }
.tm-app-store-btn.tm-nav-cta .label strong { font-size: 13px; }

/* ----- shared section styling --------------------------------------------- */

.tm-section {
  position: relative;
  isolation: isolate;
}

.tm-section-gradient {
  background: var(--tm-bg-gradient);
}
.tm-section-gradient::before,
.tm-section-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.tm-section-gradient::before { background: var(--tm-bg-gradient-overlay-1); }
.tm-section-gradient::after  { background: var(--tm-bg-gradient-overlay-2); }

.tm-section-deep {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(16,185,129,0.20) 0%, transparent 70%),
    var(--tm-emerald-900);
}

.tm-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.08);
}
.tm-eyebrow.dark {
  color: var(--tm-emerald-800);
  border-color: rgba(6,78,59,0.18);
  background: rgba(255,255,255,0.45);
}

/* ----- hero --------------------------------------------------------------- */

.tm-hero {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.tm-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  min-height: 640px;
}
@media (max-width: 820px) {
  .tm-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    min-height: 0;
  }
}

.tm-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding: 40px 0 60px;
}
@media (max-width: 820px) {
  .tm-hero-copy { align-items: center; padding-bottom: 0; }
}

.tm-hero-title {
  font-family: 'SF Pro Display', -apple-system, system-ui, sans-serif;
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
  max-width: 16ch;
}
@media (max-width: 820px) {
  .tm-hero-title { max-width: 18ch; margin-inline: auto; }
}
.tm-hero-title em {
  font-style: normal;
  background: linear-gradient(180deg, #fff 0%, #BBF7D0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tm-hero-sub {
  font-size: 19px;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  text-wrap: pretty;
}
@media (max-width: 820px) {
  .tm-hero-sub { max-width: 540px; }
}

.tm-hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.tm-hero-meta .dot {
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 999px;
}
.tm-hero-meta span {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* hero phone showcase */
.tm-hero-stage {
  position: relative;
  height: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 500ms var(--tm-ease-ios);
}
.tm-hero-stage[data-loaded="true"] { opacity: 1; }
@media (max-width: 820px) {
  .tm-hero-stage { min-height: 540px; }
}

/* clean hero phone image (no marketing chrome)
   ---
   Mobile Chrome chokes on stacked filter: drop-shadow on large transparent PNGs:
   the shadow tiles get rasterised in chunks and you see the boundaries. Fixes:
     - single drop-shadow (not stacked)
     - will-change + translateZ to force its own compositor layer
     - hover transition gated behind @media (hover: hover) so taps don't retrigger
*/
.tm-hero-phone-img {
  width: 320px;
  max-width: 80%;
  height: auto;
  position: relative;
  z-index: 2;
  transform: rotate(-6deg) translateY(-10px) translateZ(0);
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.35));
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
@media (hover: hover) {
  .tm-hero-phone-img { transition: transform 600ms var(--tm-ease-ios); }
  .tm-hero-phone-img:hover { transform: rotate(-3deg) translateY(-14px) translateZ(0); }
}

/* subtle continuous float on touch devices (no hover) so the phone is alive */
@media (hover: none) {
  .tm-hero-phone-img { animation: tm-phone-float 7s ease-in-out infinite; }
}
@keyframes tm-phone-float {
  0%, 100% { transform: rotate(-6deg) translateY(-10px) translateZ(0); }
  50%      { transform: rotate(-5deg) translateY(-18px) translateZ(0); }
}
@media (prefers-reduced-motion: reduce) {
  .tm-hero-phone-img { animation: none !important; }
}
@media (max-width: 820px) {
  .tm-hero-phone-img { width: 260px; transform: rotate(-5deg) translateZ(0); }
}

.tm-hero-phone {
  position: relative;
  width: 290px;
  border-radius: 44px;
  overflow: hidden;
  box-shadow:
    0 60px 80px -30px rgba(0,0,0,0.45),
    0 30px 40px -20px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.15);
  z-index: 2;
  display: none; /* legacy — replaced by .tm-hero-phone-img */
}
.tm-hero-phone img {
  width: 100%;
  display: block;
}

.tm-hero-mascot {
  position: absolute;
  width: 220px;
  right: -20px;
  top: 10px;
  z-index: 3;
  transform: rotate(14deg) translateZ(0);
  filter: drop-shadow(0 20px 24px rgba(0,0,0,0.30));
  pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
@media (max-width: 820px) {
  .tm-hero-mascot { width: 170px; right: 2%; top: -40px; }
}

/* floating decorative leaves */
.tm-leaf {
  position: absolute;
  pointer-events: none;
  opacity: 0.7;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.20));
  animation: tm-leaf-bob 6s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0) rotate(var(--r, 0deg));
}
@media (prefers-reduced-motion: reduce) {
  .tm-leaf { animation: none; }
}
@keyframes tm-leaf-bob {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-12px) rotate(calc(var(--r, 0deg) + 4deg)); }
}

/* ----- how it works ------------------------------------------------------- */

.tm-how {
  padding: 120px 0 100px;
  position: relative;
}

.tm-how-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 80px;
}
.tm-section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}
.tm-section-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  line-height: 1.5;
}

.tm-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
}
.tm-feature-row:last-child { margin-bottom: 0; }
.tm-feature-row.reverse { direction: rtl; }
.tm-feature-row.reverse > * { direction: ltr; }

@media (max-width: 880px) {
  .tm-feature-row,
  .tm-feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
    text-align: left;
    margin-bottom: 80px;
  }
}

.tm-feature-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
@media (max-width: 880px) {
  .tm-feature-copy { align-items: flex-start; text-align: left; }
}

.tm-feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  font-weight: 700;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  color: #fff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.tm-feature-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}

.tm-feature-body {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.8);
  max-width: 460px;
}

.tm-feature-detail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.tm-feature-detail-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  list-style: none;
}
.tm-feature-detail-list li::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--icon-bg, rgba(255,255,255,0.2));
  border-radius: 8px;
  background-image: var(--icon-svg);
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.tm-feature-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}
.tm-feature-visual img {
  width: 100%;
  max-width: 360px;
  border-radius: 36px;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.45),
    0 20px 40px -15px rgba(0,0,0,0.3);
  transition: transform 600ms var(--tm-ease-ios);
}
.tm-feature-row:hover .tm-feature-visual img {
  transform: scale(1.02) rotate(-1deg);
}

/* ----- tea library ribbon ------------------------------------------------- */

.tm-teas {
  padding: 110px 0;
  overflow: hidden;
  position: relative;
}

.tm-teas-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 50px;
  gap: 32px;
  flex-wrap: wrap;
}
.tm-teas-header h2 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
  text-wrap: balance;
}
.tm-teas-header p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 400px;
  line-height: 1.5;
}

.tm-teas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.tm-tea-card {
  position: relative;
  background: var(--tm-glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--tm-glass-border);
  border-radius: 24px;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 300ms var(--tm-ease-ios), box-shadow 300ms var(--tm-ease-ios);
}
.tm-tea-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tm-shadow-lg);
}

.tm-tea-tile {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: var(--tm-shadow-md);
  background: var(--tile-bg, var(--tm-tea-shu-puer));
}

.tm-tea-name {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-align: center;
}
.tm-tea-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: -10px;
  text-align: center;
}

.tm-tea-meta {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.tm-tea-meta span {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.18);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ----- FAQ ---------------------------------------------------------------- */

.tm-faq {
  padding: 110px 0 120px;
  position: relative;
}

.tm-faq-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 56px;
  text-align: center;
}

.tm-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.tm-faq-item {
  background: var(--tm-glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--tm-glass-border);
  border-radius: 24px;
  overflow: hidden;
  transition: background 300ms var(--tm-ease-ios);
}
.tm-faq-item[open] {
  background: rgba(255,255,255,0.85);
}

.tm-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: #fff;
  letter-spacing: -0.01em;
}
.tm-faq-q::-webkit-details-marker { display: none; }
.tm-faq-item[open] .tm-faq-q { color: var(--tm-emerald-900); }

.tm-faq-q svg.chev {
  width: 32px; height: 32px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.20);
  color: #fff;
  transition: transform 300ms var(--tm-ease-ios), background 300ms var(--tm-ease-ios);
  flex-shrink: 0;
  box-sizing: border-box;
}
.tm-faq-item[open] .tm-faq-q svg.chev {
  background: var(--tm-emerald-700);
  color: #fff;
  transform: rotate(45deg);
}

.tm-faq-a {
  padding: 0 26px 24px;
  color: var(--tm-emerald-900);
  font-size: 16px;
  line-height: 1.6;
  max-width: 70ch;
}
.tm-faq-a strong {
  font-weight: 600;
}
.tm-faq-a .tag {
  display: inline-block;
  background: rgba(6,78,59,0.10);
  color: var(--tm-emerald-900);
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  margin: 0 2px;
  white-space: nowrap;
}

/* ----- final CTA ---------------------------------------------------------- */

.tm-cta {
  padding: 120px 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}
/* CTA mascot */
.tm-cta-mascot {
  width: 200px;
  margin: 0 auto 32px;
  filter: drop-shadow(0 20px 24px rgba(0,0,0,0.30));
  transform: translateZ(0);
  will-change: transform;
}
.tm-cta h2 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.tm-cta p {
  font-size: 19px;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.tm-cta-pricing {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.tm-cta-pricing span {
  padding: 8px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ----- footer ------------------------------------------------------------- */

.tm-footer {
  background: #03281E;
  padding: 60px 0 50px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.tm-footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.tm-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tm-footer-brand img {
  width: 40px; height: 40px;
  border-radius: 10px;
}
.tm-footer-brand div strong {
  color: #fff;
  font-weight: 600;
  display: block;
}
.tm-footer-links {
  display: flex;
  gap: 22px;
}
.tm-footer-links a:hover { color: #fff; }
.tm-footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ----- utility: subtle dot pattern on hero -------------------------------- */
.tm-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, #000 0%, transparent 80%);
  z-index: 0;
}
.tm-hero > .tm-container { position: relative; z-index: 1; }


/* =========================================================================
   MOBILE COMPACTION — small screens
   ========================================================================= */

/* nav at <560px: drop brand text, App Store goes icon-only */
@media (max-width: 560px) {
  .tm-nav { padding: 10px 0 18px; margin-bottom: -18px; }
  .tm-nav-brand span { display: none; }
  .tm-nav-brand img { width: 34px; height: 34px; }
  .tm-app-store-btn.tm-nav-cta {
    padding: 8px;
    border-radius: 12px;
  }
  .tm-app-store-btn.tm-nav-cta .label { display: none; }
  .tm-app-store-btn.tm-nav-cta .apple { width: 18px; height: 18px; }
  .tm-globe-btn { padding: 6px 9px 6px 7px; }
}
@media (max-width: 380px) {
  .tm-nav-actions { gap: 6px; }
  .tm-globe-code { display: none; }
  .tm-globe-btn { padding: 7px; }
}

/* hero spacing on small screens */
@media (max-width: 560px) {
  .tm-hero { padding: 32px 0 70px; }
  .tm-hero-copy { padding: 24px 0 0; gap: 22px; }
  .tm-hero-meta { gap: 10px; justify-content: center; }
  .tm-hero-meta span { font-size: 12px; }
  .tm-hero-phone-img { width: 240px; }
  .tm-hero-mascot { width: 130px; top: -50px; right: 8%; }
  .tm-hero-stage { min-height: 480px; }
}

/* how it works on small screens */
@media (max-width: 560px) {
  .tm-how { padding: 80px 0 60px; }
  .tm-how-header { margin-bottom: 48px; gap: 16px; }
  .tm-feature-row, .tm-feature-row.reverse { margin-bottom: 60px; gap: 32px; }
  .tm-feature-visual img { max-width: 280px; }
  .tm-feature-detail-list li { font-size: 14px; }
}

/* FAQ + CTA on small screens */
@media (max-width: 560px) {
  .tm-faq { padding: 80px 0 80px; }
  .tm-faq-q { padding: 18px 20px; font-size: 16px; }
  .tm-faq-q svg.chev { width: 28px; height: 28px; padding: 6px; }
  .tm-faq-a { padding: 0 20px 20px; font-size: 15px; }
  .tm-cta { padding: 80px 0; }
  .tm-cta-mascot { width: 150px; margin-bottom: 24px; }
  .tm-cta p { font-size: 17px; }
  .tm-cta-pricing span { font-size: 12px; padding: 7px 12px; }
}

/* footer on small screens */
@media (max-width: 560px) {
  .tm-footer { padding: 40px 0 36px; }
  .tm-footer-grid { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tm-footer-links { flex-wrap: wrap; gap: 14px 22px; }
  .tm-footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 12px; }
}
