/* Hava website — inspired by the calm of Things and the boldness of Flighty. */
:root {
  --bg: #fffdfb;
  --cream: #fbf5f2;
  --ink: #241820;
  --ink-2: #4d3c46;
  --muted: #8a7781;
  --line: rgba(36, 24, 32, 0.08);
  --rose: #d9677b;
  --rose-ink: #b94e63;
  --blush: #fbe3e8;
  --plum: #6e4a72;
  --night: #1a1218;
  --sage: #6d9f7b;
  --gold: #d99a45;
  --lavender: #9c7dbd;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --serif: "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --radius: 32px;
  --shadow-lg: 0 50px 100px -30px rgba(70, 30, 60, 0.35), 0 30px 60px -30px rgba(70, 30, 60, 0.25);
  --shadow-sm: 0 10px 30px -12px rgba(70, 30, 60, 0.25);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* stops sideways scroll without breaking page scroll or the sticky nav */
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 40px); margin: 0 auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 251, 0.78);
  backdrop-filter: saturate(1.6) blur(20px);
  -webkit-backdrop-filter: saturate(1.6) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px var(--display); letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.lang:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; text-decoration: none; font-weight: 600; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; padding: 10px 18px; font-size: 15px; }
.btn-store {
  background: var(--ink); color: #fff; padding: 14px 26px 14px 22px; font-size: 17px;
  box-shadow: 0 16px 34px -14px rgba(36, 24, 32, 0.6);
}
.btn-store svg { width: 24px; height: 24px; }
.btn-store span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-store small { font-size: 12px; font-weight: 500; opacity: .75; }
.btn-ghost { color: var(--ink); padding: 14px 22px; font-size: 17px; }
.btn-ghost::after { content: "→"; transition: transform .2s; }
.btn-ghost:hover::after { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 0; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(252, 217, 228, 0.9), transparent 70%),
    radial-gradient(40% 40% at 85% 30%, rgba(255, 224, 168, 0.45), transparent 70%),
    radial-gradient(40% 40% at 12% 40%, rgba(214, 196, 240, 0.45), transparent 70%);
}
.hero-art {
  position: absolute; left: 0; right: 0; bottom: 0; height: 52%;
  background: url(assets/art/spring-wide.jpg) center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%);
  mask-image: linear-gradient(to bottom, transparent, #000 45%);
  opacity: .9;
}
.hero-icon { width: 104px; height: 104px; margin: 0 auto 26px; border-radius: 24px; box-shadow: var(--shadow-sm); }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }
h1 {
  font: 800 clamp(48px, 8vw, 96px)/0.98 var(--display);
  letter-spacing: -0.045em; margin: 0 auto 26px; max-width: 900px;
}
h1 em { font-style: normal; background: linear-gradient(120deg, #e57d92, var(--rose) 40%, var(--plum)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-2); max-width: 640px; margin: 0 auto 34px; line-height: 1.5; }
.cta-row { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }

.stage { position: relative; height: 760px; margin-top: 70px; }
.phone {
  position: relative; width: 330px; margin: 0 auto; border-radius: 56px; padding: 12px;
  background: linear-gradient(145deg, #2c2128, #0f0a0d); box-shadow: var(--shadow-lg);
}
.phone img { border-radius: 45px; width: 100%; }
.stage .phone { position: absolute; left: 50%; top: 0; transform: translateX(-50%); }
.float {
  position: absolute; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 14px 18px 14px 14px; border-radius: 22px; min-width: 270px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 50px -18px rgba(70, 30, 60, 0.35); border: 1px solid rgba(255,255,255,.9);
  animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-size: 15px; letter-spacing: -0.01em; }
.float small { display: block; color: var(--muted); font-size: 13px; }
.float .ico { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; color: #fff; }
.float .ico svg { width: 22px; height: 22px; }
.f1 { left: calc(50% - 520px); top: 90px; }
.f2 { right: calc(50% - 530px); top: 170px; animation-delay: -2s; }
.f3 { left: calc(50% - 470px); top: 400px; animation-delay: -4s; }
.f4 { right: calc(50% - 480px); top: 470px; animation-delay: -1s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

/* ---------- Strip ---------- */
.strip { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 2; }
.strip .wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; }
.strip span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); font-size: 16px; }
.strip svg { width: 20px; height: 20px; color: var(--rose); }

/* ---------- Section basics ---------- */
section { padding: 140px 0; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-ink); margin-bottom: 16px; }
h2 { font: 800 clamp(38px, 5.4vw, 64px)/1.02 var(--display); letter-spacing: -0.04em; margin: 0 0 22px; }
.section-head { max-width: 760px; margin: 0 auto 70px; text-align: center; }
.section-head p { font-size: 20px; color: var(--ink-2); margin: 0; }

/* ---------- Seasons ---------- */
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.season { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.season:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.season img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.season .body { padding: 24px 24px 28px; }
.season small { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.season h3 { font: 700 23px/1.2 var(--serif); margin: 8px 0 8px; }
.season p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.s-winter small { color: var(--rose); } .s-spring small { color: var(--sage); }
.s-summer small { color: var(--gold); } .s-autumn small { color: var(--lavender); }
.season .phase { display: block; margin-top: 14px; font-size: 13px; color: var(--ink-2); font-weight: 600; }

/* ---------- Dark verse section ---------- */
.dark { background: var(--night); color: #f6eef2; position: relative; overflow: hidden; }
.dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 80% 40%, rgba(217, 103, 123, 0.35), transparent 70%),
              radial-gradient(40% 50% at 10% 90%, rgba(110, 74, 114, 0.5), transparent 70%);
}
.dark .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.dark .eyebrow { color: #f3a6b3; }
.dark h2 { color: #fff; }
.dark p { color: rgba(246, 238, 242, .72); font-size: 20px; }
.quote { font: 500 clamp(26px, 3vw, 36px)/1.35 var(--serif); color: #fff; margin: 40px 0 12px; padding-left: 26px; border-left: 3px solid var(--rose); }
.quote-ref { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f3a6b3; padding-left: 29px; }
.dark .phone { width: 340px; background: linear-gradient(145deg, #3a2c35, #120c10); }

/* ---------- Feature rows ---------- */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.row + .row { margin-top: 150px; }
.row.flip .media { order: 2; }
.row .media { display: flex; justify-content: center; position: relative; }
.row .media::before {
  content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%, -50%); background: var(--glow, rgba(252, 217, 228, .8)); filter: blur(60px); z-index: -1;
}
.row h3 { font: 800 clamp(34px, 4vw, 50px)/1.05 var(--display); letter-spacing: -0.035em; margin: 0 0 20px; }
.row p { font-size: 20px; color: var(--ink-2); margin: 0 0 24px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; font-size: 17px; color: var(--ink-2); }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b94e63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ---------- Bento ---------- */
.bento-section { background: var(--cream); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  background: #fff; border-radius: var(--radius); padding: 34px; border: 1px solid var(--line);
  position: relative; overflow: hidden; min-height: 260px; display: flex; flex-direction: column;
}
.tile h3 { font: 700 26px/1.15 var(--display); letter-spacing: -0.025em; margin: 18px 0 10px; }
.tile p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.tile .ico svg { width: 24px; height: 24px; }
.t-wide { grid-column: span 4; }
.t-third { grid-column: span 2; }
.t-half { grid-column: span 3; }
.t-widgets { padding-bottom: 0; background: linear-gradient(160deg, #fdeef2, #f3e9fa); }
.t-widgets .shot { margin: 28px auto 0; width: 82%; border-radius: 28px 28px 0 0; overflow: hidden; box-shadow: var(--shadow-sm); height: 330px; }
.t-widgets .shot img { width: 100%; margin-top: -2%; }
.t-dark { background: var(--night); color: #fff; }
.t-dark p { color: rgba(255,255,255,.7); }
.big-number { font: 800 64px/1 var(--display); letter-spacing: -0.04em; margin-top: auto; }
.lang-pills { display: flex; gap: 10px; margin-top: auto; padding-top: 22px; }
.lang-pills span { padding: 8px 14px; border-radius: 999px; background: var(--cream); font-weight: 600; font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.plan { background: #fff; border-radius: var(--radius); padding: 36px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.featured { background: var(--night); color: #fff; border: none; position: relative; box-shadow: var(--shadow-lg); }
.plan .tag { position: absolute; top: 22px; right: 22px; background: var(--rose); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; letter-spacing: .02em; }
.plan h3 { font: 700 20px var(--display); margin: 0; }
.plan .price { font: 800 54px/1 var(--display); letter-spacing: -0.04em; margin: 22px 0 6px; }
.plan .price small { font-size: 18px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.plan.featured .price small, .plan.featured .note { color: rgba(255,255,255,.65); }
.plan .note { color: var(--muted); font-size: 15px; margin: 0 0 22px; min-height: 24px; }
.plan .ticks li { font-size: 16px; }
.plan.featured .ticks li { color: rgba(255,255,255,.85); }
.plan.featured .ticks li::before { background-color: rgba(217,103,123,.25); }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* ---------- Privacy ---------- */
.privacy { padding: 0 0 140px; }
.privacy .card {
  border-radius: 40px; padding: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  background: linear-gradient(135deg, #fdeef2, #f6effb);
}
.privacy .card h2 { font-size: clamp(34px, 4vw, 52px); }
.privacy .card p { font-size: 19px; color: var(--ink-2); }
.privacy .card a { color: var(--rose-ink); font-weight: 600; }
.promises { display: grid; gap: 14px; }
.promise { display: flex; gap: 16px; align-items: center; background: #fff; padding: 18px 20px; border-radius: 20px; box-shadow: 0 10px 30px -20px rgba(70,30,60,.4); }
.promise .ico { width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--blush); color: var(--rose-ink); }
.promise .ico svg { width: 22px; height: 22px; }
.promise b { display: block; font-size: 16px; }
.promise small { color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 4px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; font: 600 20px/1.35 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 30px; line-height: .8; color: var(--rose); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 14px 0 0; font-size: 17px; }

/* ---------- Final CTA ---------- */
.final { padding: 0 0 120px; }
.final .card {
  border-radius: 44px; padding: 100px 40px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: var(--night);
}
.final .card::before {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background: url(assets/art/winter-wide.jpg) center / cover no-repeat;
}
.final .card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,18,24,.35), rgba(26,18,24,.85)); }
.final .card > * { position: relative; z-index: 1; }
.final img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 28px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); }
.final h2 { color: #fff; }
.final p { color: rgba(255,255,255,.75); font-size: 20px; margin: 0 auto 34px; max-width: 560px; }
.final .btn-store { background: #fff; color: var(--ink); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 56px 0 64px; font-size: 15px; color: var(--muted); }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
footer h4 { color: var(--ink); font-size: 14px; margin: 0 0 14px; }
footer a { display: block; color: var(--muted); text-decoration: none; margin: 8px 0; }
footer a:hover { color: var(--ink); }
footer .brand { margin-bottom: 14px; }

/* ---------- Document pages (privacy, support) ---------- */
.doc-hero { padding: 90px 0 50px; text-align: center; background: radial-gradient(60% 80% at 50% 0%, rgba(252,217,228,.8), transparent 70%); }
.doc-hero h1 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 14px; }
.doc-hero p { color: var(--muted); margin: 0; }
.doc { padding: 20px 0 120px; }
.doc h2 { font: 700 26px/1.25 var(--display); letter-spacing: -0.02em; margin: 52px 0 12px; }
.doc p { color: var(--ink-2); font-size: 18px; }
.doc a { color: var(--rose-ink); }
.doc .card { background: var(--cream); border-radius: 24px; padding: 28px 32px; margin: 18px 0; }
.doc .card h2 { margin-top: 0; font-size: 21px; }
.doc .card p { margin-bottom: 0; }
.doc .btn-store { margin: 10px 0 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .f1, .f3 { left: 20px; } .f2, .f4 { right: 20px; }
  .seasons { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .nav nav { display: none; }
  .nav-actions { margin-left: auto; }
  section { padding: 96px 0; }
  .hero { padding-top: 56px; }
  .stage { height: 620px; margin-top: 50px; }
  .phone { width: 270px; border-radius: 46px; padding: 10px; }
  .phone img { border-radius: 37px; }
  .float { min-width: 0; padding: 10px 14px 10px 10px; border-radius: 18px; }
  .float .ico { width: 34px; height: 34px; border-radius: 11px; }
  .float b { font-size: 13px; } .float small { font-size: 12px; }
  .f1 { left: 4px; top: 60px; } .f2 { right: 4px; top: 250px; } .f3, .f4 { display: none; }
  .dark .wrap, .row, .privacy .card { grid-template-columns: 1fr; gap: 50px; }
  .row.flip .media { order: 0; }
  .row + .row { margin-top: 110px; }
  .bento { grid-template-columns: 1fr; }
  .t-wide, .t-third, .t-half { grid-column: auto; }
  .pricing { grid-template-columns: 1fr; }
  .privacy .card { padding: 40px 28px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .seasons { grid-template-columns: 1fr; }
  .lang { display: none; }
  .final .card { padding: 70px 24px; }
}

/* Polish */
footer a.brand { display: flex; color: var(--ink); margin: 0 0 14px; }
.sync-pill {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px; background: #eef4fd; color: #3d6fb8; font-weight: 600; font-size: 14px;
}
.sync-pill::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #5b8fd9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.tile .sync-pill { margin-top: auto; }
.tile p + .sync-pill { margin-top: 24px; }
@media (max-width: 520px) {
  .hero-icon { width: 80px; height: 80px; border-radius: 19px; margin-bottom: 20px; }
  .chips { gap: 6px; margin-bottom: 22px; }
  .chip { font-size: 12px; padding: 5px 10px; gap: 6px; }
  .chip i { width: 6px; height: 6px; }
  .btn-dark { padding: 9px 14px; font-size: 14px; }
}
