@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

.site-header{height:124px;border-bottom:0}
.brand{display:flex;align-items:center;width:162px;height:auto;font-size:0}
.brand img{display:block;width:162px;height:auto}
.brand::after,.brand::before{content:none}
.nav-links{gap:43px}
.nav-links a{font-size:12px;font-weight:500;letter-spacing:.13em;text-transform:uppercase;color:#777}
.nav-links .button{min-width:165px;min-height:46px;margin-left:35px;background:#191b20;border-color:#191b20;border-radius:0;color:#fff;font-weight:700}
.hero{min-height:620px;padding:67px 0 55px;background:linear-gradient(rgba(20,15,13,.3),rgba(20,15,13,.3)),url("/assets/sauna-hero-v2.png") center 54%/cover no-repeat;color:#fff}
.hero-grid{width:min(900px,88vw);max-width:none}
.hero-grid>div{display:flex;flex-direction:column;align-items:center}
.hero .eyebrow,.hero .devices{display:none}
.hero h1{order:1;max-width:850px;margin:0 auto 23px;font-size:45px;font-weight:300;line-height:1.25;letter-spacing:.005em}
.hero .lead{order:3;max-width:830px;margin:67px auto 0;font-size:22px;line-height:1.35}
.hero-actions{order:2;width:100%;margin-top:0;display:flex;flex-direction:column;gap:18px}
.hero-actions .button{width:100%;min-height:60px;background:#fff;border:0;border-radius:0;color:#252936;text-transform:uppercase;letter-spacing:.11em;font-size:18px;font-weight:400}
.phone-link{font-size:20px;line-height:1.4}.phone-link strong{display:block;font-size:21px;font-weight:400;text-decoration:underline}
@media(max-width:900px){.site-header{height:88px}.brand,.brand img{width:125px}.nav-links{top:88px;gap:24px}.nav-links .button{margin-left:0}.hero{min-height:570px;padding:60px 0 45px}.hero h1{font-size:37px}.hero .lead{margin-top:48px;font-size:19px}}
@media(max-width:560px){.hero{min-height:610px;padding-top:48px}.hero h1{font-size:31px}.hero-actions .button{font-size:14px}.phone-link{font-size:17px}.hero .lead{margin-top:45px;font-size:17px}}

/* Original product screenshots: separate, clean images on white */
.hero+.section{padding:95px 0 55px;background:#fff}
.hero+.section>.container{width:min(900px,88vw)}
.hero+.section .section-head{margin-bottom:58px}
.hero+.section .section-head h2{max-width:610px;font-size:39px;line-height:1.2}
.hero+.section .section-head .intro{max-width:660px;font-size:14px}
.hero+.section .card-grid{gap:14px;border:0}
.hero+.section .card{min-height:290px;padding:28px;background:#fff;border:0;border-radius:7px;justify-content:flex-start}
.hero+.section .card:last-child{border:0}
.hero+.section .card .num{margin:0 0 30px;font-size:11px}
.hero+.section .card h3{font-size:22px;font-weight:400;line-height:1.25}
.hero+.section .card p{font-size:13px;line-height:1.55}
.product-visual{min-height:0;margin:85px auto 25px;display:grid;grid-template-columns:1fr 1fr;align-items:center;justify-items:center;gap:100px;width:min(900px,100%)}
.product-visual .laptop,.product-visual .phone{position:static;width:auto;max-width:100%;filter:none}
.product-visual .laptop{width:350px}
.product-visual .phone{width:365px}

/* Original audience section */
.section.deep{padding:105px 0 90px;background:#fff;color:var(--ink)}
.section.deep .container{width:min(900px,88vw)}
.section.deep .section-head{max-width:none;margin-bottom:55px;display:grid;grid-template-columns:1.25fr .75fr;align-items:end;gap:90px}
.section.deep .section-head .eyebrow{grid-column:1/-1;margin-bottom:-52px;color:#263f57;font-weight:900}
.section.deep .section-head h2{margin:0;font-size:38px;line-height:1.2}
.section.deep .section-head p{margin:0;font-size:14px;line-height:1.55}
.section.deep .audiences{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;border:0}
.section.deep .audience{min-height:240px;padding:30px 27px;border:0;border-radius:7px;background:#e7f0f7}
.section.deep .audience:nth-child(2){background:#dbeaf5}
.section.deep .audience:nth-child(3){background:#cbdff0}
.section.deep .audience:last-child{border:0}
.section.deep .audience span{display:block;width:auto;height:auto;margin:0 0 25px;background:none;border-radius:0;color:#172e44;font-size:11px;font-weight:900;text-transform:uppercase}
.section.deep .audience h3{margin-bottom:17px;font-size:24px;font-weight:400;line-height:1.25}
.section.deep .audience p{margin:0;font-size:13px;line-height:1.6}
@media(max-width:900px){.product-visual{gap:35px}.product-visual .laptop{width:320px}.product-visual .phone{width:320px}.section.deep .section-head{gap:45px}}
@media(max-width:650px){.hero+.section .card-grid{grid-template-columns:1fr}.hero+.section .card{min-height:230px;border:0}.hero+.section .card:last-child{border:0}.product-visual{margin-top:55px;grid-template-columns:1fr;gap:35px}.product-visual .laptop,.product-visual .phone{width:min(390px,90%)}.section.deep .section-head{display:block}.section.deep .section-head .eyebrow{margin-bottom:18px}.section.deep .section-head h2{margin-bottom:24px}.section.deep .audiences{grid-template-columns:1fr}.section.deep .audience,.section.deep .audience:last-child{border:0}}

/* Original testimonial carousel */
main>.section.soft:last-of-type{padding:65px 0 15px;background:#fff}
main>.section.soft:last-of-type>.container{width:min(900px,88vw)}
main>.section.soft:last-of-type .section-head{margin:0 auto 12px;text-align:center}
main>.section.soft:last-of-type .section-head h2{font-size:29px;font-weight:400;letter-spacing:0}
.refs{position:relative;display:block;width:400px;max-width:100%;margin:0 auto;aspect-ratio:1/1}
.refs img{display:none;width:100%;height:100%;object-fit:cover;border-radius:0}
.refs img.active{display:block}
.carousel-arrow{position:absolute;z-index:2;top:50%;width:38px;height:50px;padding:0;transform:translateY(-50%);border:0;background:transparent;color:#fff;font:300 48px/1 Arial,sans-serif;cursor:pointer}
.carousel-arrow.previous{left:7px}.carousel-arrow.next{right:7px}
.carousel-dots{position:absolute;left:0;right:0;bottom:4px;display:flex;justify-content:center;gap:5px}
.carousel-dots button{width:23px;height:23px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.75);color:#777;font-size:12px;cursor:pointer}
.carousel-dots button.active{background:#fff;color:#263f57}

/* Original centered contact card */
.cta{padding:16px 0 72px;background:#fff}
.cta .container{width:min(630px,88vw);min-height:295px;padding:55px 70px;display:flex;flex-direction:column;justify-content:center;gap:28px;background:#f5f5f5;text-align:center}
.cta .container::before{content:"Ota yhteyttä";font-size:20px;font-weight:400}
.cta h2{max-width:270px;margin:0;font-size:16px;font-weight:300;line-height:1.45;color:#999}
.cta .button{width:100%;min-height:50px;border-radius:0;background:#191b20;border-color:#191b20;text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:500}
@media(max-width:650px){main>.section.soft:last-of-type{padding-top:55px}.refs{width:min(400px,100%)}.cta .container{padding:45px 28px}.cta h2{font-size:16px}}

/* Original full-width FAQ accordion */
.faq{width:min(900px,88vw);padding-top:55px;padding-bottom:55px;display:block}
.faq>div:first-child{text-align:center}
.faq>div:first-child .eyebrow{display:none}
.faq>div:first-child h2{margin-bottom:30px;font-size:29px;font-weight:400;letter-spacing:0}
.faq-list{border-top:0;counter-reset:faq}
.faq-list details{margin:0 0 14px;padding:0;border:0;border-radius:12px;background:#f6f6fc;counter-increment:faq;overflow:hidden}
.faq-list summary{min-height:44px;padding:9px 50px 9px 12px;font-size:17px;font-weight:400;line-height:1.5}
.faq-list summary::before{content:counter(faq) ". ";}
.faq-list summary::after{content:"+";top:50%;right:10px;width:23px;height:23px;display:grid;place-items:center;transform:translateY(-50%);border:2px solid #1d252b;border-radius:50%;color:#1d252b;font:20px/1 Arial,sans-serif}
.faq-list details[open] summary::after{content:"−"}
.faq-list details:not([open])>p{display:none!important}
.faq-list details[open]>p{display:block}
.faq-list details p{margin:0;padding:4px 50px 17px 31px;font-family:Montserrat,Arial,sans-serif;font-size:14px;line-height:1.55}
@media(max-width:650px){.faq{padding-top:35px;padding-bottom:35px}.faq-list details{margin-bottom:10px}.faq-list summary{font-size:15px}.faq-list details p{padding-left:20px}}

/* Original pricing page */
.pricing-page{background:#f8fbfd}
.pricing-banner{height:235px;display:grid;place-items:center;background:linear-gradient(rgba(31,28,27,.28),rgba(31,28,27,.38)),url("/assets/pricing-city-v2.png") center 54%/cover no-repeat;color:#fff}
.pricing-banner h1{margin:0;font-size:43px;font-weight:300;letter-spacing:0}
.pricing-content{padding:0 0 42px;background:linear-gradient(135deg,#fff 20%,#f4f9fc 100%)}
.pricing-wrap{width:min(790px,88vw);margin:0 auto;padding-top:0}
.pricing-intro{padding:0 0 22px}
.pricing-intro .eyebrow{margin:0 0 11px;font-size:10px}
.pricing-intro h2{margin:0 0 12px;font-size:39px;font-weight:400;line-height:1.15}
.pricing-intro p{max-width:650px;margin:0;font-size:14px;line-height:1.55}
.pricing-table{overflow-x:auto;border-radius:5px;box-shadow:0 12px 30px rgba(36,59,80,.11)}
.pricing-table table{width:100%;min-width:680px;border-collapse:collapse;background:#fff;font-size:14px}
.pricing-table th{height:56px;padding:15px 20px;background:#294253;color:#fff;text-align:left;text-transform:uppercase;font-size:10px;letter-spacing:.02em}
.pricing-table td{height:72px;padding:15px 20px;border-bottom:1px solid #dce5e9;vertical-align:middle}
.pricing-table tr:nth-child(even) td{background:#f4f8fa}
.pricing-table td:first-child{width:34%;font-weight:700}
.pricing-table td:nth-child(2){width:14%;font-weight:600}
.pricing-table td:nth-child(3){width:52%}
.pricing-table small{display:block;margin-top:5px;color:#6f7c84;font-size:12px;line-height:1.45}
.pricing-notes{padding-top:10px;font-size:14px;line-height:1.5}
.pricing-notes p{margin:0 0 24px}
.pricing-page .site-footer{padding:65px 0 28px;background:#f4f4f4;color:#233744;text-align:center}
.pricing-page .footer-grid{display:block}.pricing-page .footer-links{justify-content:center;margin-top:20px}.pricing-page .copyright{justify-content:center;border-color:#ddd}
@media(max-width:650px){.pricing-banner{height:180px}.pricing-banner h1{font-size:36px}.pricing-intro h2{font-size:31px}.pricing-wrap{width:min(92vw,790px)}.pricing-content{padding-bottom:25px}}

/* Compact vertical rhythm */
.section{padding-top:64px;padding-bottom:64px}
.hero+.section{padding-top:62px;padding-bottom:22px}
.hero+.section .section-head{margin-bottom:35px}
.product-visual{margin-top:38px;margin-bottom:0;gap:70px}
.section.deep{padding-top:58px;padding-bottom:58px}
.section.deep .section-head{margin-bottom:34px}
.section.soft{padding-top:64px;padding-bottom:64px}
.faq{padding-top:38px;padding-bottom:38px}
main>.section.soft:last-of-type{padding-top:42px;padding-bottom:8px}
main>.section.soft:last-of-type .section-head{margin-bottom:8px}
.cta{padding-top:8px;padding-bottom:48px}
.site-footer{padding-top:45px}
@media(max-width:650px){.section,.section.soft{padding-top:48px;padding-bottom:48px}.hero+.section{padding-top:48px;padding-bottom:16px}.product-visual{margin-top:32px;margin-bottom:0;gap:22px}.section.deep{padding-top:46px;padding-bottom:46px}.section.deep .section-head{margin-bottom:28px}.faq{padding-top:30px;padding-bottom:30px}main>.section.soft:last-of-type{padding-top:36px}.cta{padding-bottom:38px}}

/* Contact page image banner */
.contact-page .page-hero{height:235px;padding:0;display:grid;place-items:center;background:linear-gradient(rgba(31,28,27,.3),rgba(31,28,27,.4)),url("/assets/pricing-city-v2.png") center 54%/cover no-repeat;color:#fff;text-align:center}
.contact-page .page-hero .container{width:min(900px,88vw)}
.contact-page .page-hero .eyebrow{display:none}
.contact-page .page-hero h1{margin:0;font-size:43px;font-weight:300;letter-spacing:0}
@media(max-width:650px){.contact-page .page-hero{height:180px}.contact-page .page-hero h1{font-size:36px}}

/* Bastly Lite design system shared by all outer pages */
:root{
  --ink:#243b50;
  --deep:#315f86;
  --blue:#6597c0;
  --pale:#dceaf5;
  --cream:#f3f7fa;
  --white:#fffef9;
  --line:rgba(36,59,80,.18);
  --accent:#a8c9e2;
}

body{color:var(--ink);background:var(--white);font-family:Montserrat,Arial,sans-serif;font-size:16px;line-height:1.55}
h1,h2,h3,.page-hero h1,.section h2{font-family:Montserrat,Arial,sans-serif;font-weight:500;line-height:1.08;letter-spacing:-.035em}
.eyebrow{color:var(--blue);font-family:Montserrat,Arial,sans-serif;font-size:12px;font-weight:800;letter-spacing:.13em}
.button{min-height:52px;padding:13px 21px;border:1px solid var(--ink);border-radius:4px;background:var(--ink);color:#fff;font-family:Montserrat,Arial,sans-serif;font-weight:800}
.button:hover{background:var(--deep)}
.site-header{background:var(--white);border-bottom:1px solid var(--line)}
.nav-links a{color:var(--ink);font-family:Montserrat,Arial,sans-serif;font-weight:700}
.nav-links .button{background:var(--ink);border-color:var(--ink);border-radius:4px;color:#fff;font-weight:800}
.nav-links .button:hover{background:var(--deep)}
.page-hero{background:var(--pale)}
.section.soft{background:var(--cream)}
.section.soft .steps{gap:14px}
.section.soft .step{min-height:240px;padding:28px;border:0;border-radius:7px;background:#e7f0f7}
.section.soft .step:nth-child(2){background:#dbeaf5}
.section.soft .step:nth-child(3){background:#cbdff0}
.section.deep{background:var(--white);color:var(--ink)}
.card,.audience,.step,.pricing-table table,.contact-form input,.contact-form textarea{border-color:var(--line)}
.hero+.section .card:nth-child(1){background:#e7f0f7}
.hero+.section .card:nth-child(2){background:#dbeaf5}
.hero+.section .card:nth-child(3){background:#cbdff0}
.hero+.section .card:nth-child(4){background:#b9d4e8}
.faq-list details{background:var(--cream)}
.faq-list summary::after{border-color:var(--blue);color:var(--blue)}
.cta .container{background:var(--cream)}
.cta .button{background:var(--ink);border-color:var(--ink)}
.site-footer{background:var(--ink);color:#fff}
.pricing-table th{background:var(--ink)}
.pricing-table tr:nth-child(even) td{background:var(--cream)}
.pricing-page .site-footer{background:var(--ink);color:#fff}

@media(max-width:650px){
  body{font-size:15px}
  .hero h1{font-size:clamp(34px,10vw,47px)}
  .section h2,.page-hero h1{font-size:clamp(32px,9vw,44px)}
}

/* Shared 900 px content width on every page */
main>.section>.container,
main>.content>.container,
.page-hero>.container,
.pricing-wrap,
.legacy-mount{
  width:min(900px,88vw);
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
}

@media(max-width:650px){
  main>.section>.container,
  main>.content>.container,
  .page-hero>.container,
  .pricing-wrap,
  .legacy-mount{width:min(92vw,900px)}
}

/* Inline legacy pages: one document, one scrollbar */
[data-partial="/partials/header.html"]{display:block;min-height:124px}
[data-partial="/partials/footer.html"]{display:block;min-height:180px}
.partial-error{margin:0;padding:30px;text-align:center}
.legacy-mount{width:min(900px,88vw);max-width:900px;margin-left:auto;margin-right:auto;min-height:320px;overflow:visible}
.legacy-mount>.page,.legacy-mount>.bl-page{overflow:visible}
.legacy-error{padding:60px 6vw;text-align:center}

/* Mobile pricing table */
@media(max-width:650px){
  [data-partial="/partials/header.html"]{min-height:88px}
  .pricing-table{overflow:hidden;border-radius:5px;box-shadow:0 7px 20px rgba(36,59,80,.1)}
  .pricing-table table{display:table;width:100%;min-width:0;table-layout:fixed;font-size:8.5px}
  .pricing-table thead{display:table-header-group}
  .pricing-table tbody{display:table-row-group}
  .pricing-table tr{display:table-row}
  .pricing-table th,.pricing-table td,.pricing-table td:first-child,.pricing-table td:nth-child(2),.pricing-table td:nth-child(3){display:table-cell;width:auto;height:auto;min-height:0;padding:8px 6px;position:static;border-bottom:1px solid #dce5e9;vertical-align:middle;background:inherit;font-size:8.5px;line-height:1.28;overflow-wrap:anywhere}
  .pricing-table th{height:34px;padding:7px 6px;background:#294253;color:#fff;font-size:7.5px;white-space:nowrap}
  .pricing-table th:first-child,.pricing-table td:first-child{width:25%}
  .pricing-table th:nth-child(2),.pricing-table td:nth-child(2){width:27%}
  .pricing-table th:nth-child(3),.pricing-table td:nth-child(3){width:48%}
  .pricing-table td::before{content:none!important}
  .pricing-table td strong{font-size:8.5px}
  .pricing-table small{margin-top:3px;font-size:7px;line-height:1.25}
}

/* Lite tarvitsee täysleveät osiot; sisältö rajautuu sivun omilla konteilla. */
.legacy-mount[data-source^="/legacy/bastly-lite"]{
  width:100%;
  max-width:none;
  margin-left:0;
  margin-right:0;
}
