/* ============================================================
   Ringo language layer - loaded last, after the partner's three sheets.

   The layout, imagery and copy are the partner's design (v76). This file only
   brings the colours, the type and its sizes onto the language of the live
   Ringo site (wp-content/themes/ringo/assets/css/theme.css), so the two read
   as one brand. Colours of the partner's own sheets were snapped onto the
   palette by tools/align-colors.py; what is here is the type scale, the
   buttons and the header.

   Why !important: the partner cascade restates the same roles many times over
   by context (.eyebrow alone appears ~25 times, 8px to 15px). A token layer
   that has to win in every one of those contexts can only do it this way.
   It is used for type and button tokens only, never for layout.
   ============================================================ */

:root{
  /* The live site's tokens, verbatim. */
  --ink:#000444;
  --body:#454a63;
  --muted:#6b7089;
  --violet:#6258e9;
  --violet-deep:#4a3fd6;
  --violet-soft:#957cfb;
  --violet-ink:#4a35b8;
  --violet-050:#f5f2fe;
  --violet-border:#ded5fe;
  --on-dark:#c9bdff;
  --line:#e8e9f2;
  --line-2:#dbdeee;
  --grad:linear-gradient(135deg,#1b22d0 0%,#4a3fd6 45%,#6258e9 100%);
  --grad-hover:linear-gradient(135deg,#161cb4 0%,#4136c4 45%,#574ce4 100%);
  --pill:999px;
  --font:"Google Sans","Heebo",system-ui,-apple-system,"Segoe UI",sans-serif;

  /* The type scale - seven sizes, set by Ron (2026-10-25). Pixel values are
     the desktop size; the three large ones shrink on narrow screens. */
  --t-display:clamp(2.3rem,5.14vw,74px);    /* opening and closing */
  --t-h2:clamp(2rem,3.2vw,46px);            /* every section heading, light or dark */
  --t-h2-band:var(--t-h2);
  --t-price:34px;
  --t-h3-lg:20px;                           /* card titles, large cards included */
  --t-h3:20px;
  --t-h4:18px;                              /* 16-18 becomes 18 */
  --t-lead:18px;
  --t-body:16px;                            /* 14-16 becomes 16 */
  --t-ui:16px;
  --t-small:14px;                           /* anything under 14 becomes 14 */
  --t-kicker:14px;

  /* Partner variables pointed at the same palette. */
  --purple:var(--violet);
  --lavender:var(--violet-soft);
  --font-brand:var(--font);
}

body{font-family:var(--font);color:var(--body);line-height:1.6}

/* ---------- headings: one weight, one tracking, one leading ---------- */
main h1,main h2,main h3,main h4,
main h1 span,main h2 span,main h3 span{
  font-weight:700!important;letter-spacing:-.025em!important;font-family:var(--font)!important}
main h1,main h2{line-height:1.08!important}
main h3,main h4{line-height:1.2!important}
main h2,main h3,main h4{color:var(--ink)}

/* Opening and closing: the display step. */
.cinema-hero h1,.cinema-hero h1 span,
.cinema-content h1.intro-heading,.cinema-content h1.intro-heading span,
.closing h2,.closing h2 span{font-size:var(--t-display)!important}

/* Section headings. */
main section h2{font-size:var(--t-h2)!important}
/* On the navy band the live site steps down one. */
#assistant h2,#assistant h2 span{font-size:var(--t-h2-band)!important}
/* Headings on navy write in white; the accent half keeps its lavender below. */
#assistant h2,.closing h2{color:#fff!important}

/* Large titles inside the showcase and the platform cards. */
#invitation h3,#platform h3{font-size:var(--t-h3-lg)!important}
/* Card titles everywhere else. */
#why h3,#how h3,#pricing h3,main .plan h3{font-size:var(--t-h3)!important}
main h4{font-size:var(--t-h4)!important}

/* The accent half of a two-line heading keeps the partner's idea, in our violet. */
main h2 em,main h2 span:not(:only-child),main h3 em{color:var(--violet)}
#assistant h2 span:not(:only-child),.closing h2 span:not(:only-child){color:var(--violet-soft)!important}

/* ---------- kicker ---------- */
main .eyebrow{font-size:var(--t-kicker)!important;font-weight:600!important;letter-spacing:.14em!important;
  color:var(--violet-ink)!important;margin-bottom:18px!important}
#assistant .eyebrow,.closing .eyebrow,.cinema-hero .eyebrow{color:var(--on-dark)!important}

/* ---------- text ---------- */
main p{font-family:var(--font)}
main h2 + p,.gallery-intro p,.voice-rsvp-lead{font-size:var(--t-lead)!important;line-height:1.65!important}
#why p,#how p,#invitation p,#faq p{font-size:var(--t-body)!important;line-height:1.65!important}
#faq summary{font-size:var(--t-h4)!important;font-weight:600!important;color:var(--ink)}
.journey-number{color:var(--violet-soft)!important;font-weight:700!important}

/* ---------- pricing ---------- */
.plan-name{font-size:var(--t-ui)!important;font-weight:600!important;letter-spacing:.06em}
.plan .price b,.plan .price strong{font-size:var(--t-price)!important;font-weight:700!important;letter-spacing:-.03em!important;line-height:1!important}
.plan .price span{font-size:var(--t-h4)!important;font-weight:600!important;letter-spacing:0!important}

/* ---------- buttons: the live site's pills ---------- */
main .button,header .button,footer .button{
  border-radius:var(--pill)!important;font-family:var(--font)!important;font-weight:600!important;
  font-size:var(--t-ui)!important;line-height:1!important;padding:14px 24px!important;gap:10px!important;
  transition:transform .35s cubic-bezier(.22,.61,.36,1),background .25s,border-color .25s,color .25s,box-shadow .35s}
.button .action-icon{display:inline-flex}

/* Primary: the gradient, as on the live site. */
.button.primary,.button.small,.plan.featured .button,.button.concierge-cta{
  background:var(--grad)!important;color:#fff!important;border-color:transparent!important;
  box-shadow:0 12px 26px -14px rgba(4,22,200,.75)}
.button.primary:hover,.button.small:hover,.button.concierge-cta:hover{
  background:var(--grad-hover)!important;transform:translateY(-2px)}
/* The featured plan sits on violet, so its button turns white - and stays
   light on hover, a soft lavender with the ink text unchanged. */
.plan.featured .button{background:#fff!important;color:var(--ink)!important;box-shadow:none}
/* On violet the plan's line under its name is white too, like everything else on the card. */
main .plan.featured h3{color:#fff!important}
.plan.featured .button:hover{background:var(--violet-050)!important;color:var(--ink)!important;transform:translateY(-2px)}

/* Light: on a photograph or a dark band. */
.closing .button{background:#fff!important;color:var(--ink)!important;border-color:#fff!important;box-shadow:none}
.button.light{background:#fff!important;color:var(--ink)!important;border-color:#fff!important}
.button.light:hover{transform:translateY(-2px)}

/* Outline: the live site's ghost button. */
.button.outline,main .plan:not(.featured) .button{
  background:transparent!important;color:var(--ink)!important;border:1px solid var(--line-2)!important;box-shadow:none}
.button.outline:hover,main .plan:not(.featured) .button:hover{border-color:var(--violet)!important;color:var(--violet-ink)!important;background:var(--violet-050)!important}
#assistant .button.outline{color:#fff!important;border-color:rgba(255,255,255,.4)!important}
#assistant .button.outline:hover{background:rgba(255,255,255,.12)!important;color:#fff!important}

/* Text links write in ink on light sections only; on the photograph and the
   navy bands they keep the partner's light colour. */
main section:not(.cinema-hero):not(#assistant):not(.closing) :is(.text-link,.ringo-link){font-weight:600;color:var(--ink)}
main section:not(.cinema-hero):not(#assistant):not(.closing) :is(.text-link,.ringo-link):hover{color:var(--violet-ink)}

/* ---------- header ---------- */
header nav a{font-size:var(--t-ui)!important;font-weight:500!important;color:var(--body)!important}
header nav a:hover{color:var(--ink)!important}
header .login{font-size:var(--t-ui)!important;font-weight:600!important;color:var(--ink)!important}
header .button.small{padding:11px 20px!important}

/* The phone gets a clean bar: the wordmark and a two-line menu mark, nothing
   boxed. Signing in and getting started move into the open menu, where they
   are full-width and easy to hit. */
.menu-cta{display:none}
@media (max-width:760px){
  header .nav-actions .button.small,header .nav-actions .login{display:none!important}
  header .menu{display:inline-grid!important;place-items:center;width:44px;height:44px;padding:0!important;
    border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;
    color:var(--ink);font-size:0!important;line-height:0}
  header .menu .menu-lines{position:relative;display:block;width:22px;height:10px}
  header .menu .menu-lines:before,header .menu .menu-lines:after{content:'';position:absolute;inset-inline:0;height:2px;
    border-radius:2px;background:currentColor;transition:transform .3s cubic-bezier(.22,.61,.36,1),top .3s}
  header .menu .menu-lines:before{top:0}
  header .menu .menu-lines:after{top:8px}
  header .menu[aria-expanded="true"] .menu-lines:before{top:4px;transform:rotate(45deg)}
  header .menu[aria-expanded="true"] .menu-lines:after{top:4px;transform:rotate(-45deg)}
  nav.open .menu-cta{display:flex;flex-direction:column;gap:10px;margin-top:8px}
  nav.open .menu-cta .button{width:100%;justify-content:center}
  nav.open .menu-cta .login{display:block;text-align:center;padding:12px;font-weight:600;color:var(--ink)!important}
}

/* ---------- footer ---------- */
footer{font-family:var(--font)}
footer a{font-size:var(--t-ui)}

/* The closing's button and its vertical note are both pinned inside the block.
   The heading is smaller on our scale, so the block keeps the height it had
   and the two do not meet. */
@media (min-width:761px){.closing-inner{min-height:340px}}

/* ---------- header alignment ----------
   The partner row is flex with space-between, so the links sat where the
   leftover space put them - 57px off centre, because the buttons are wider
   than the logo. Three columns, equal sides, keep them on the page's centre. */
@media (min-width:761px){
  .nav{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center}
  .nav > a{justify-self:start}
  .nav > nav{justify-self:center}
  .nav > .nav-actions{justify-self:end}
}
/* The wordmark's box is centred, but the tail of the g sits inside it, so the
   letters looked high. The live site nudges it by the same amount. */
.nav > a{display:flex;align-items:center}
.nav .logo{display:block;transform:translateY(7%)}


/* ---------- the small end of the scale ----------
   The partner page had thirteen sizes between 8px and 15.5px. They collapse
   onto the three steps above, so nothing a visitor reads is under 12.8px. */

/* Kicker step: spaced labels, including the two vertical English captions. */
.portrait-caption,.closing-note,.popular{font-size:var(--t-kicker)!important;letter-spacing:.14em!important}

/* Small step: footnotes, captions, legal. */
.gallery-foot,.gallery-foot *,#invitation small,
.pricing-note,.pricing-note *,#pricing .price small,
.closing-inner > p,footer .footer-bottom,footer .footer-bottom *{
  font-size:var(--t-small)!important;line-height:1.6!important}

/* UI step: menus, buttons, links, tabs and lists. */
.ringo-link,.text-link,
#assistant button,.showcase-tabs button,.showcase-category,
.intro-strip li,
#pricing .plan li,#pricing .includes,#pricing summary,
footer .footer-main a,footer .footer-main p{font-size:var(--t-ui)!important;line-height:1.55!important}
footer .footer-main b{font-size:var(--t-ui)!important;font-weight:600!important}

/* Lead step: the line under a heading, wherever it sits. */
#pricing .section-title p,.cinema-hero p{font-size:var(--t-lead)!important;line-height:1.65!important}

/* The numbers of the journey are titles too: the large-title step. */
.journey-number{font-size:var(--t-h3-lg)!important;line-height:1!important}
/* The English slogan over the hospitality photograph sits on the heading step. */
main p[lang="en"]{font-size:var(--t-h2)!important;letter-spacing:-.025em!important;line-height:1.08!important}
/* Centred across the photograph, in both languages. */
.hospitality-photo figcaption{left:24px!important;right:24px!important}
.hospitality-photo figcaption,.hospitality-photo figcaption p{text-align:center!important}

/* ---------- the tools ribbon ----------
   A light band under the opening photograph: one line icon per tool, the
   names in ink at the UI size, and the list drifting slowly in a loop.
   No dots between items - the icons do the separating. */
#tools-overview{background:var(--violet-050);border-block:1px solid var(--violet-border);overflow:hidden;position:relative}
/* The edges fade under two still overlays. A mask on the band would repaint
   the whole moving strip on every frame. */
#tools-overview:before,#tools-overview:after{content:'';position:absolute;top:0;bottom:0;width:8%;z-index:2;pointer-events:none}
#tools-overview:before{left:0;background:linear-gradient(90deg,var(--violet-050),rgba(245,242,254,0))}
#tools-overview:after{right:0;background:linear-gradient(270deg,var(--violet-050),rgba(245,242,254,0))}
#tools-overview .ribbon-track{display:flex;width:max-content}
#tools-overview .ribbon-track .feature-ribbon{display:flex;flex-wrap:nowrap;align-items:center;gap:0;margin:0;padding:22px 0;
  max-width:none;width:auto;overflow:visible;list-style:none}
#tools-overview .ribbon-track .feature-ribbon li{display:flex;align-items:center;gap:10px;padding:0 26px;border:0;
  font-size:var(--t-ui);font-weight:500;color:var(--ink);white-space:nowrap;min-height:0;background:none}
#tools-overview .ribbon-track .feature-ribbon li::before{content:none;display:none}
#tools-overview .ribbon-track .feature-ribbon li+li{border:0}
#tools-overview .ribbon-track .feature-ribbon bdi{margin:0}
#tools-overview .tool-ico{width:22px;height:22px;flex:0 0 auto;fill:none;stroke:var(--violet);stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round}

/* In RTL the copy sits to the left of the list; moving the pair right by one
   list's width lands exactly on the starting frame. */
#tools-overview .ribbon-track.is-moving{animation:ribbon 46s linear infinite}
#tools-overview:hover .ribbon-track.is-moving{animation-play-state:paused}
@keyframes ribbon{from{transform:translateX(0)}to{transform:translateX(50%)}}

@media (max-width:760px){
  #tools-overview .ribbon-track .feature-ribbon{padding:18px 0}
  #tools-overview .ribbon-track .feature-ribbon li{padding:0 18px}
  #tools-overview .ribbon-track.is-moving{animation-duration:34s}
}
@media (prefers-reduced-motion:reduce){
  #tools-overview{overflow-x:auto}
}

/* ---------- the opening line ----------
   Two weights in one line: the greeting light, the name bold. The Hebrew is
   drawn by Heebo (Google Sans has no Hebrew), loaded with 300 for this. The
   paragraph under it is regular, its first sentence included. */
.cinema-hero h1,.cinema-content h1.intro-heading{font-weight:300!important}
.cinema-hero h1 span,.cinema-content h1.intro-heading span{font-weight:700!important}
.cinema-hero p,.cinema-hero p strong,.cinema-hero p b{font-weight:400!important}

/* Missed in the first pass: the AI-calls steps and caption, and the labels
   above the three platform cards. */
.system-card-heading span{font-size:var(--t-small)!important}
.voice-rsvp-steps b{font-size:var(--t-ui)!important;font-weight:600!important}
.voice-rsvp-steps p,.voice-rsvp-caption,.voice-rsvp-caption p{font-size:var(--t-small)!important;line-height:1.6!important}

/* ---------- the WhatsApp demo's footer ----------
   One quiet line and a small round replay mark, in place of a large button
   and four lines of fine print. */
.wa-demo-footer{display:flex!important;align-items:center;justify-content:center;gap:14px;margin-top:18px}
.wa-note{margin:0;font-size:var(--t-small)!important;line-height:1.5!important;color:rgba(255,255,255,.62)!important;text-align:center}
.wa-again{display:inline-grid;place-items:center;flex:0 0 auto;width:36px;height:36px;padding:0;border-radius:50%;
  border:1px solid rgba(255,255,255,.28);background:transparent;color:#fff;cursor:pointer;
  transition:background .25s,border-color .25s,transform .35s cubic-bezier(.22,.61,.36,1)}
.wa-again svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.wa-again:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.5)}
.wa-again:hover svg{transform:rotate(-40deg);transition:transform .35s cubic-bezier(.22,.61,.36,1)}
.wa-again:focus-visible{outline:2px solid var(--on-dark);outline-offset:3px}

/* ---------- the journey: photograph on the right, words on the left ----------
   In RTL the first grid column is the right-hand one, so the photograph moves
   first and the two widths swap with it. Desktop only - on a phone the words
   still come first and the photograph follows. */
@media (min-width:761px){
  #how.journey-side-by-side{grid-template-columns:1fr 1.12fr!important}
  #how.journey-side-by-side .journey-photo{order:-1}
}
@media (min-width:761px) and (max-width:1050px){
  #how.journey-side-by-side{grid-template-columns:1fr 1.25fr!important}
}
/* The numbers are gone, so the phone layout no longer keeps a column for them. */
@media (max-width:760px){
  #how .quiet-journey-steps li{grid-template-columns:1fr!important}
  #how .quiet-journey-steps p{grid-column:auto!important}
}

/* The partner capped the price note at 900px when it was set at 11px; at the
   small step the second line broke halfway. It now uses the full width. */
#pricing .pricing-note{max-width:none!important}

/* The account column stacks like the other footer columns: heading, then
   one link per row. */
/* The account column in the same flow as the other two: block, with the
   links' own 12px below each - a flex gap on top of that pushed them lower. */
footer .footer-main .footer-account{display:block!important}
footer .footer-main .footer-account a{display:flex;width:fit-content;align-items:center;gap:8px;min-height:0}
footer .footer-main .footer-account a[lang="en"]{direction:ltr;unicode-bidi:isolate;justify-self:auto}

/* One width for every section: the assistant, the voice calls and the journey
   had narrower caps of their own (1120 / 1190) and sat inside the others. */
.concierge-layout,#guest-demo .wrap,#guest-demo .voice-rsvp-layout,.quiet-journey>.wrap{max-width:none!important}
/* The journey is a full-width band; its padding sets the content to the same edges. */
@media (min-width:1101px){#how.journey-side-by-side{padding-inline:max(52px,calc((100% - 1320px) / 2))}}
@media (min-width:761px) and (max-width:1100px){#how.journey-side-by-side{padding-inline:35px}}
