/* ==========================================================================
   PageFill "Apple-style" variant (experimental). Loaded AFTER wise.css.
   Delete this file and its <link> to return to the Wise-style look.
   Ideas taken from Apple's design guidance: one clear job per screen, large calm
   type, generous space, 44px tap targets, a frosted bar only on the floating
   header, and full support for reduced motion, reduced transparency and
   increased contrast.
   ========================================================================== */

:root {
  --a-radius: 28px;
  --a-radius-sm: 20px;
  --a-space: clamp(72px, 10vw, 140px);
  --a-line: rgba(5, 43, 69, .12);
}

/* ---- Calm, centred, product-page hero with a big video underneath ---- */
@media (min-width: 961px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-copy { text-align: center; margin-inline: auto; max-width: 980px; }
  .hero h1 { font-size: clamp(3.4rem, 7.2vw, 6.4rem); }
  .hero .serif { display: inline; }
  .hero-lead { margin-inline: auto; max-width: 36em; }
  .hero .btn-row { justify-content: center; }
  .hero .trust { justify-content: center; }
  .hero .frame { width: min(1120px, 100%); margin: clamp(44px, 6vw, 80px) auto 0 !important; }
}
.hero .frame { border-radius: var(--a-radius); }
.hero .frame video { border-radius: var(--a-radius); }

/* ---- Sections breathe: more space, one idea at a time ---- */
.section { padding-block: var(--a-space); }
.section-head p, .hero-lead { line-height: 1.5; }
.card, .plan, .lang-card, .persona, .file-card { border-radius: var(--a-radius); }

/* ---- Tap targets and type floors (44px controls, 13px+ small text) ---- */
.btn, .nav a, .site-footer a, .faq summary { min-height: 44px; }
.btn { display: inline-flex; align-items: center; justify-content: center; }
.nav a, .site-footer a { display: inline-flex; align-items: center; }
.faq summary { padding-block: 16px; }
.faq summary::after { width: 44px; height: 44px; }
.tag, .colpill, .ticket-body small, .looks-note, .hero-note, .table-wrap td small, .table-wrap th { font-size: max(.8125rem, 13px); }
.table-wrap td, .table-wrap th { padding-block: 14px; }

/* ---- Frosted header: the only translucent layer (floating, functional) ---- */
.site-header { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.site-header.is-scrolled { border-bottom: 1px solid var(--a-line); box-shadow: none; }
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---- Text contrast: darker body text and blue text on light backgrounds ---- */
:root { --body: #2f3d47; }
a:not(.btn) { text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (prefers-contrast: more) {
  :root { --body: #17232c; --a-line: rgba(5, 43, 69, .5); }
  .card, .plan, .persona, .lang-card, .table-wrap { border: 1px solid var(--navy); }
  .hero h1 .serif { color: var(--navy); }
}

/* ---- Motion: gentle by default, off when asked ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* CRO: short download prompts after the demo and the comparison */
.cta-after { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin: clamp(28px, 4vw, 44px) 0 0; text-align: center; }
.cta-after span { color: var(--body); font-size: 1rem; }
.demo .cta-after span { color: var(--navy); font-weight: 600; }
.demo .cta-after .btn { background: var(--navy); color: var(--white); }

/* Review layer, merged 27 Nov: product on the first screen, one heading style, one card surface. */

:root {
  --card: #f2f5f7;
  --card-in: #fff;              /* media wells inside a card */
}

/* ---------- 1. Hero: product on the first screen ---------- */
@media (min-width: 961px) {
  .hero h1 { font-size: clamp(3rem, 5.4vw, 4.9rem); }
  .hero h1 .serif { font-size: .9em; }
  .hero .frame { margin-top: clamp(28px, 3vw, 40px) !important; }
}
.hero { padding-top: clamp(20px, 3vw, 36px); }
.hero h1 { margin-top: 14px; }
.hero-lead { margin-top: 16px; }
.hero .btn-row { margin-top: 20px; }

/* Trust items: one quiet line of text instead of four chips */
.hero .trust { gap: 4px 0; margin-top: 14px; }
.hero .trust li { background: none; padding: 0; border-radius: 0; font-weight: 500; font-size: .95rem; color: var(--body); gap: 0; }
.hero .trust li::before { content: none; }
.hero .trust li + li::before { content: "\00b7"; display: inline; width: auto; height: auto; background: none; color: var(--body); font-size: 1em; font-weight: 700; margin: 0 .6em; }

/* Phones: the trust line moves under the video so the video comes first */
@media (max-width: 960px) {
  .hero .wrap { display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { display: contents; }
  .hero-copy > * { align-self: flex-start; }
  .hero .trust { order: 1; margin-top: 18px; }
  .hero .steps { order: 2; }
  .hero .frame { margin-top: 28px !important; }
  .hero-lead { font-size: 1.05rem; }
}
@media (max-width: 560px) {
  .hero .btn-row { flex-wrap: nowrap; gap: 6px; }
  .hero .btn-row .btn--primary { padding-inline: 20px; }
}

/* ---------- 2. One heading style ---------- */
.demo h2, .section--charcoal h2, .footer-cta h2 {
  font-family: var(--font-head); font-weight: 800; font-stretch: 100%;
  text-transform: none; letter-spacing: -.045em; line-height: 1; word-spacing: normal;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
}
.section--charcoal .section-head h2 { color: var(--white); }
.section--charcoal h2 .serif { color: var(--sky); }
.footer-cta h2 { color: var(--navy); max-width: none; font-size: clamp(2rem, 4.2vw, 3.3rem); }
.footer-cta h2 .serif { color: var(--navy); }
.demo h2 .serif { color: var(--navy); }

/* ---------- 3. One surface, quiet tags, shorter Features ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section, .section--white, .section--tint, #features { background: var(--white); }

/* The one card: soft grey, one radius, no border, no resting shadow */
.card, .persona, .lang-card, .file-card, .box, .pack-strip, .own-brand, .plm-callout--inline, .footer-cta {
  background: var(--card); border: 0; box-shadow: none; border-radius: var(--a-radius); color: var(--body);
}
.card-media, .mini { background: var(--card-in); }
.card:hover, .persona:hover, .lang-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(5,43,69,.08); }

/* Make it your brand: now its own section, same card as the rest */
.own-brand { margin-top: 0; }
.own-brand h2 { margin-top: 14px; }
.own-brand p { color: var(--body); }
.own-brand .mini-panel { background: var(--navy); }
.own-brand .btn--primary:hover { background: var(--navy); border-color: var(--navy); color: var(--sky); }

/* Price list maker callout: same card, kicker as quiet text */
.plm-callout--inline { margin-top: 20px; }
.plm-callout--inline .plm-kicker { background: none; padding: 0; border-radius: 0; color: var(--sky-text) !important; font-size: .8125rem; letter-spacing: .06em; }

/* Footer call to action: same card, main button */
.footer-cta .btn--primary { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.footer-cta .btn--primary:hover { background: var(--navy); border-color: var(--navy); color: var(--sky); }

/* Plan tags: quiet small text; only Pro stands out */
.tag, .tag--std, .tag--both, .tag--team, .own-brand .tag, .own-brand .tag--both {
  display: inline-flex; align-items: center; min-height: 0; margin: 18px 0 0; padding: 0;
  background: none; border-radius: 0; box-shadow: none;
  font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--body);
}
.tag--both b, .own-brand .tag--both b {
  background: none; box-shadow: none; padding: 0; margin: 0 0 0 .35em; border-radius: 0;
  font-weight: 600; letter-spacing: inherit; color: inherit;
}
.tag--pro { background: none; padding: 0; color: var(--sky-text); font-weight: 700; letter-spacing: .06em; }
.persona .tag, .persona .tag--both { margin: 0 0 14px; min-height: 0; }
.own-brand .tag { margin-top: 0; }

/* ---------- Cookie banner: compact on phones ---------- */
@media (max-width: 600px) {
  .cookie { left: 8px; right: 8px; bottom: 8px; padding: 12px 14px; border-radius: 16px; }
  .cookie p { font-size: .875rem; line-height: 1.4; }
  .cookie .btn-row { margin-top: 8px; flex-wrap: nowrap; gap: 14px; }
}

/* Looks strip: real ticket exports */
.ticket--img { padding: 0; margin: 0; background: none; overflow: hidden; }
.ticket--img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
