/* Wayfellow website. Colors, type and radii follow the Wayfellow design system. */
:root {
  --bg: #f4f7f6;
  --surface: #ffffff;
  --ink: #0f1f24;
  --muted: #53646a;
  --hairline: #e6ecea;
  --brand: #0b6e6b;
  --brand-dark: #0b4f4c;
  --brand-bright: #3cc3b8;
  --brand-soft: #dcefec;
  --on-dark-muted: #c9dedb;
  --accent: #ffb020;
  --accent-soft: #fff1d6;
  --warm: #c2571a;
  --violet: #6a47c9;
  --violet-soft: #efeafb;
  --safe: #16804a;
  --safe-soft: #e3f3e9;
  --danger: #c23b30;
  --danger-soft: #fdecea;
  --blue: #1f5fc4;
  --blue-soft: #e9f1fb;
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --shadow-card: 0 2px 10px rgba(15, 31, 36, .06);
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); line-height: 1.5; overflow-x: hidden; }
img, svg { display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: #08524f; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 10px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }

/* ---------- Header / nav ---------- */
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-grow: 1; font-family: var(--display); font-size: 20px; font-weight: 700; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--brand); display: flex; align-items: center; justify-content: center; }
.logo-mark path { stroke: #fff; }
.nav-link { font-size: 15px; font-weight: 600; color: var(--ink); padding: 10px 4px; }
.nav-link[aria-current="page"] { color: var(--brand); font-weight: 700; }
.site-header { background: var(--surface); box-shadow: 0 1px 0 var(--hairline); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 22px; font-size: 15px; font-weight: 700; border: 0; cursor: pointer; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: #08524f; color: #fff; }
.btn-accent { background: var(--accent); color: var(--ink); font-weight: 800; }
.btn-accent:hover { background: #ffc24d; color: var(--ink); }
.btn-lg { height: 54px; border-radius: 27px; font-size: 17px; width: 100%; }

.store { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px; border-radius: 14px; background: var(--ink); color: #fff; }
.store:hover { color: #fff; background: #1c3238; }
.store svg { width: 22px; height: 22px; }
.store span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store small { font-size: 11px; }
.store b { font-size: 19px; }
.store-light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.store-light:hover { background: #f1f5f4; color: var(--ink); }

@media (max-width: 520px) {
  .nav .nav-link { display: none; }
  .nav { flex-wrap: nowrap; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c3d2d0; }
.site-footer .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.site-footer b { color: #fff; font-size: 17px; flex-grow: 1; }
.site-footer a { color: #e9f2f0; font-size: 15px; padding: 8px 0; }
.site-footer a:hover { color: var(--accent); }
.site-footer small { flex-basis: 100%; font-size: 13px; }

/* ---------- Home: hero ---------- */
.hero { background: var(--brand-dark); color: #fff; position: relative; overflow: hidden; }
.hero .logo { color: #fff; }
.hero .logo-mark { background: #fff; }
.hero .logo-mark path { stroke: var(--brand); }
.hero .nav-link { color: #fff; }
.hero .nav-link:hover { color: var(--accent); }
.hero-route { position: absolute; left: 50%; top: 0; width: 1440px; height: 900px; margin-left: -720px; opacity: .5; pointer-events: none; }
.hero-copy { position: relative; max-width: 860px; margin: 0 auto; padding: 48px 20px 0; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 13px; font-weight: 700; }
.hero h1 { font-size: clamp(44px, 7.5vw, 84px); line-height: 1; font-weight: 800; letter-spacing: -1px; }
.hero h1 em, .cta h2 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--on-dark-muted); max-width: 600px; }
.get { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 18px; margin-top: 4px; }
.get small { font-size: 14px; color: var(--on-dark-muted); }
.fan { position: relative; height: 620px; margin-top: 56px; }
.fan .glow { position: absolute; left: 50%; top: 70px; width: 520px; height: 520px; margin-left: -260px; border-radius: 50%; background: var(--accent); opacity: .16; }
.fan .phone { position: absolute; left: 50%; top: 90px; margin-left: -142px; }
.fan .phone.left { transform: translateX(-250px) rotate(-8deg) scale(.9); }
.fan .phone.right { transform: translateX(250px) rotate(8deg) scale(.9); }
.fan .phone.front { top: 30px; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
@media (max-width: 640px) {
  .fan { height: 560px; }
  .fan .phone.left { transform: translateX(-170px) rotate(-8deg) scale(.8); }
  .fan .phone.right { transform: translateX(170px) rotate(8deg) scale(.8); }
}

.trust { background: var(--surface); box-shadow: 0 1px 0 var(--hairline); }
.trust .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; font-size: 15px; font-weight: 700; }
.trust span { display: flex; align-items: center; gap: 8px; }

/* ---------- Phone frame + app screens ---------- */
.phone { width: 284px; height: 564px; border-radius: 46px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px rgba(15,31,36,.25); flex-shrink: 0; }
.screen { width: 260px; height: 540px; border-radius: 34px; overflow: hidden; position: relative; font-family: var(--text); color: var(--ink); background: var(--bg); text-align: left; line-height: 1.3; }
.screen::after { content: ""; position: absolute; top: 10px; left: 50%; width: 80px; height: 22px; margin-left: -40px; border-radius: 11px; background: var(--ink); }
.s-map { position: absolute; inset: 0; }
.s-top { position: absolute; top: 40px; left: 10px; right: 10px; display: flex; align-items: center; gap: 6px; }
.s-avatar { width: 34px; height: 34px; border-radius: 17px; background: #c39bd3; box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(15,31,36,.15); }
.s-city { flex-grow: 1; height: 34px; border-radius: 17px; background: #fff; display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 11px; font-weight: 700; box-shadow: 0 4px 10px rgba(15,31,36,.1); }
.s-dot { width: 7px; height: 7px; border-radius: 4px; background: var(--safe); }
.s-round { width: 34px; height: 34px; border-radius: 17px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(15,31,36,.1); }
.s-chips { position: absolute; top: 84px; left: 10px; right: 0; display: flex; gap: 6px; overflow: hidden; }
.s-chip { flex-shrink: 0; height: 26px; padding: 0 10px; border-radius: 13px; background: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; }
.s-chip.on { background: var(--brand); color: #fff; }
.s-pin { position: absolute; width: 42px; height: 42px; border-radius: 21px; background: #fff; box-shadow: 0 6px 14px rgba(15,31,36,.2); display: flex; align-items: center; justify-content: center; }
.s-pin span { width: 32px; height: 32px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.s-pin.live { box-shadow: 0 0 0 7px rgba(255,176,32,.35), 0 6px 14px rgba(15,31,36,.2); }
.s-me { position: absolute; left: 120px; top: 238px; width: 14px; height: 14px; border-radius: 7px; background: #1f6fe0; box-shadow: 0 0 0 4px #fff, 0 0 0 12px rgba(31,111,224,.18); }
.s-bottom { position: absolute; left: 10px; right: 10px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.s-count { align-self: flex-start; height: 26px; padding: 0 10px; border-radius: 13px; background: rgba(255,255,255,.92); font-size: 10px; font-weight: 700; display: flex; align-items: center; box-shadow: 0 4px 10px rgba(15,31,36,.1); }
.s-card { background: #fff; border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 10px 24px rgba(15,31,36,.16); }
.s-row { display: flex; align-items: center; gap: 8px; }
.s-tile { width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.s-col { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
.s-col b { font-size: 13px; }
.s-col small, .s-small { font-size: 10px; color: var(--muted); }
.s-tag { padding: 3px 7px; border-radius: 7px; background: var(--accent-soft); font-size: 9px; font-weight: 800; }
.s-faces { display: flex; }
.s-faces i { width: 18px; height: 18px; border-radius: 9px; box-shadow: 0 0 0 2px #fff; margin-left: -5px; }
.s-faces i:first-child { margin-left: 0; }
.s-join { height: 32px; border-radius: 16px; background: var(--accent); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

.s-header { padding: 40px 12px 10px; background: #fff; box-shadow: 0 1px 0 var(--hairline); display: flex; align-items: center; gap: 8px; }
.s-chat { display: flex; flex-direction: column; height: 100%; }
.s-meet { margin: 10px 12px 0; padding: 10px; border-radius: 14px; background: var(--brand-soft); display: flex; align-items: center; gap: 8px; }
.s-meet b { font-size: 11px; color: var(--brand); }
.s-meet small { font-size: 10px; }
.s-msgs { flex-grow: 1; padding: 12px; display: flex; flex-direction: column; gap: 7px; justify-content: flex-end; }
.s-sys { align-self: center; font-size: 9px; font-weight: 700; color: var(--muted); padding: 3px 8px; border-radius: 8px; background: var(--hairline); }
.s-msg { display: flex; gap: 6px; align-items: flex-end; }
.s-msg > i { width: 22px; height: 22px; border-radius: 11px; flex-shrink: 0; }
.s-msg div { display: flex; flex-direction: column; gap: 2px; }
.s-msg b { font-size: 9px; }
.s-bubble { max-width: 170px; padding: 7px 10px; border-radius: 14px 14px 14px 4px; background: #fff; font-size: 11px; line-height: 15px; }
.s-bubble.mine { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--brand); color: #fff; }
.s-seen { align-self: flex-end; font-size: 9px; font-weight: 700; color: var(--brand); }
.s-composer { padding: 8px 10px 22px; background: #fff; display: flex; align-items: center; gap: 8px; box-shadow: 0 -1px 0 var(--hairline); }
.s-input { flex-grow: 1; height: 32px; border-radius: 16px; background: var(--bg); padding: 0 12px; font-size: 11px; color: var(--muted); display: flex; align-items: center; }
.s-send { width: 32px; height: 32px; border-radius: 16px; background: var(--brand); display: flex; align-items: center; justify-content: center; }

.s-people { padding: 40px 12px 0; display: flex; flex-direction: column; gap: 10px; }
.s-people h4 { margin: 0; font-family: var(--display); font-size: 20px; line-height: 24px; }
.s-seg { display: flex; background: var(--hairline); border-radius: 10px; padding: 2px; }
.s-seg span { flex-grow: 1; height: 26px; border-radius: 8px; font-size: 10px; font-weight: 700; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.s-seg span.on { background: var(--brand); color: #fff; }
.s-person { background: #fff; border-radius: 16px; padding: 10px; display: flex; gap: 10px; align-items: center; box-shadow: 0 2px 8px rgba(15,31,36,.05); }
.s-person > i { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; }
.s-person .s-col { gap: 3px; }
.s-person .s-col b { font-size: 12px; display: flex; align-items: center; gap: 4px; }
.s-person .s-col small { font-size: 9px; }
.s-vibes { display: flex; gap: 4px; }
.s-vibes span { padding: 2px 6px; border-radius: 6px; background: var(--bg); font-size: 8px; font-weight: 700; }
.s-vibes span:first-child { background: var(--brand-soft); color: var(--brand); }
.s-hi { height: 26px; padding: 0 10px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); font-size: 10px; font-weight: 800; display: flex; align-items: center; }

/* ---------- Home: feature sections ---------- */
.feature { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.feature.reverse { flex-wrap: wrap-reverse; }
.feature-text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.feature h2 { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.08; letter-spacing: -0.5px; }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); }
.checks { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks li::before { content: ""; width: 24px; height: 24px; border-radius: 12px; flex-shrink: 0; background: var(--tick-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.amber { --tick-bg: var(--accent-soft); }
.amber .eyebrow { color: var(--warm); }
.teal { --tick-bg: var(--brand-soft); }
.teal .eyebrow { color: var(--brand); }
.violet { --tick-bg: var(--violet-soft); }
.violet .eyebrow { color: var(--violet); }
.feature-art { flex: 1 1 340px; position: relative; height: 620px; display: flex; justify-content: center; align-items: center; min-width: 0; }
.feature-art .circle { position: absolute; width: 440px; height: 440px; max-width: 110%; border-radius: 50%; background: var(--tick-bg); }
.feature-art .phone { position: relative; }
.float { position: absolute; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(15,31,36,.14); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.float .live { width: 10px; height: 10px; border-radius: 5px; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,176,32,.3); }
.white { background: var(--surface); }

.plus-card { background: var(--ink); color: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.plus-card > div:first-child { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.plus-card h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; }
.plus-card p { font-size: 17px; color: #c3d2d0; }
.perks { flex: 1 1 340px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.perks span { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.07); font-size: 15px; font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.perks b { color: var(--accent); }

.cta { background: var(--brand-dark); color: #fff; }
.cta .wrap { max-width: 860px; padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.cta h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.5px; }
.cta p { font-size: 18px; color: var(--on-dark-muted); }

/* ---------- Inner pages ---------- */
.page { padding-top: 48px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 40px; }
.page-head { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.page-head h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.1; }
.page-head p { font-size: 18px; color: var(--muted); }
.section-title { font-size: 30px; }
.card { background: var(--surface); border-radius: 24px; padding: 22px; box-shadow: var(--shadow-card); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.icon-tile { width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.danger-box { background: var(--danger-soft); border-radius: 24px; padding: 22px 24px; color: #5c1a14; }
.danger-box b { color: #8f2820; }

.faq { background: var(--surface); border-radius: 24px; padding: 4px 20px; box-shadow: var(--shadow-card); }
.faq details + details { border-top: 1px solid var(--hairline); }
.faq summary { cursor: pointer; list-style: none; min-height: 56px; padding: 14px 0; display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 18px; height: 18px; flex-shrink: 0; margin-left: auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2353646a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { margin: 0 0 16px; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 760px; }

.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; counter-reset: step; }
.steps li { background: var(--surface); border-radius: 18px; padding: 16px 18px; display: flex; gap: 14px; font-size: 16px; counter-increment: step; }
.steps li::before { content: counter(step); font-weight: 800; color: var(--brand); }

.legal { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.toc { flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.toc span { font-size: 12px; font-weight: 800; letter-spacing: .5px; color: var(--muted); padding-bottom: 6px; }
.toc a { font-size: 15px; padding: 6px 0; }
.doc { flex: 999 1 560px; min-width: 0; background: var(--surface); border-radius: 28px; padding: clamp(22px, 4vw, 44px); display: flex; flex-direction: column; gap: 28px; box-shadow: var(--shadow-card); font-size: 16px; line-height: 1.6; }
.doc h1 { font-size: clamp(32px, 4.5vw, 44px); line-height: 1.1; }
.doc h2 { font-family: var(--text); font-size: 24px; }
.doc section { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 20px; }
.doc ul, .doc ol { margin: 0; padding-left: 20px; }
.summary-box { background: var(--brand-soft); border-radius: 18px; padding: 18px 20px; }
.summary-box h2 { font-size: 20px; }

/* ---------- Plan invite page ---------- */
.invite { min-height: 100vh; padding: 20px 16px 40px; display: flex; flex-direction: column; align-items: center; }
.invite-inner { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 16px; }
.invite .logo { flex-grow: 0; align-self: center; font-size: 17px; padding: 6px; }
.invite .logo-mark { width: 30px; height: 30px; border-radius: 9px; }
.invite-card { background: var(--surface); border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 8px 24px rgba(15,31,36,.08); }
.invite-card.center { align-items: center; text-align: center; padding: 28px 22px; }
.host { display: flex; align-items: center; gap: 12px; }
.host-face { width: 52px; height: 52px; border-radius: 26px; background: #c39bd3; color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.verified { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--brand); font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 9px; border-radius: 8px; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; gap: 4px; }
.tag-time { background: var(--accent-soft); }
.tag-private { background: var(--violet-soft); color: #4b2fa8; }
.tag-women { background: var(--safe-soft); color: #0f5c35; }
.invite-card h1 { font-size: 28px; line-height: 33px; }
.facts { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.facts span { display: flex; gap: 10px; align-items: center; }
.note { font-size: 13px; line-height: 18px; color: var(--muted); padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.safety-line { display: flex; align-items: flex-start; gap: 10px; padding: 0 6px; font-size: 13px; line-height: 18px; color: var(--muted); }
.big-icon { width: 64px; height: 64px; border-radius: 22px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; }
.skeleton { background: linear-gradient(90deg, #eef2f1 0%, #f7f9f8 50%, #eef2f1 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; border-radius: 10px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skeleton { animation: none; }
}
