/* Huiora public website. Colours: teal #029497, coral #F8604F, gold #DAA228, navy #092144. */
:root {
  --teal: #029497; --teal-dark: #027a7d; --teal-soft: #e1f3f3; --coral: #f8604f; --gold: #daa228; --navy: #092144;
  --bg: #fbfcfc; --surface: #fff; --tint: #f2f7f7; --muted: #586377; --faint: #8a93a3; --border: #e3e6ee;
  --radius: 22px; --shadow: 0 10px 30px rgb(9 33 68 / 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--navy); font: 17px/1.6 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
h1 { font-size: clamp(2.4rem, 6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 800; }
p { margin: 0 0 14px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 36ch; }
.sub { color: var(--muted); max-width: 56ch; margin: 0 auto 26px; }
.note { font-size: 0.92rem; color: var(--faint); }
.big { font-size: 1.25rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: 14px; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: transform .1s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--teal); color: #fff; }
.btn.primary:hover { background: var(--teal-dark); }
.btn.quiet { background: var(--surface); color: var(--navy); border-color: var(--border); }
.btn.quiet:hover { border-color: var(--teal); }
.btn.small { padding: 9px 18px; border-radius: 12px; font-size: 0.95rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 6px 0 14px; }
.ctas.center { justify-content: center; }

/* Header */
header.site { position: sticky; top: 0; z-index: 20; background: rgb(251 252 252 / 0.9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand img { height: 46px; display: block; }
.links { display: flex; gap: 24px; flex: 1; }
.links a, .signin { color: var(--navy); text-decoration: none; font-weight: 600; }
.links a:hover, .links a[aria-current='page'] { color: var(--teal); }
.actions { display: flex; gap: 18px; align-items: center; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; }
.menu nav { position: absolute; left: 0; right: 0; top: 70px; background: var(--surface); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; padding: 12px 20px 20px; gap: 4px; box-shadow: var(--shadow); }
.menu nav a { padding: 12px 4px; color: var(--navy); text-decoration: none; font-weight: 600; }
.menu nav a.btn { color: #fff; text-align: center; margin-top: 8px; }

/* Sections */
section { padding: 60px 0; }
section.tint { background: var(--tint); }
.hero { padding: 64px 0 40px; background: radial-gradient(900px 400px at 85% 10%, var(--teal-soft), transparent 70%), radial-gradient(600px 300px at 0% 100%, #fde9e6, transparent 70%); }
.hero.small { padding: 64px 0 24px; }
.grid2 { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-phone { display: flex; justify-content: center; }

/* Features (text + phone) */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 56px; align-items: center; margin: 36px 0; }
.feature.flip { grid-template-columns: 270px minmax(0, 1fr); }
.feature.flip .text { order: 2; }
.feature .text { max-width: 620px; }
.feature .blurb { color: var(--muted); font-weight: 700; margin-top: -4px; }
.tile { width: 84px; height: 84px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 16px; }
.ticks { padding: 0; list-style: none; margin: 0 0 14px; }
.ticks li { padding-left: 30px; position: relative; margin: 8px 0; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft); box-shadow: inset 0 0 0 5px var(--teal); }

/* Audiences */
.cards6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.aud { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.aud h3 { font-size: 1.15rem; }
.aud p { color: var(--muted); margin: 0; }
.aud:nth-child(3n+1) { border-top: 4px solid var(--teal); }
.aud:nth-child(3n+2) { border-top: 4px solid var(--coral); }
.aud:nth-child(3n) { border-top: 4px solid var(--gold); }

/* Privacy */
.privacy { background: var(--navy); color: #fff; border-radius: 30px; padding: 48px; }
.privacy .eyebrow { color: #7fd6d8; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 18px; }
.points h3 { font-size: 1.1rem; }
.points p { color: #c9d1de; margin: 0; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 20px; margin: 30px 0 20px; }
.price { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.price.plus { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.price .amount { font-size: 1.6rem; font-weight: 800; margin: 2px 0 10px; }
.price .amount span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price .soon { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; font-size: 0.9rem; }
.compare { width: 100%; max-width: 780px; margin: 30px auto 10px; border-collapse: collapse; background: var(--surface); border-radius: 18px; overflow: hidden; border: 1px solid var(--border); }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--border); }
.compare thead th { border-top: none; background: var(--tint); font-size: 1.05rem; }
.compare tbody th { font-weight: 600; }
.compare td:last-child { font-weight: 700; color: var(--teal-dark); }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 6px; }
.steps span { color: var(--muted); }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 2px; color: var(--muted); }

.band { background: linear-gradient(135deg, var(--teal), #037d80); color: #fff; }
.band .sub { color: #d6f1f1; }
.band .btn.primary { background: #fff; color: var(--teal-dark); }

/* Footer */
footer.site { background: #071a36; color: #b9c3d3; padding: 56px 0 30px; font-size: 0.95rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
footer a { display: block; color: #b9c3d3; text-decoration: none; margin: 6px 0; }
footer a:hover { color: #fff; }
.flogo { height: 54px; background: #fff; border-radius: 12px; padding: 6px 10px; }
footer .stores { font-size: 0.88rem; color: #8b97ab; }
footer .fine { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; border-top: 1px solid #1b2f4f; margin-top: 36px; padding-top: 20px; font-size: 0.82rem; color: #8b97ab; }
footer .fine a { display: inline; margin: 0; text-decoration: underline; }

/* Photos */
.why { padding-top: 48px; }
.why-text { max-width: 760px; margin: 0 auto; text-align: center; }
.why-text p:not(.eyebrow) { color: var(--muted); }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; margin: 26px auto 0; }
.photo-row img { width: 100%; height: 170px; object-fit: cover; border-radius: 18px; }
.feature-photo { display: block; width: 100%; height: 190px; object-fit: cover; object-position: center 30%; border-radius: 18px; margin-top: 18px; }
.aud-photo { display: block; max-width: none; width: calc(100% + 48px); margin: -24px -24px 16px; height: 130px; object-fit: cover; object-position: center 22%; border-radius: 18px 18px 0 0; }
.aud:has(.aud-photo) { padding-top: 24px; overflow: hidden; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 30px; }
.videos iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; }
.videos figure { margin: 0; }
.videos figcaption { font-weight: 700; margin-top: 8px; }
.work { background: linear-gradient(180deg, #fff, var(--teal-soft)); }

/* Phone frame and drawn screens */
.phone { margin: 0; width: 270px; max-width: 100%; border-radius: 46px; background: #0b1426; padding: 12px; box-shadow: 0 30px 60px rgb(9 33 68 / 0.22), inset 0 0 0 2px #26324a; position: relative; }
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 92px; height: 24px; border-radius: 14px; background: #0b1426; z-index: 2; }
.screen { width: 100%; min-height: 520px; border-radius: 36px; background: #fafbfb; overflow: hidden; padding: 52px 16px 16px; font-size: 12px; line-height: 1.35; display: flex; flex-direction: column; gap: 8px; }
.screen b { font-weight: 800; display: block; }
.screen small { display: block; color: var(--muted); font-size: 10.5px; }
.m-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.m-top img { height: 28px; margin-right: auto; }
.m-bell { width: 16px; height: 16px; border-radius: 6px 6px 3px 3px; border: 2px solid var(--navy); position: relative; }
.m-bell::after { content: ''; position: absolute; right: -5px; top: -5px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.m-face { flex: none; width: 26px; height: 26px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 11px; border: 2px solid #fff; }
.m-h1 { font-size: 20px; font-weight: 800; margin: 0; letter-spacing: -0.02em; }
.m-h1.sm { font-size: 18px; }
.m-sub { color: var(--muted); margin: 0 0 4px; }
.m-h2 { font-weight: 800; font-size: 13px; margin: 6px 0 0; }
.m-kicker { font-weight: 800; font-size: 11px; margin: 0; color: var(--muted); }
.m-card { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 8px; border: 1px solid var(--border); }
.m-card div { flex: 1; }
.m-card i { color: var(--faint); font-style: normal; font-size: 16px; }
.m-tile { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.m-plan { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 7px; border: 1px solid var(--border); }
.m-plan img { width: 64px; height: 44px; object-fit: cover; border-radius: 9px; }
.m-faces { display: flex; align-items: center; margin-top: 3px; }
.m-faces .m-face { width: 20px; height: 20px; font-size: 9px; margin-right: -6px; }
.m-faces small { margin-left: 12px; }
.m-rem { display: flex; gap: 7px; align-items: center; background: #fff; border-radius: 12px; padding: 7px; border: 1px solid var(--border); }
.m-rem div { flex: 1; min-width: 0; }
.m-rem em { font-style: normal; color: var(--teal); font-weight: 800; font-size: 10.5px; white-space: nowrap; }
.m-rtile { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.m-row { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 7px 9px; border: 1px solid var(--border); }
.m-row b { flex: 1; }
.m-note { color: var(--muted); font-size: 10.5px; margin: 2px 0; }
.m-btn { background: var(--teal); color: #fff; text-align: center; font-weight: 800; border-radius: 12px; padding: 10px; margin-top: auto; }
.m-poll { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 9px; }
.m-poll.best { border: 2px solid var(--teal); }
.m-poll small { color: var(--teal); font-weight: 800; }
.m-votes { display: flex; gap: 6px; margin-top: 5px; }
.m-votes i { font-style: normal; font-size: 10px; padding: 2px 7px; border-radius: 999px; background: #eef1f5; }
.m-votes .y { background: var(--teal-soft); color: var(--teal-dark); }
.m-votes .m { background: #fbf0d9; color: #8a6206; }
.m-votes .n { background: #fde9e6; color: #b23a2c; }
.m-room { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 9px; display: flex; flex-direction: column; gap: 6px; }
.m-bed { border-radius: 9px; padding: 7px 9px; font-weight: 700; }
.m-bed.taken { background: #f3f5f9; }
.m-bed.free { background: var(--teal-soft); color: var(--teal-dark); border: 1px dashed var(--teal); }
.m-browser { background: #eef1f5; border-radius: 10px; padding: 6px 10px; color: var(--muted); font-size: 10.5px; margin-bottom: 6px; }
.m-answers { display: flex; gap: 6px; margin: 6px 0; }
.m-answers span { flex: 1; text-align: center; padding: 9px 0; border-radius: 10px; border: 1px solid var(--border); background: #fff; font-weight: 800; }
.m-answers .y { background: var(--teal); color: #fff; border-color: var(--teal); }
.m-join { margin-top: auto; border: 2px solid var(--teal); border-radius: 14px; padding: 12px; background: #fff; }
.m-join b { color: var(--teal-dark); font-size: 14px; }

/* Small screens */
@media (max-width: 900px) {
  .links, .actions { display: none; }
  .menu { display: block; }
  .grid2, .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .text { order: 0; }
  .feature .phone, .hero-phone .phone { justify-self: center; margin: 0 auto; }
  .cards6, .points { grid-template-columns: 1fr 1fr; }
  .feature-photo { height: 180px; }
  .steps { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 52px 0; }
  .hero { padding-top: 36px; }
  .cards6, .points, .steps, .prices { grid-template-columns: 1fr; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row img { height: 120px; }
  .photo-row img:nth-child(3) { display: none; }
  .feature-photo { display: none; }
  .aud-photo { height: 110px; }
  .privacy { padding: 28px 22px; }
  .phone { width: 270px; }
  .compare th, .compare td { padding: 10px 12px; font-size: 0.92rem; }
  footer .cols { grid-template-columns: 1fr; }
}
