/* Home page (tryrigo.com/) — implements the "Rigo — Landing page" design.
   Values are taken from the design export; keep them in sync with it. */

:root {
  --navy: #0B1F33;
  --navy-2: #12304A;
  --navy-line: #1F4363;
  --footer-bg: #071624;
  --footer-line: #1A3550;
  --ink-2: #22384C;
  --ink-3: #2E4558;
  --muted: #4B5D6E;
  --muted-on-dark: #A9BCCB;
  --soft-on-dark: #C3D2DE;
  --pale-on-dark: #DCE6EE;
  --bg-soft: #F3F7FA;
  --bubble: #F1F5F8;
  --line: #E3EAF0;
  --line-2: #DCE5EC;
  --teal: #0A7F76;
  --teal-deep: #0A6B63;
  --teal-ink: #0A5A54;
  --teal-bg: #E6F8F6;
  --teal-cell: #F2FBFA;
  --accent: #19C3B5;
  --mint: #7FE6DC;
  --gold: #FFC75A;
  --gold-bg: #FFF3DA;
  --gold-ink: #7A5200;
  --gold-text: #4A3A1A;
  --font-body: "Manrope", "Noto Sans SC", system-ui, sans-serif;
  --font-display: "Bricolage Grotesque", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--navy); }
a:hover { color: var(--teal); }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
section[id] { scroll-margin-top: 72px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section-pad { padding-top: 112px; padding-bottom: 112px; }
.stack { display: flex; flex-direction: column; }
.on-dark { background: var(--navy); color: #FFFFFF; }
.on-soft { background: var(--bg-soft); }
.zh { font-family: "Noto Sans SC", var(--font-body); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 16px 28px; border-radius: 999px;
  font-weight: 800; font-size: 17px; text-decoration: none; white-space: nowrap;
}
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { color: var(--navy); filter: brightness(1.06); }
.btn-ghost-dark { border: 1.5px solid rgba(255,255,255,0.35); color: #FFFFFF; font-weight: 700; padding: 16px 26px; }
.btn-ghost-dark:hover { color: #FFFFFF; border-color: rgba(255,255,255,0.7); }
.btn-navy { background: var(--navy); color: #FFFFFF; }
.btn-navy:hover { color: #FFFFFF; filter: brightness(1.3); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); }

.eyebrow { font-weight: 800; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--teal); }
.on-dark .eyebrow { color: var(--mint); }
.h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -1.2px;
}
.lead { font-size: 18px; color: var(--muted); }
.on-dark .lead { color: var(--soft-on-dark); }
.section-head { gap: 16px; max-width: 720px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  border-radius: 999px; font-size: 12px; font-weight: 800;
}

/* Offer bar */
.offer-bar {
  display: block; padding: 9px 24px; background: var(--gold); color: var(--navy);
  text-decoration: none; font-size: 14px; font-weight: 700; text-align: center;
}
.offer-bar:hover { color: var(--navy); }
.offer-bar .cta { text-decoration: underline; margin-left: 6px; }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav nav {
  height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.site-nav .brand { justify-self: start; display: flex; align-items: center; height: 48px; }
.site-nav .brand img { height: 46px; width: auto; }
.navlinks { display: flex; align-items: center; gap: 36px; font-weight: 600; font-size: 15px; }
.navlinks a { position: relative; padding: 10px 2px; color: var(--ink-2); text-decoration: none; }
.navlinks a:hover { color: var(--teal); }
.site-nav .nav-cta {
  justify-self: end; grid-column: 3; height: 44px; min-height: 44px; padding: 0 22px; font-size: 15px;
}
@media (max-width: 860px) {
  .navlinks { display: none; }
  /* Without the middle links, two columns keep the button inside the 24px gutter. */
  .site-nav nav { grid-template-columns: 1fr auto; }
  .site-nav .nav-cta { grid-column: auto; }
}
@media (max-width: 360px) {
  .site-nav .brand img { height: 38px; }
  .site-nav .nav-cta { padding: 0 16px; font-size: 14px; }
}

/* Hero */
.hero { overflow: hidden; }
.hero .wrap { padding-top: 96px; padding-bottom: 104px; display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.hero-copy { flex: 1 1 500px; min-width: 0; gap: 28px; }
.hero-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border-radius: 999px; background: rgba(25,195,181,0.16); color: var(--mint);
  font-weight: 800; font-size: 13px; letter-spacing: 0.4px; text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(48px, 6vw, 84px); line-height: 0.98; letter-spacing: -2px;
}
.accent-dot { color: var(--accent); }
.hero-sub { font-size: 20px; line-height: 1.55; color: var(--soft-on-dark); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { font-size: 14px; color: var(--muted-on-dark); }
.hero-note strong { color: #FFFFFF; }

.hero-art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.hero-art-inner { width: 100%; max-width: 440px; gap: 16px; }
.call-card {
  background: #FFFFFF; color: var(--navy); border-radius: 28px; padding: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35); gap: 16px;
}
.call-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; }
.caller { display: flex; align-items: center; gap: 12px; flex: 1 1 200px; min-width: 0; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--teal-bg); color: var(--teal);
  font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none;
}
.caller .who { display: flex; flex-direction: column; line-height: 1.3; }
.caller .who strong { font-size: 16px; }
.caller .who span { font-size: 13px; color: var(--muted); }
.live-pill { background: var(--teal-bg); color: var(--teal-deep); white-space: nowrap; }
.live-pill .dot { width: 7px; height: 7px; }

.chat { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; }
.bubble { max-width: 86%; padding: 10px 14px; }
.bubble.ai { align-self: flex-start; background: var(--bubble); border-radius: 16px 16px 16px 4px; }
.bubble.caller-msg { align-self: flex-end; background: var(--navy); color: #FFFFFF; border-radius: 16px 16px 4px 16px; }
.example .chat { line-height: 1.5; }
.example .bubble { max-width: 88%; }

.confirm-row {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px;
  background: var(--teal-bg); border: 1px solid #B5EAE4;
}
.confirm-row .icon-tile {
  width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.confirm-row .txt { display: flex; flex-direction: column; line-height: 1.35; }
.confirm-row strong { font-size: 15px; }
.confirm-row span { font-size: 13px; color: var(--muted); }
.sms-toast {
  align-self: flex-end; display: flex; align-items: center; gap: 10px; background: var(--navy-2);
  border: 1px solid var(--navy-line); border-radius: 16px; padding: 12px 16px;
  color: var(--pale-on-dark); font-size: 14px;
}
.sms-toast strong { color: #FFFFFF; }

/* Industries strip */
.industries { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.industries .wrap {
  padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 14px 36px; font-weight: 700; color: var(--ink-2);
}
.industries .item { display: inline-flex; align-items: center; gap: 10px; }
.industries .soon { color: var(--muted); }
.tag { font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; }
.tag-now { color: var(--teal-deep); background: #D6F3EF; }
.tag-next { color: var(--muted); background: var(--line); }

/* Features */
.features .wrap { gap: 56px; }
.features .lead { font-size: 19px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature { border-radius: 24px; padding: 28px; gap: 12px; background: var(--bg-soft); }
.feature .icon {
  width: 50px; height: 50px; border-radius: 14px; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.feature h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.25; }
.feature p { font-size: 15px; color: var(--muted); }
.feature.f-dark { background: var(--navy); color: #FFFFFF; }
.feature.f-dark .icon { background: var(--accent); }
.feature.f-dark p { color: var(--soft-on-dark); }
.feature.f-teal { background: var(--teal-bg); }
.feature.f-teal p { color: var(--ink-3); }
.feature.f-gold { background: var(--gold-bg); }
.feature.f-gold p { color: var(--gold-text); }

/* Listen */
.listen .wrap { gap: 48px; }
.listen-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.listen-head .section-head { max-width: 680px; }
.listen-head .btn { font-size: 16px; padding: 14px 24px; min-height: 52px; }
.grid-calls { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
/* Five calls: one row on wide screens instead of 4 + a lone card. */
@media (min-width: 1100px) { .grid-calls { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.call {
  background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 22px; padding: 22px; gap: 16px;
}
.call-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lang-teal { background: rgba(25,195,181,0.18); color: #9BEFE6; }
.lang-gold { background: rgba(255,199,90,0.18); color: #FFD98A; }
.call .dur { font-size: 13px; color: var(--muted-on-dark); font-weight: 600; font-variant-numeric: tabular-nums; }
.call strong.title { font-family: var(--font-display); font-size: 20px; line-height: 1.25; }
.call strong.title span[lang] { white-space: nowrap; } /* never split 外卖自取 / reserva mid-word */
/* margin-top: auto keeps players aligned when a title wraps to two lines. */
.player { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.play {
  width: 48px; height: 48px; flex: none; border: 0; border-radius: 50%; background: var(--accent);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.play:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
.play .i-pause { display: none; }
.play[aria-pressed="true"] .i-play { display: none; }
.play[aria-pressed="true"] .i-pause { display: block; }
.play:disabled { opacity: 0.45; cursor: not-allowed; }
.wave { flex: 1; min-width: 0; width: 100%; height: 32px; }
.wave rect { fill: #3E6383; transition: fill 0.15s; }
.wave rect.done { fill: var(--accent); }
.fine-on-dark { font-size: 14px; color: var(--muted-on-dark); }

/* Examples */
.examples .wrap { gap: 48px; }
.grid-examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.grid-wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.example {
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: 26px; gap: 16px;
}
.example-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.example-head strong { font-family: var(--font-display); font-size: 19px; }
.tag-gold { background: var(--gold-bg); color: var(--gold-ink); }
.tag-teal { background: var(--teal-bg); color: var(--teal-ink); }
.result {
  margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border-radius: 14px; background: var(--teal-bg); color: var(--teal-ink); font-size: 14px; font-weight: 700;
}
.result.handoff { flex-direction: column; align-items: stretch; gap: 4px; background: var(--gold-bg); font-weight: 400; color: inherit; }
.result.handoff strong { display: inline-flex; align-items: center; gap: 8px; }
.result.handoff span { color: var(--gold-text); }
.tonight { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: 26px; gap: 14px; }
.tonight-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tonight-head strong { font-family: var(--font-display); font-size: 19px; }
.tonight-head span { font-size: 13px; color: var(--muted); font-weight: 600; }
.slots { display: flex; flex-direction: column; gap: 8px; }
.slot { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 14px; background: var(--bg-soft); }
.slot strong { width: 72px; flex: none; font-size: 14px; }
.slot .what { flex: 1; min-width: 0; }
.slot .tag { padding: 3px 9px; }
.guest-text { border-radius: 24px; padding: 26px; gap: 14px; }
.guest-text > strong { font-family: var(--font-display); font-size: 19px; }
.sms-bubble {
  background: #FFFFFF; color: var(--navy); padding: 14px 16px; border-radius: 18px 18px 18px 4px;
  font-size: 15px; line-height: 1.5; max-width: 380px;
}
.delivered { font-size: 13px; color: var(--muted-on-dark); padding-left: 4px; }
.guest-text p { color: var(--soft-on-dark); font-size: 15px; }

/* Pricing */
.pricing .wrap { gap: 40px; }
.center-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.center-head .h2 { max-width: 760px; }
.center-head .lead { font-size: 17px; }
.offer-chip {
  align-self: center; text-decoration: none; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 8px 14px; padding: 14px 24px; border-radius: 999px;
  background: var(--gold); color: var(--navy); font-weight: 800; text-align: center;
}
.offer-chip:hover { color: var(--navy); }
.grid-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  background: #FFFFFF; border-radius: 28px; padding: 34px; gap: 22px; border: 1.5px solid var(--line-2);
}
.plan h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.plan h3 .zh { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan .intro { gap: 4px; }
.plan .intro p { color: var(--muted); font-size: 15px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price .amt { font-family: var(--font-display); font-size: 56px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; }
.price .per { color: var(--muted); font-weight: 700; }
.minutes { padding: 14px 16px; border-radius: 16px; background: var(--bg-soft); gap: 2px; }
.minutes strong { font-size: 18px; }
.minutes span { font-size: 14px; color: var(--muted); }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.checks li { display: flex; gap: 10px; }
.checks svg { flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; display: flex; padding: 15px 20px; min-height: 52px; font-size: 16px; }
.plan.featured {
  background: var(--navy); color: #FFFFFF; border: 0; position: relative;
  box-shadow: 0 24px 60px rgba(11,31,51,0.28);
}
.plan.featured h3 .zh, .plan.featured .intro p, .plan.featured .price .per, .plan.featured .minutes span { color: var(--muted-on-dark); }
.plan.featured .minutes { background: var(--navy-2); }
.badge-popular {
  position: absolute; top: -14px; left: 34px; padding: 6px 14px; border-radius: 999px;
  background: var(--accent); color: var(--navy); font-size: 13px; font-weight: 800;
}
.multi {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 28px; border-radius: 22px; background: #FFFFFF; border: 1.5px dashed #B9C9D6;
}
.multi .txt { display: flex; flex-direction: column; gap: 2px; }
.multi strong { font-size: 18px; }
.multi span { color: var(--muted); font-size: 15px; }
.multi .btn { min-height: 48px; padding: 12px 22px; font-size: 16px; }
.billing-notes {
  margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 28px; font-size: 14px; color: var(--muted);
}

.compare {
  gap: 24px; padding-top: 48px; border-top: 1px solid var(--line-2);
  max-width: 1000px; width: 100%; align-self: center;
}
.compare .center-head { gap: 10px; }
.compare h3 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1; letter-spacing: -0.8px;
}
.compare .center-head p { font-size: 17px; color: var(--muted); max-width: 620px; }
.table-wrap { overflow-x: auto; background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 24px; }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare caption {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.compare thead tr { background: var(--bg-soft); }
.compare th, .compare td { text-align: left; padding: 16px 22px; }
.compare thead th { padding: 18px 22px; font-family: var(--font-display); font-size: 20px; width: 32%; }
.compare thead td { width: 36%; }
.compare thead th.rigo { background: var(--navy); color: #FFFFFF; }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 700; }
.compare td.rigo { background: var(--teal-cell); }
.compare .yes { color: var(--teal-deep); font-weight: 800; }
.compare .na { color: var(--muted); }
.compare .note { font-size: 13px; color: var(--muted); }
.compare .sub { font-weight: 500; color: var(--muted); }
.compare .sub-ink { font-weight: 500; color: var(--ink-3); }
.fine { font-size: 13px; color: var(--muted); text-align: center; }

/* FAQ */
.faq .wrap { max-width: 880px; gap: 40px; }
.faq .h2 { text-align: center; font-size: clamp(36px, 4vw, 52px); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--bg-soft); border-radius: 18px; padding: 22px 26px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Closing CTA */
.cta-section { padding: 0 24px 112px; }
.cta-box {
  max-width: 1200px; margin: 0 auto; border-radius: 36px; padding: 72px 48px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-copy { flex: 1 1 480px; min-width: 0; gap: 14px; }
.cta-chip {
  align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--gold);
  color: var(--navy); font-size: 14px; font-weight: 800;
}
.cta-box h2 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1; letter-spacing: -1.5px;
}
.cta-points { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 16px; font-weight: 700; color: var(--pale-on-dark); }
.cta-points span { display: inline-flex; align-items: center; gap: 8px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-buttons .btn-ghost-dark { padding: 16px 28px; }
@media (max-width: 600px) { .cta-box { padding: 48px 24px; border-radius: 28px; } }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--muted-on-dark); }
.site-footer .top { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer .about { gap: 12px; max-width: 340px; font-size: 14px; }
.site-footer .about img { height: 46px; width: auto; align-self: flex-start; }
.site-footer .about a { color: #FFFFFF; font-weight: 700; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 14px; font-weight: 600; align-self: flex-start; }
.site-footer nav a { color: var(--pale-on-dark); text-decoration: none; }
.site-footer nav a:hover { color: #FFFFFF; }
.site-footer .legal { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--footer-line); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave rect { transition: none; }
}
