/* Seje website. Brand colours come straight from the app. */
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Onest"; src: url(fonts/onest.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --blue: #1F6FEB;
  --blue2: #4A90F2;
  --blue-soft: #E7F0FE;
  --ink: #0F1029;
  --grey: #5C6080;
  --paper: #F4F5FA;
  --line: #DFE2EE;
  --night: #0B1A4A;
  --night2: #13265F;
  --coral: #E8602C;
  --coral-soft: #FFEDE4;
  --green: #0E8A44;
  --green-soft: #E3F5EA;
  --white: #FFFFFF;
  --display: "Bricolage", "Onest", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--white); padding: 8px 14px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 750; letter-spacing: -0.035em; max-width: 13.5ch; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: 21px; letter-spacing: -0.01em; }
p { margin: 0 0 14px; max-width: 62ch; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--grey); max-width: 46ch; }
.fine { font-size: 14px; color: var(--grey); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue); color: var(--white); border: 0; border-radius: 999px; padding: 15px 26px; font: 600 17px/1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: #1557C4; }
.btn.ghost { background: var(--white); color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn.ghost:hover { background: var(--blue-soft); }

/* top bar */
.top { max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 750 26px/1 var(--display); letter-spacing: -0.03em; }
.mark { width: 34px; height: 34px; }
.top nav { display: flex; gap: 22px; align-items: center; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; }
.top nav a:hover { color: var(--blue); }
.top nav .login { padding: 9px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
@media (max-width: 720px) { .top nav a:not(.login) { display: none; } }

/* hero */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 6vw, 72px) var(--gutter) clamp(48px, 7vw, 96px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy .lede { margin-top: 22px; }
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hero-cta .fine { margin: 0; }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; } }

/* the phone and its live call */
.phone { margin: 0; justify-self: center; width: min(360px, 100%); }
.screen { background: linear-gradient(170deg, var(--night2), var(--night) 60%); color: #EAF0FF; border-radius: 38px; padding: 22px 18px 20px; min-height: 520px; box-shadow: 0 0 0 10px #050B22, 0 30px 60px -20px rgba(11, 26, 74, .55); position: relative; overflow: hidden; }
.callhead { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.who { display: flex; flex-direction: column; }
.num { font: 600 20px/1.2 var(--display); letter-spacing: -0.01em; }
.state { font-size: 14px; color: #A9B7E8; transition: color .3s; }
.screen[data-step="1"] .state, .screen[data-step="2"] .state, .screen[data-step="3"] .state, .screen[data-step="4"] .state { color: #8FB6FF; }
.pulse { width: 14px; height: 14px; border-radius: 50%; background: var(--blue2); box-shadow: 0 0 0 0 rgba(74,144,242,.7); animation: ring 1.4s infinite; }
.screen[data-step="5"] .pulse { animation: none; background: var(--coral); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(74,144,242,.7); } 100% { box-shadow: 0 0 0 16px rgba(74,144,242,0); } }
.talk { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.talk li { font-size: 15px; line-height: 1.45; padding: 10px 13px; border-radius: 16px; max-width: 88%; opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; }
.talk li.them { background: rgba(255,255,255,.08); border-bottom-left-radius: 4px; align-self: flex-start; }
.talk li.seje { background: var(--blue); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.talk li.show, .verdict.show { opacity: 1; transform: none; }
.verdict { margin-top: 16px; background: var(--coral-soft); color: #7A2C0D; border-radius: 16px; padding: 12px 14px; opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; }
.verdict strong { display: block; font: 700 17px/1.2 var(--display); color: var(--coral); }
.verdict span { font-size: 14px; }
.phone figcaption { font-size: 14px; color: var(--grey); text-align: center; margin-top: 18px; }
.replay { display: block; margin: 8px auto 0; background: none; border: 0; color: var(--blue); font: 500 15px var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .talk li, .verdict { opacity: 1; transform: none; transition: none; } .pulse { animation: none; } }

/* how it works: a real sequence, so it is numbered */
.how { background: var(--white); padding: clamp(56px, 8vw, 110px) var(--gutter); }
.how h2 { max-width: var(--max); margin: 0 auto 40px; }
.steps { max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps li { counter-increment: s; padding: 0 24px 0 0; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font: 700 20px/1 var(--display); margin-bottom: 18px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: 12px; height: 2px; background: var(--blue-soft); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--grey); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; } .steps li::after { display: none; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* scenes */
.scenes { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter); display: flex; flex-direction: column; gap: clamp(56px, 8vw, 100px); }
.scene { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.scene:nth-child(even) .scene-copy { order: 2; }
.scene h2 { margin-bottom: 18px; }
.scene p { color: #2E3150; }
.vignette { background: var(--night); border-radius: 28px; padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.bubble { margin: 0; max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 15.5px; line-height: 1.45; }
.bubble.them, .bubble.you { background: rgba(255,255,255,.09); color: #EAF0FF; align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.you { background: #2A3B78; }
.bubble.seje { background: var(--blue); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.tag { margin: 6px 0 0; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 10px; align-self: flex-start; }
.tag.warn { background: var(--coral-soft); color: #8A320F; }
.tag.ok { background: var(--green-soft); color: var(--green); }
@media (max-width: 820px) { .scene { grid-template-columns: 1fr; } .scene:nth-child(even) .scene-copy { order: 0; } }

/* trust */
.trust { background: var(--blue); color: var(--white); padding: clamp(56px, 8vw, 100px) var(--gutter); }
.trust h2 { max-width: var(--max); margin: 0 auto 32px; }
.trust-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.trust-grid p { color: #E3ECFF; font-size: 16px; }
.trust-grid strong { display: block; color: var(--white); font: 700 19px/1.25 var(--display); margin-bottom: 6px; }
@media (max-width: 820px) { .trust-grid { grid-template-columns: 1fr; gap: 20px; } }
.biz { max-width: var(--max); margin: 40px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 22px; padding: 24px 28px; }
.biz h3 { margin: 0 0 4px; font: 700 21px/1.25 var(--display); color: var(--white); }
.biz p { margin: 0; color: #E3ECFF; max-width: 52ch; }
.btn.light { background: var(--white); color: var(--blue); }
.btn.light:hover { background: var(--blue-soft); }

/* price */
.price { padding: clamp(56px, 8vw, 110px) var(--gutter); }
.price-card { max-width: 760px; margin: 0 auto; background: var(--white); border-radius: 32px; padding: clamp(28px, 5vw, 56px); box-shadow: inset 0 0 0 1px var(--line); }
.price-card h2 { margin-bottom: 26px; }
.includes { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.includes li { padding-left: 34px; position: relative; color: var(--grey); }
.includes li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); }
.includes li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--green); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.includes span { color: var(--ink); font-weight: 600; }
.price-card > p { color: var(--grey); margin-bottom: 26px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 8vw, 110px); }
.faq h2 { margin-bottom: 22px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 19px/1.3 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 28px/1 var(--body); color: var(--blue); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--grey); padding-bottom: 18px; }

/* join */
.join { background: var(--night); color: #EAF0FF; padding: clamp(56px, 8vw, 110px) var(--gutter); }
.join-inner { max-width: 760px; margin: 0 auto; }
.join h2 { color: var(--white); font-size: clamp(36px, 5vw, 60px); }
.join .lede { color: #B7C4EE; margin: 16px 0 30px; }
form { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .row2 { grid-template-columns: 1fr; } }
label, legend { font-size: 15px; font-weight: 500; color: #CFD9F7; }
label em { font-style: normal; color: #8E9CCB; }
input[type=email], input[type=tel], input:not([type]), #sharelink { display: block; width: 100%; margin-top: 6px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #2B3D7A; background: #0F2160; color: var(--white); font: 400 17px var(--body); }
input::placeholder { color: #6F7FB5; }
input:focus { border-color: var(--blue2); outline: none; }
fieldset { border: 0; margin: 0; padding: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.choice label { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; border: 1.5px solid #2B3D7A; cursor: pointer; color: var(--white); }
.choice label:has(input:checked) { border-color: var(--blue2); background: rgba(74,144,242,.18); }
.choice input { accent-color: var(--blue2); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: #B7C4EE; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--blue2); flex: none; }
form .btn { justify-self: start; }
.err { color: #FFB59A; min-height: 1.6em; margin: 0; }
.joined .place { font: 700 clamp(26px, 3.4vw, 38px)/1.2 var(--display); color: var(--white); margin-bottom: 10px; max-width: none; }
.joined .place strong { color: var(--blue2); }
.share { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 12px; }
.share #sharelink { flex: 1 1 260px; margin: 0; }
.join .fine { color: #8E9CCB; }

/* footer */
.foot { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) 48px; display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; }
.foot p { margin: 0; }
.foot .fine { flex-basis: 100%; }
