/* Yournology website styles. Brand guidelines v1.0 (Nov 2026).
   Colours: Cobalt #1F3FA8, Deep Cobalt #142A73, Cobalt Tint #E8EDFA, Marigold #F2B134,
   Marigold Tint #FDF1D6, Ink #14171F, Slate #5B6475, Mist #E4E7ED, Paper #FAFAF7.
   Type: Outfit SemiBold for headings, Inter for body. Marigold is an accent only; never Marigold text on light. */

:root {
  --cobalt: #1F3FA8;
  --deep: #142A73;
  --tint: #E8EDFA;
  --marigold: #F2B134;
  --marigold-tint: #FDF1D6;
  --ink: #14171F;
  --slate: #5B6475;
  --mist: #E4E7ED;
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --head: Outfit, "Helvetica Neue", Arial, sans-serif;
  --body: Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 24px; }
img { max-width: 100%; }
a { color: var(--cobalt); }
a:hover { color: var(--deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--marigold); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--head); font-weight: 600; color: var(--deep); margin: 0; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.band-white { background: var(--white); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.band-deep { background: var(--deep); color: var(--white); }
.band-tint { background: var(--tint); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 12px; }
.band-deep .eyebrow { color: var(--marigold); }
.h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; margin-bottom: 14px; max-width: 760px; }
.band-deep .h2 { color: var(--white); }
.lead { font-size: 17px; line-height: 27px; max-width: 720px; margin-bottom: 40px; }
.band-deep .lead { color: var(--tint); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; border-radius: 12px; padding: 14px 24px; min-height: 48px; text-decoration: none; cursor: pointer; border: 0; }
.btn-primary { background: var(--marigold); color: var(--ink); }
.btn-primary:hover { color: var(--ink); filter: brightness(1.05); }
.btn-ghost { border: 1.5px solid var(--cobalt); color: var(--cobalt); background: transparent; padding: 12.5px 22px; }
.btn-ghost:hover { background: var(--tint); color: var(--deep); }
.btn-small { font-size: 14px; padding: 8px 14px; min-height: 44px; border-radius: 10px; }

/* Header */
.site-header { border-bottom: 1px solid var(--mist); background: var(--paper); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo { display: flex; padding: 6px 0; }
.logo img { height: 30px; width: auto; display: block; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--cobalt); }
.nav a.btn { padding: 11px 18px; min-height: 44px; font-size: 15px; border-radius: 10px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 500px; min-width: 0; }
.hero h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.06; letter-spacing: -.01em; margin-bottom: 22px; }
.hero-sub { font-size: 19px; line-height: 30px; max-width: 600px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.tagline { font-family: var(--head); font-weight: 500; font-size: 18px; color: var(--slate); }
.hero-card-wrap { flex: 1 1 400px; min-width: 0; max-width: 520px; }

.run { background: var(--white); border: 1px solid var(--mist); border-radius: 18px; box-shadow: 0 18px 40px -24px rgba(20,42,115,.35); overflow: hidden; }
.run-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 20px; border-bottom: 1px solid var(--mist); }
.run-title { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; color: var(--deep); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cobalt); display: inline-block; }
.chip { font-size: 12px; line-height: 18px; font-weight: 600; background: var(--marigold-tint); color: var(--ink); padding: 3px 10px; border-radius: 999px; }
.run ol { list-style: none; margin: 0; padding: 12px 20px 8px; }
.run li { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; }
.status { flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--mist); background: var(--white); }
.run li.done .status { background: var(--cobalt); border-color: var(--cobalt); }
.run li.active .status { background: var(--tint); border-color: var(--cobalt); }
.status svg { display: none; }
.run li.done .status svg { display: block; }
.run-text { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--slate); }
.run li.done .run-text, .run li.active .run-text { color: var(--ink); }
.run-detail { font-size: 13px; line-height: 18px; color: var(--slate); }
.checkpoint { margin: 0 20px 20px; padding: 12px 14px; background: var(--tint); border-radius: 12px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 21px; color: var(--deep); }

/* Cards and grids */
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--mist); border-radius: 16px; background: var(--paper); }
.card .rule { width: 32px; height: 4px; background: var(--marigold); border-radius: 2px; margin-bottom: 20px; }
.card h3 { font-size: 21px; line-height: 28px; margin-bottom: 10px; }
.split-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; margin-bottom: 40px; }
.split-head h2 { flex: 1 1 380px; margin: 0; }
.split-head p { flex: 1 1 440px; font-size: 17px; line-height: 27px; }

/* Solutions */
.solutions { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.tabs { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tab { text-align: left; cursor: pointer; font: inherit; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--mist); background: var(--white); color: var(--deep); display: flex; flex-direction: column; gap: 2px; min-height: 64px; }
.tab-tag { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }
.tab-name { font-family: var(--head); font-weight: 600; font-size: 19px; line-height: 26px; }
.tab[aria-pressed="true"] { background: var(--cobalt); border-color: var(--cobalt); color: var(--white); }
.tab[aria-pressed="true"] .tab-tag { color: var(--marigold-tint); }
.panel { flex: 999 1 560px; min-width: 0; background: var(--white); border: 1px solid var(--mist); border-radius: 20px; padding: 32px; }
.panel h3 { font-size: 28px; line-height: 34px; margin-bottom: 10px; }
.panel-summary { font-size: 17px; line-height: 27px; max-width: 680px; margin-bottom: 28px; }
.label { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.steps li { padding: 16px; border-radius: 14px; border: 1.5px solid var(--mist); background: var(--paper); display: flex; flex-direction: column; gap: 10px; transition: background .3s, border-color .3s; }
.num { width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--deep); font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.steps li.done .num { background: var(--cobalt); color: var(--white); }
.steps li.active { background: var(--tint); border-color: var(--cobalt); }
.steps li.active .num { background: var(--cobalt); color: var(--white); }
.step-text { font-size: 14px; line-height: 20px; font-weight: 500; }
.boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.box { border-radius: 14px; padding: 20px 22px; }
.box-tint { background: var(--tint); }
.box-marigold { background: var(--marigold-tint); }
.box-title { font-family: var(--head); font-weight: 600; font-size: 17px; color: var(--deep); margin-bottom: 10px; }
.box-marigold .box-title { color: var(--ink); }
.box ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 23px; }
.box li + li { margin-top: 6px; }
.after-note { margin-top: 28px; font-size: 15px; color: var(--slate); max-width: 820px; }

/* How it works */
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.how-steps li { border-top: 2px solid var(--marigold); padding-top: 22px; }
.how-num { font-family: var(--head); font-weight: 600; font-size: 15px; color: var(--marigold); }
.how-steps h3 { color: var(--white); font-size: 24px; line-height: 30px; margin: 8px 0 10px; }
.how-steps p { color: var(--tint); font-size: 15px; line-height: 24px; }

/* Trust */
.trust { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.trust-grid { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.trust-card { background: var(--white); border: 1px solid var(--mist); border-radius: 16px; padding: 24px; }
.trust-card h3 { font-size: 19px; line-height: 26px; margin-bottom: 8px; }
.trust-card p { font-size: 15px; line-height: 23px; }
.questions { flex: 1 1 320px; min-width: 0; background: var(--cobalt); color: var(--white); border-radius: 20px; padding: 30px; }
.questions h3 { color: var(--white); font-size: 22px; line-height: 28px; margin-bottom: 18px; }
.questions ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 23px; }
.questions li { display: flex; gap: 12px; }
.questions li svg { flex: none; margin-top: 3px; }
.questions .closing { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); color: var(--tint); font-size: 14px; line-height: 21px; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about-photo { flex: 1 1 280px; max-width: 360px; min-width: 0; }
.photo-frame { aspect-ratio: 4 / 5; border-radius: 20px; background: var(--deep); display: flex; align-items: center; justify-content: center; }
.photo-frame span { font-family: var(--head); font-weight: 600; font-size: 72px; color: var(--white); letter-spacing: .02em; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.founder-name { margin-top: 16px; font-family: var(--head); font-weight: 600; font-size: 20px; line-height: 28px; color: var(--deep); }
.founder-role { font-size: 14px; line-height: 20px; color: var(--slate); }
.about-copy { flex: 999 1 480px; min-width: 0; }
.about-copy h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; margin-bottom: 18px; }
.about-copy p { font-size: 17px; line-height: 27px; margin-bottom: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pill { padding: 8px 14px; border-radius: 999px; background: var(--tint); color: var(--deep); font-size: 14px; font-weight: 500; }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.faq-intro { flex: 1 1 300px; min-width: 0; }
.faq-intro p { font-size: 17px; line-height: 27px; }
.faq-list { flex: 999 1 560px; min-width: 0; border-top: 1px solid var(--mist); }
.faq-list details { border-bottom: 1px solid var(--mist); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--head); font-weight: 600; font-size: 19px; line-height: 26px; color: var(--deep); min-height: 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-sign { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--cobalt); display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; }
.faq-sign::before { content: "+"; }
details[open] .faq-sign::before { content: "\2212"; }
.faq-list details p { padding: 0 44px 22px 0; font-size: 16px; line-height: 25px; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.contact-card { flex: 1 1 400px; min-width: 0; background: var(--white); border: 1px solid var(--mist); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.contact-card h3 { font-size: 24px; line-height: 30px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.facts strong { font-weight: 600; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.copy-btn { font: inherit; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; min-height: 44px; border-radius: 10px; border: 1.5px solid var(--cobalt); background: var(--white); color: var(--cobalt); cursor: pointer; }
.book-box { flex: 1; border: 1px solid var(--mist); border-radius: 14px; background: var(--paper); padding: 24px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; }
.book-box p { font-size: 15px; line-height: 23px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #C9CED8; border-radius: 10px; background: var(--white); color: var(--ink); min-height: 44px; width: 100%; }
.form textarea { resize: vertical; }
.form .btn { align-self: flex-start; }
.form-note { font-size: 13px; line-height: 19px; color: var(--slate); }
.form-status { font-size: 14px; color: var(--deep); }
[hidden] { display: none !important; }

/* Footer */
.site-footer { background: var(--deep); color: var(--white); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--marigold); }
.foot-top { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; padding-top: 56px; padding-bottom: 40px; }
.foot-brand { flex: 1 1 280px; min-width: 0; }
.foot-brand img { height: 28px; width: auto; display: block; margin-bottom: 18px; }
.foot-tagline { font-family: var(--head); font-weight: 500; font-size: 18px; color: var(--tint); }
.no-track { margin-top: 18px; display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--tint); }
.no-track a { text-decoration: underline; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 32px 56px; font-size: 15px; line-height: 30px; }
.foot-nav div { display: flex; flex-direction: column; }
.foot-nav span { color: var(--tint); }
.foot-bottom { padding-top: 18px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--tint); }

/* Privacy page */
.legal-main { padding-top: 64px; padding-bottom: 88px; }
.legal-main h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.1; margin-bottom: 14px; }
.updated { font-size: 15px; color: var(--slate); margin-bottom: 48px; }
.legal { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.toc { flex: 1 1 220px; max-width: 280px; min-width: 0; font-size: 15px; line-height: 22px; }
.toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--cobalt); }
.legal article { flex: 999 1 560px; min-width: 0; max-width: 760px; font-size: 17px; line-height: 28px; display: flex; flex-direction: column; gap: 40px; }
.legal h2 { font-size: 24px; line-height: 30px; margin-bottom: 12px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0; padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal .contact-box { background: var(--tint); border-radius: 16px; padding: 24px 28px; }

/* Motion */
@keyframes ynPulse { 0% { box-shadow: 0 0 0 0 rgba(31,63,168,.4); } 100% { box-shadow: 0 0 0 10px rgba(31,63,168,0); } }
@keyframes ynIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.live, .run li.active .status, .steps li.active .num { animation: ynPulse 1.4s ease-out infinite; }
.fade-in { animation: ynIn .45s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live, .run li.active .status, .steps li.active .num, .fade-in { animation: none; }
  .steps li { transition: none; }
}
