/* Talspark — components. Markup comes from src/brands/talspark/partials/,
   which replace the shared sections for this brand. */

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
       padding: 12px 24px; background: var(--wine); color: var(--on-wine); font: 600 17px/1.2 var(--font);
       letter-spacing: .03em; text-decoration: none; border: 0; border-radius: 0; cursor: pointer; }
.btn:hover { background: var(--wine-hi); color: var(--on-wine); }
.btn svg { flex: none; }
.dark .btn { background: var(--on-wine); color: var(--wine); }
.dark .btn:hover { background: #fff; color: var(--wine); }

/* Bordeaux flats */
.dark { background: var(--wine); color: var(--on-wine); }
.dark a { color: var(--on-wine); }
.dark .wm, .dark .wm:hover { color: var(--on-wine); }
.dark .wm .dot { color: var(--on-wine-2); }
.dark [style*="color"] { color: inherit !important; }

/* Header */
.site-header .top__in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px;
                        padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--rule-wine); }
.tagline { display: none; font-style: italic; font-size: 15px; color: var(--on-wine-2); }
.nav { display: flex; flex-wrap: wrap; align-items: center; margin-left: auto; }
.nav a, .nav .login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px;
                      font: 400 16px/1.2 var(--font); color: var(--on-wine); text-decoration: none;
                      background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav .login:hover { text-decoration: underline; }
.nav .hide { display: none; }
.nav .login { font-weight: 600; }
.lang select { appearance: none; -webkit-appearance: none; field-sizing: content; max-width: 9em; min-height: 44px; padding: 0 9px;
               background: transparent; color: var(--on-wine); border: 0; font: 400 16px/1.2 var(--font); cursor: pointer; }
.lang select option { color: var(--ink); background: var(--paper); }
@media (min-width: 960px) { .tagline { display: block; } .nav .hide { display: inline-flex; } }

/* Hero */
.hero { padding: 36px 0 44px; }
.hero__grid { display: grid; gap: 36px; }
.aud { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; color: var(--ink-2); }
.dark .aud { color: var(--on-wine-2); }
.hero h1 { font-weight: 500; font-size: clamp(38px, 9.6vw, 76px); line-height: 1.02; margin: 14px 0 18px; max-width: 15ch; }
.hero .sub { font-size: 19px; max-width: 32em; color: var(--on-wine); }
.hero .sub + .sub { margin-top: 10px; font-size: 17px; color: var(--on-wine-2); }
.cta { margin-top: 26px; display: grid; justify-items: start; gap: 10px; }
.fallback { font-size: 15px; }
.fallback a { font-weight: 600; }
.triad { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.triad li { padding: 4px 16px; border-left: 1px solid var(--rule-wine); font-size: 16px; color: var(--on-wine-2); }
.triad li:first-child { padding-left: 0; border-left: 0; }
.triad b { color: var(--on-wine); font-weight: 600; font-variant-numeric: lining-nums; }
.already { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--rule-wine); display: flex; flex-wrap: wrap;
           gap: 4px 18px; align-items: baseline; max-width: 32em; }
.already span { color: var(--on-wine-2); font-size: 15px; }
.already a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }

/* Delivery note: a card framed twice */
.note { background: var(--surface); color: var(--ink); padding: 24px 22px; align-self: start; margin: 8px;
        box-shadow: 0 0 0 6px var(--wine), 0 0 0 7px var(--rule-wine); }
.note__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
              padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.note__title { font-family: var(--display); font-size: 26px; font-weight: 600; }
.tag { font-size: 14px; font-style: italic; border: 1px solid var(--ink-2); color: var(--ink-2); padding: 1px 10px; border-radius: 999px; }
.note dl { margin: 0; }
.note .row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.note dt { color: var(--ink-2); }
.note dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: lining-nums; }
.note__foot { padding-top: 14px; font-family: var(--display); font-style: italic; font-size: 20px; color: var(--wine); }
@media (min-width: 960px) {
  .hero { padding: 72px 0 80px; }
  .hero__grid { grid-template-columns: 1.4fr 0.8fr; gap: 72px; }
  .note { margin-top: 48px; }
}

/* Video slots: a fixed ratio from the first paint, so nothing moves when a video arrives. */
.video { position: relative; background: repeating-linear-gradient(135deg, var(--tint) 0 14px, var(--stripe) 14px 28px);
         border: 1px solid var(--rule); display: grid; place-items: center; text-align: center; padding: 16px;
         color: var(--ink-2); font-size: 15px; overflow: hidden; }
.video b { display: block; color: var(--ink); font-weight: 600; }
.video video, .video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-video { aspect-ratio: 16 / 9; border-left: 0; border-right: 0; }
.anim { aspect-ratio: 16 / 9; }
@media (min-width: 960px) { .band-video { aspect-ratio: 21 / 9; } .anim { aspect-ratio: 4 / 5; } }

/* Sections */
.sec { padding: 52px 0; }
.sec--tint { background: var(--tint); }
@media (min-width: 960px) { .sec { padding: 96px 0; } }
.sec h2 { font-weight: 500; font-size: clamp(34px, 7.6vw, 58px); line-height: 1.05; max-width: 20ch; }
.lead { font-size: 19px; color: var(--ink-2); margin-top: 16px; max-width: 34em; }

/* Problem: three costs, numbered */
.costs { list-style: none; margin: 34px 0 0; padding: 0; display: grid; counter-reset: c; }
.costs li { counter-increment: c; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--rule); }
.costs li::before { content: counter(c); font-family: var(--display); font-style: italic; font-weight: 500; font-size: 44px;
                    line-height: 1; color: var(--wine); }
.costs b { display: block; }
.costs span { color: var(--ink-2); }
@media (min-width: 960px) {
  .costs { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .costs li { grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
}

/* What this is not, and the 365 steps */
.nots { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 22px; }
.nots b { display: block; font-size: 19px; }
.nots span { color: var(--ink-2); }
@media (min-width: 960px) { .nots { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* How it works: the graduated five-day schedule */
.how { display: grid; gap: 40px; }
.rail { list-style: none; margin: 34px 0 0; padding: 0; position: relative; }
.rail li { position: relative; padding: 0 0 30px 40px; }
.rail li::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: -10px; width: 2px; background: var(--ink); }
.rail li:last-child::before { display: none; }
.mark { position: absolute; left: 0; top: 2px; width: 18px; height: 18px; background: var(--paper); border: 2px solid var(--ink); }
.rail li:nth-child(4) .mark { background: var(--wine); border-color: var(--wine); }
.rail .n { font-size: 15px; color: var(--ink-2); }
.rail h3 { font-size: 25px; line-height: 1.15; margin: 2px 0 6px; }
.rail p { color: var(--ink-2); }
.days { display: grid; grid-template-columns: repeat(5, 1fr); margin: 14px 0 0; max-width: 300px; border: 1px solid var(--ink); }
.days span { height: 26px; border-left: 1px solid var(--ink); font-size: 13px; display: grid; place-items: center; color: var(--ink-2);
             font-variant-numeric: lining-nums; background: repeating-linear-gradient(90deg, transparent 0 6px, var(--wash) 6px 7px); }
.days span:first-child { border-left: 0; }
@media (min-width: 960px) {
  .rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; padding-top: 30px; }
  .rail::before { content: ""; position: absolute; left: 0; right: 0; top: 38px; height: 2px; background: var(--ink); }
  .rail li { padding: 34px 0 0; }
  .rail li::before { display: none; }
  .mark { top: 0; }
  .days { position: absolute; top: -34px; left: 0; width: calc(100% + 28px); max-width: none; margin: 0; }
  .how__row { display: grid; grid-template-columns: 1.5fr 0.7fr; gap: 56px; align-items: start; }
}

/* Pricing */
.price { display: grid; gap: 34px; }
.price__eyebrow { font-family: var(--font); font-size: 20px; font-weight: 400; font-style: italic; color: var(--ink-2); }
.amount { font-family: var(--display); font-size: clamp(56px, 15vw, 112px); font-weight: 300; letter-spacing: -0.03em;
          line-height: 1; font-variant-numeric: lining-nums; }
.per { font-size: 20px; font-style: italic; color: var(--ink-2); margin-top: 6px; }
.small { font-size: 15px; color: var(--ink-2); margin-top: 16px; max-width: 32em; }
.conds { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.conds li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.plain { margin-top: 18px; display: grid; gap: 6px; color: var(--ink-2); font-size: 16px; font-style: italic; }
.price .cta { margin-top: 28px; }
.more { display: inline-flex; min-height: 44px; align-items: center; }
@media (min-width: 960px) { .price { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }

/* 365 cadences */
.cadences { list-style: none; margin: 34px 0 0; padding: 0; display: grid; border-top: 1px solid var(--ink); }
.cadences li { padding: 20px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.cadences .amount { font-size: clamp(40px, 10vw, 64px); }
.cadences .total { font-size: 15px; color: var(--ink-2); }
@media (min-width: 960px) { .cadences { grid-template-columns: repeat(3, 1fr); gap: 0 40px; } }
.trial { margin-top: 28px; padding: 22px; background: var(--surface); border-top: 4px solid var(--wine); max-width: 44em; display: grid; gap: 8px; }
.trial p:first-child { font-family: var(--display); font-size: 24px; font-weight: 600; }
.trial p + p { color: var(--ink-2); }

/* Guarantee */
.grt { padding: 56px 0; }
.grt h2 { font-style: italic; font-weight: 500; font-size: clamp(38px, 10vw, 84px); margin-top: 8px; }
.grt .lead { color: var(--on-wine); }
.grt .lead strong { display: block; margin-top: 10px; }
.split { display: grid; grid-template-columns: 1fr 1fr; margin-top: 38px;
         border-top: 1px solid var(--rule-wine); border-bottom: 1px solid var(--rule-wine); }
.split div { padding: 26px 16px 26px 0; }
.split div + div { padding-left: 16px; border-left: 1px solid var(--rule-wine); }
.split b { display: block; font-family: var(--display); font-size: clamp(40px, 11vw, 88px); font-weight: 500; line-height: 1;
           letter-spacing: -0.03em; font-variant-numeric: lining-nums; }
.split span { display: block; margin-top: 10px; color: var(--on-wine-2); font-size: 15px; }
.grt .sub { margin-top: 22px; color: var(--on-wine-2); }
.grt .cgu { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; margin-top: 6px; }
@media (min-width: 960px) {
  .grt { padding: 104px 0; }
  .split div { padding: 36px 32px 36px 0; }
  .split div + div { padding-left: 32px; }
}

/* FAQ */
.faqg { display: grid; gap: 28px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary { min-height: 56px; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
               cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 26px; color: var(--wine); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { padding: 0 0 20px; color: var(--ink-2); max-width: 40em; }
@media (min-width: 960px) {
  .faqg { grid-template-columns: 0.8fr 1.4fr; gap: 72px; }
  .faqg h2 { position: sticky; top: 32px; align-self: start; }
}

/* Footer */
.foot { background: var(--tint); padding: 48px 0 32px; }
.foot__grid { display: grid; gap: 28px; }
.foot__about { margin-top: 10px; max-width: 30em; }
.foot__h { font-weight: 600; margin-bottom: 6px; }
.foot .col { display: grid; align-content: start; }
.foot .col a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); }
.legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); display: grid; gap: 10px; }
@media (min-width: 960px) { .foot__grid { grid-template-columns: 2fr 1fr 1fr; } }

/* Personal-link panel (native dialog) */
.panel { border: 0; padding: 30px 22px; max-width: 460px; width: calc(100% - 32px); background: var(--paper); color: var(--ink);
         border-top: 6px solid var(--wine); }
.panel::backdrop { background: var(--scrim); }
.panel h2 { font-size: 26px; margin-bottom: 10px; padding-right: 36px; }
.panel p { color: var(--ink-2); }
.panel .btn { margin-top: 20px; }
.panel .hint { font-size: 15px; margin-top: 10px; font-style: italic; }
.panel__close { position: absolute; right: 10px; top: 8px; min-width: 44px; min-height: 44px; display: grid; place-items: center;
                background: none; border: 0; color: var(--ink-2); cursor: pointer; }

/* Long words (Estonian, Finnish, Hungarian) must not push the hero past a
   360 px screen: grid columns may shrink, text may break. */
.hero__grid > * { min-width: 0; }
h1, h2, h3, .display, .eyebrow { overflow-wrap: break-word; hyphens: auto; }
.triad li { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
