/* Landing page: a 1:1 build of "02 - SaaS Subscription" from the Brainwave.io Landing Page UI Kit
   (Figma community, by Seju). Every size below is taken from the 1600px Figma frame: content column
   245-1355 (1110px), buttons 59px / radius 8, pricing cards 350x441 / radius 10. */

@font-face { font-family: "FiraGO"; src: url("/fonts/firago-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("/fonts/firago-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("/fonts/firago-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("/fonts/firago-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #fcfdfe;
  --band: #f4f7fa;
  --ink: #161c2d;
  --body: rgb(22 28 45 / .7);
  --blue: #473bf0;
  --blue-10: rgb(71 59 240 / .1);
  --blue-08: rgb(71 59 240 / .08);
  --navy: #161c2d;
  --green: #68d585;
  --line: #e7e9ed;
  --font: "FiraGO", "Gilroy", "Segoe UI", Sylfaen, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 1110px; max-width: calc(100% - 40px); margin: 0 auto; }

/* buttons: 59px, radius 8 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 30px; height: 59px; padding: 0 22px; border-radius: 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.2px; white-space: nowrap; cursor: pointer; border: 0; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #3a2ee0; }
.btn-soft { background: var(--blue-08); color: var(--blue); }
.btn-soft:hover { background: var(--blue-10); }
.btn-text { background: none; color: var(--ink); padding: 0 20px; }
.btn-text:hover { color: var(--blue); }

/* ---------- hero ---------- */
.hero { text-align: center; padding-top: 51px; }
.hero h1 { font-size: 48px; line-height: 60px; font-weight: 700; letter-spacing: -1.2px; max-width: 640px; margin: 0 auto; }
.hero .sub { font-size: 18px; line-height: 32px; color: var(--body); max-width: 520px; margin: 28px auto 0; }
.hero-cta { display: flex; justify-content: center; gap: 20px; margin-top: 44px; }
.hero-cta .btn-blue { width: 227px; }
.hero-cta .btn-text { width: 170px; }

/* hero product shot: 844x559, radius 10, shadow dy42 blur54 */
.shot { width: 844px; max-width: calc(100% - 40px); margin: 106px auto 0; border-radius: 10px; background: #fff; overflow: hidden; text-align: left; box-shadow: 0 42px 54px rgb(30 23 122 / .24); }
.shot-bar { height: 31px; background: #f1f2f6; display: flex; align-items: center; gap: 6px; padding-left: 11px; border-bottom: 1px solid #e6e8ee; }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; }
.shot-bar i:nth-child(1) { background: #fe5f57; } .shot-bar i:nth-child(2) { background: #febc2e; } .shot-bar i:nth-child(3) { background: #28c840; }
.shot-tab { margin-left: 18px; height: 31px; width: 190px; background: #fff; display: flex; align-items: center; padding: 0 12px; font-size: 10px; color: #222; justify-content: space-between; }
.shot-tab b { font-weight: 400; color: #999; }
.shot-body { display: grid; grid-template-columns: 54px 1fr 146px; height: 528px; }
.shot-side { border-right: 1px solid #eef0f4; display: grid; align-content: start; justify-items: center; gap: 26px; padding-top: 18px; }
.shot-side .logo { width: 22px; height: 22px; border-radius: 6px; background: var(--blue); margin-bottom: 34px; }
.shot-side i { width: 14px; height: 14px; border: 1.5px solid #9aa0b4; border-radius: 4px; }
.shot-side i.on { border-color: var(--blue); }
.shot-main { background: #f7f9fc; display: grid; grid-template-rows: 58px 1fr; }
.shot-top { background: #fff; border-bottom: 1px solid #eef0f4; display: flex; align-items: center; padding: 0 0 0 36px; gap: 8px; font-size: 9px; color: #b4b8c6; }
.shot-top .search { width: 10px; height: 10px; border: 1.3px solid #b4b8c6; border-radius: 50%; }
.shot-content { padding: 30px 36px 0; display: grid; gap: 18px; align-content: start; overflow: hidden; }
.shot-title { display: flex; align-items: center; gap: 22px; }
.shot-title strong { font-size: 21px; font-weight: 500; color: #1f2338; }
.shot-title span { font-size: 7.5px; color: var(--blue); border: 1px solid var(--blue); border-radius: 2px; padding: 3px 7px; }
.shot-title em { margin-left: auto; font-style: normal; font-size: 7.5px; color: #555; background: #fff; padding: 5px 9px; border-radius: 3px; }
.shot-stats { display: flex; gap: 17px; }
.shot-stats div { width: 179px; background: #fff; border-radius: 3px; padding: 14px 18px; font-size: 7.5px; color: #333; }
.shot-stats b { display: block; margin-top: 10px; font-size: 12px; color: var(--blue); font-weight: 600; }
.shot-stats b small { font-size: 7px; color: #b4b8c6; font-weight: 400; margin-left: 4px; }
.shot-stats div:nth-child(2) b { color: var(--green); }
.shot-date { font-size: 7.5px; color: #333; }
.shot-date::after { content: ""; display: block; width: 30px; height: 2px; background: var(--blue); margin-top: 6px; }
.shot-cards { display: grid; grid-template-columns: repeat(3, 179px); gap: 17px; }
.shot-card { background: #fff; border-radius: 3px; padding: 16px 18px; display: grid; gap: 12px; font-size: 7px; color: #9aa0b4; }
.shot-card.fade { opacity: .45; }
.shot-who { display: flex; gap: 12px; align-items: center; }
.shot-who i { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.shot-who b { display: block; font-size: 9px; font-weight: 500; color: #1f2338; margin-bottom: 3px; }
.shot-box { border: 1px solid #eef0f4; border-radius: 2px; }
.shot-box > div { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #eef0f4; }
.shot-box > div span { padding: 7px 10px; font-size: 6px; color: #333; }
.shot-box > div span + span { border-left: 1px solid #eef0f4; }
.shot-box > div b { display: block; font-size: 10px; color: var(--blue); font-weight: 500; margin-top: 3px; }
.shot-box > div span + span b { color: var(--green); }
.shot-box p { padding: 8px 10px 0; font-size: 6px; color: #333; }
.shot-box svg { width: 100%; height: 36px; }
.shot-right { border-left: 1px solid #eef0f4; padding: 20px 22px; display: grid; gap: 16px; align-content: start; font-size: 7px; color: #9aa0b4; }
.shot-bell { display: flex; gap: 14px; align-items: center; font-size: 9px; color: #333; }
.shot-bell i { width: 32px; height: 32px; border-radius: 4px; background: var(--blue); position: relative; }
.shot-bell i::after { content: ""; position: absolute; top: -4px; right: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); border: 1.5px solid #fff; }
.shot-bell small { display: block; color: #9aa0b4; font-size: 7px; margin-top: 2px; }
.shot-ev { display: grid; gap: 3px; padding-top: 12px; }
.shot-ev::before { content: ""; width: 30px; height: 2px; background: #e6e8ee; margin-bottom: 6px; }
.shot-ev.blue::before { width: 64px; height: 3px; background: var(--blue); }
.shot-ev.green::before { background: #bdeccb; }
.shot-ev b { font-weight: 400; color: #333; font-size: 7.5px; }
.shot-ev b.done { text-decoration: line-through; }
.shot-ev b.dot::before { content: "● "; color: var(--green); }

/* ---------- three features (icons at 1223) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); padding: 112px 0 92px; }
.feature .ic { height: 46px; display: flex; align-items: center; color: var(--green); }
.feature .ic svg { width: 46px; height: 46px; }
.feature h3 { font-size: 20px; line-height: 30px; font-weight: 600; letter-spacing: -0.4px; margin-top: 44px; }
.feature p { font-size: 16px; line-height: 29px; color: var(--body); max-width: 275px; margin-top: 24px; }

/* ---------- band 1525-2216 ---------- */
.band { background: var(--band); overflow: hidden; }
.band .wrap { height: 691px; display: grid; grid-template-columns: 595px 1fr; align-items: center; }
.band h2 { font-size: 36px; line-height: 48px; font-weight: 700; letter-spacing: -0.9px; max-width: 414px; }
.band p { font-size: 18px; line-height: 32px; color: var(--body); max-width: 414px; margin-top: 32px; }
.band .btn { width: 241px; margin-top: 48px; }
.collage { position: relative; height: 470px; }
.collage .back { position: absolute; left: 1px; top: 1px; width: 266px; height: 453px; background: #fff; border-radius: 6px; opacity: .45; padding: 36px 26px; display: grid; gap: 14px; align-content: start; font-size: 11px; color: #555; }
.collage .back i { display: block; height: 32px; border: 1px solid #e6e8ee; border-radius: 3px; }
.collage .back .chips { display: flex; gap: 10px; }
.collage .back .chips i { width: 26px; height: 22px; border: 0; background: #fde8e8; }
.collage .back .chips i:nth-child(2) { background: #e6edff; } .collage .back .chips i:nth-child(3) { background: #fff3d6; }
.collage .back .cta { height: 40px; background: #a4c4f9; border: 0; margin-top: 18px; }
.collage .side { position: absolute; right: 0; top: 221px; width: 202px; height: 202px; background: #fff; border-radius: 6px; opacity: .65; }
.collage .ghost { position: absolute; right: 19px; top: -18px; width: 164px; height: 164px; background: #fff; border-radius: 6px; opacity: .16; }
.profile { position: absolute; left: 125px; top: 76px; width: 288px; height: 289px; background: #fff; border-radius: 6px; padding: 28px 28px 0; box-shadow: 0 32px 54px rgb(15 14 35 / .19); display: grid; gap: 28px; align-content: start; }
.profile-who { display: flex; gap: 22px; align-items: center; }
.profile-who i { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.profile-who b { display: block; font-size: 15px; font-weight: 500; color: #1f2338; }
.profile-who small { display: block; font-size: 10px; color: #8a8fa3; margin-top: 4px; }
.profile-who em { display: block; font-style: normal; font-size: 12px; color: #555; margin-top: 12px; }
.profile .shot-box > div span { font-size: 10px; padding: 10px 22px; }
.profile .shot-box > div b { font-size: 17px; }
.profile .shot-box p { font-size: 10px; padding: 12px 22px 0; }
.profile .shot-box svg { height: 46px; }

/* ---------- stats 2216-2430 ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: 380px 380px 1fr; padding: 81px 0 75px 43px; }
.stat { display: flex; align-items: center; gap: 30px; }
.stat strong { font-size: 48px; font-weight: 700; letter-spacing: -2px; line-height: 1; white-space: nowrap; }
.stat span { font-size: 16px; line-height: 29px; color: var(--body); max-width: 200px; }

/* ---------- manage (head at 2509) ---------- */
.manage { padding: 79px 0 111px; }
.center-head { text-align: center; max-width: 560px; margin: 0 auto; }
.center-head h2 { font-size: 36px; line-height: 48px; font-weight: 700; letter-spacing: -0.9px; }
.center-head p { font-size: 18px; line-height: 32px; color: var(--body); margin-top: 24px; }
.manage-grid { display: grid; grid-template-columns: 635px 1fr; margin-top: 83px; align-items: start; }
.cal { position: relative; height: 381px; margin-left: 50px; }
.cal .day { position: absolute; left: 0; top: 0; width: 263px; height: 381px; background: #fff; border-radius: 6px; opacity: .86; padding: 24px 20px; display: grid; gap: 14px; align-content: start; font-size: 12px; color: #333; }
.cal .day .bar { width: 34px; height: 4px; background: #e6e8ee; border-radius: 2px; }
.cal .day .task { border: 1px solid #e6e8ee; border-radius: 4px; padding: 12px; display: grid; gap: 10px; font-size: 8px; color: #b4b8c6; height: 112px; align-content: start; }
.cal .day .task b { font-weight: 400; font-size: 12px; color: #333; }
.cal .month { position: absolute; left: 277px; top: 37px; width: 209px; height: 264px; background: #fff; border-radius: 6px; opacity: .5; padding: 22px 14px; font-size: 9px; color: #b4b8c6; display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px 6px; align-content: start; text-align: center; }
.cal .month .m { grid-column: 1 / -1; display: flex; justify-content: space-between; color: #888; font-size: 11px; padding: 0 8px; }
.cal .month .on { background: var(--blue); color: #fff; border-radius: 3px; }
.event { position: absolute; left: 76px; top: 108px; width: 333px; height: 166px; background: var(--blue); border-radius: 4px; color: #fff; padding: 20px 20px; display: grid; align-content: space-between; box-shadow: 0 23px 44px rgb(1 23 48 / .12); }
.event small { font-size: 12px; opacity: .85; }
.event b { display: block; font-size: 17px; font-weight: 400; margin-top: 10px; }
.event .row { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.event .row i { font-style: normal; height: 31px; min-width: 31px; padding: 0 8px; display: grid; place-items: center; border-radius: 3px; background: rgb(255 255 255 / .18); font-size: 11px; }
.event .row i.out { border: 1px solid #fff; background: none; min-width: 53px; }
.event .row span { margin-left: auto; opacity: .9; }
.steps { display: grid; gap: 30px; padding-top: 21px; }
.step { display: grid; grid-template-columns: 43px 1fr; gap: 22px; }
.step i { width: 43px; height: 43px; border-radius: 50%; background: var(--blue-10); color: var(--blue); display: grid; place-items: center; font-style: normal; font-size: 16px; margin-top: 7px; }
.step h3 { font-size: 20px; line-height: 30px; font-weight: 600; letter-spacing: -0.4px; }
.step p { font-size: 16px; line-height: 29px; color: var(--body); margin-top: 10px; max-width: 320px; }

/* ---------- testimonials 3213-3733 ---------- */
.quotes { background: var(--band); }
.quotes .wrap { display: grid; grid-template-columns: repeat(3, 1fr); padding: 112px 0 93px; }
.quote { text-align: center; padding: 0 36px; }
.quote + .quote { border-left: 1px solid var(--line); }
.quote .avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto; object-fit: cover; }
.quote h3 { font-size: 22px; line-height: 32px; font-weight: 600; letter-spacing: -0.4px; margin-top: 52px; }
.quote p { font-size: 18px; line-height: 32px; color: var(--body); margin: 24px auto 0; max-width: 360px; }
.quote b { display: block; font-size: 16px; font-weight: 600; margin-top: 30px; }
.quote small { display: block; font-size: 14px; color: var(--body); margin-top: 4px; }

/* ---------- pricing + faq (navy 3733-5257) ---------- */
.dark { background: var(--navy); color: #fff; padding: 92px 0 62px; }
.dark .center-head h2 { color: #fff; }
.dark .center-head p { color: rgb(255 255 255 / .7); }
.plans { display: grid; grid-template-columns: repeat(3, 350px); justify-content: space-between; margin-top: 64px; }
.plan { height: 441px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-align: center; padding: 34px 18px 15px; display: grid; grid-template-rows: auto auto auto 1fr auto; }
.plan .pill { justify-self: center; height: 29px; padding: 0 19px; border-radius: 14.5px; background: var(--blue-10); color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: 1.6px; display: grid; place-items: center; }
.plan strong { font-size: 48px; font-weight: 700; letter-spacing: -2px; line-height: 1; margin-top: 34px; }
.plan .per { font-size: 16px; color: var(--body); margin-top: 16px; }
.plan p { font-size: 16px; line-height: 29px; max-width: 280px; margin: 44px auto 0; }
.plan .btn { width: 100%; }
.faqs { display: grid; grid-template-columns: 507px 507px; justify-content: space-between; row-gap: 59px; margin-top: 107px; padding-right: 33px; }
.faq { display: grid; grid-template-columns: 29px 1fr; gap: 19px; }
.faq i { width: 29px; height: 29px; border-radius: 50%; background: var(--green); color: #fff; font-style: normal; display: grid; place-items: center; font-size: 15px; margin-top: 2px; opacity: .95; }
.faq h3 { font-size: 20px; line-height: 30px; font-weight: 600; letter-spacing: -0.4px; }
.faq p { font-size: 16px; line-height: 29px; color: rgb(255 255 255 / .65); margin-top: 18px; }
.faq .more { display: inline-flex; align-items: center; gap: 18px; color: var(--green); font-size: 16px; font-weight: 600; margin-top: 34px; }
.faq .more svg { width: 15px; height: 15px; }
.ask { text-align: center; font-size: 16px; margin-top: 98px; }
.ask a { color: var(--green); }
.ask a:hover { text-decoration: underline; }

/* ---------- cta 5257-5560 ---------- */
.cta { border-bottom: 1px solid var(--line); }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; padding: 82px 0 91px; }
.cta h2 { font-size: 30px; line-height: 40px; font-weight: 700; letter-spacing: -0.8px; }
.cta p { font-size: 18px; line-height: 32px; color: var(--body); max-width: 470px; margin-top: 22px; }
.cta-btns { display: flex; gap: 20px; }
.cta-btns .btn-soft { width: 182px; }
.cta-btns .btn-blue { width: 173px; }

/* ---------- footer (columns at 5679) ---------- */
.footer .wrap { display: grid; grid-template-columns: 375px 191px 177px 206px 1fr; padding: 119px 0 150px; }
.footer .brand { font-size: 28px; }
.footer .about { font-size: 14px; line-height: 26px; color: var(--body); max-width: 245px; margin-top: 34px; }
.social { display: flex; gap: 23px; margin-top: 44px; }
.social a { color: var(--ink); }
.social a:nth-child(2) { color: var(--blue); }
.social svg { width: 19px; height: 19px; }
.footer h4 { font-size: 14px; font-weight: 400; color: rgb(22 28 45 / .65); margin-top: 4px; }
.footer ul { display: grid; gap: 14px; margin-top: 38px; font-size: 16px; line-height: 26px; }
.footer ul a:hover { color: var(--blue); }

/* ---------- smaller screens (the Figma frame is desktop only) ---------- */
@media (max-width: 1180px) {
  .band .wrap { grid-template-columns: 1fr 1fr; }
  .collage { transform: scale(.78); transform-origin: left center; }
  .stats .wrap { grid-template-columns: repeat(3, 1fr); padding-left: 0; gap: 20px; }
  .manage-grid { grid-template-columns: 1fr 1fr; }
  .cal { margin-left: 0; transform: scale(.8); transform-origin: left top; }
  .plans { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .faqs { grid-template-columns: 1fr 1fr; gap: 59px 40px; padding: 0; }
  .footer .wrap { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .shot { display: none; }
  .features, .band .wrap, .manage-grid, .quotes .wrap, .faqs { grid-template-columns: 1fr; }
  .features { gap: 48px; padding: 80px 0; }
  .band .wrap { height: auto; padding: 80px 0; gap: 40px; }
  .collage { display: none; }
  .stats .wrap { grid-template-columns: 1fr; gap: 32px; padding: 64px 0; }
  .cal { display: none; }
  .manage-grid { margin-top: 48px; }
  .quote + .quote { border-left: 0; border-top: 1px solid var(--line); padding-top: 56px; margin-top: 56px; }
  .plans { grid-template-columns: 1fr; max-width: 350px; margin: 48px auto 0; }
  .cta .wrap { flex-direction: column; align-items: flex-start; gap: 32px; }
  .footer .wrap { grid-template-columns: 1fr 1fr; gap: 40px; padding: 72px 0; }
  .footer .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 34px; line-height: 44px; }
  .hero-cta, .cta-btns { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta .btn-blue, .hero-cta .btn-text, .cta-btns .btn { width: 100%; }
  .center-head h2, .band h2 { font-size: 28px; line-height: 38px; }
  .stat strong { font-size: 40px; }
  .quote { padding: 0 8px; }
}

/* ---------- hero: real panel screenshot inside a Chrome window ---------- */
.shot.browser { background: #fff; border: 1px solid #d9dbe2; }
.tabs-strip { height: 36px; background: #e8eaef; display: flex; align-items: flex-end; gap: 8px; padding: 0 10px; }
.tabs-strip .lights { display: flex; gap: 7px; align-self: center; margin-right: 8px; }
.tabs-strip .lights i { width: 11px; height: 11px; border-radius: 50%; background: #fe5f57; }
.tabs-strip .lights i:nth-child(2) { background: #febc2e; }
.tabs-strip .lights i:nth-child(3) { background: #28c840; }
.ctab { position: relative; height: 29px; width: 230px; background: #fff; border-radius: 9px 9px 0 0; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 12px; color: #1f1f1f; }
.ctab img { width: 14px; height: 14px; }
.ctab b { margin-left: auto; font-weight: 400; color: #5f6368; font-size: 14px; }
.newtab { align-self: center; color: #5f6368; font-size: 18px; line-height: 1; padding-bottom: 2px; }
.toolbar { height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-bottom: 1px solid #e3e5ea; }
.toolbar svg { width: 16px; height: 16px; color: #5f6368; flex: none; }
.navs { display: flex; gap: 12px; }
.navs svg:nth-child(2) { opacity: .4; }
.omnibox { flex: 1; height: 28px; border-radius: 14px; background: #f1f3f4; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 12.5px; color: #1f1f1f; }
.omnibox svg { width: 13px; height: 13px; }
.omnibox span { flex: 1; }
.omnibox em { font-style: normal; color: #5f6368; }
.avatar-dot { width: 22px; height: 22px; border-radius: 50%; background: #473bf0; color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.shot .screen { display: block; width: 100%; height: auto; }
.ctab .fav { width: 14px; height: 14px; border-radius: 3px; background: #473bf0; color: #fff; font-size: 9px; font-weight: 700; display: grid; place-items: center; }

.shot-box em { font-style: normal; }

/* Dark footer (shared partial; Buffer-style navy band) */
.footer { background: var(--navy); color: rgb(255 255 255 / .72); }
.footer .brand { color: #fff; }
.footer .about { color: rgb(255 255 255 / .6); }
.footer h4 { color: var(--green); font-weight: 600; }
.footer ul a { color: rgb(255 255 255 / .85); }
.footer ul a:hover { color: #fff; }
.social a, .social a:nth-child(2) { color: #fff; }
.social a:hover { color: var(--green); }
