
:root{
  --primary:#13544a;
  --deep:#01332a;
  --light:#5aaea0;
  --soft:#dff0ed;
  --white:#ffffff;
  --black:#000000;

  --bg:#f7fbfa;
  --surface:#ffffff;
  --surface-2:#f3f8f7;
  --line:#d8e8e4;
  --line-strong:#cfe2de;

  --text:#01332a;
  --text-soft:#4a5e5a;
  --text-inverse:#ffffff;

  --shadow-sm:0 4px 10px rgba(1,51,42,.06);
  --shadow-md:0 16px 36px rgba(1,51,42,.08);
  --shadow-lg:0 24px 52px rgba(1,51,42,.14);

  --radius-sm:16px;
  --radius-md:24px;
  --radius-lg:32px;

  --container:1200px;
  --narrow:860px;
  --pad:24px;
  --transition:180ms ease;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
  text-rendering:optimizeLegibility;
}

img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button,input,select,textarea{ font:inherit; }

.container{
  width:min(var(--container), calc(100% - 2 * var(--pad)));
  margin:0 auto;
}
.narrow{ max-width:var(--narrow); }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}

.skip-link{ position:absolute; left:-9999px; top:auto; }
.skip-link:focus{
  left:20px; top:20px; z-index:9999;
  background:#fff; color:#000; padding:10px 14px;
  border:2px solid var(--primary); border-radius:12px;
}

.site-header{
  position:sticky; top:0; z-index:1000;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(1,51,42,.08);
}
.nav-row{
  min-height:84px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
}
.brand-logo{ height:38px; width:auto; }

.site-nav{
  justify-self:end;
  display:flex; align-items:center; gap:8px;
}
.site-nav > a,
.site-nav > .nav-link{
  padding:10px 12px; border-radius:14px; font-weight:600;
  transition:background var(--transition), color var(--transition);
}
.site-nav > a:hover, .site-nav > .nav-link:hover{ background:var(--soft); }
.site-nav > a.is-active, .site-nav > .nav-link.is-active{ background:var(--soft); color:var(--deep); }

.nav-actions{
  display:flex; align-items:center; gap:10px;
  justify-self:end;
}
.language-picker{
  position:relative;
}
.language-btn{
  display:inline-flex; align-items:center; gap:8px;
  min-height:44px; padding:0 14px; border-radius:16px;
  border:1px solid var(--line); background:#fff; color:var(--deep);
  box-shadow:var(--shadow-sm); cursor:pointer; font-weight:600;
}
.language-btn:after{
  content:"▾"; font-size:12px; color:var(--text-soft);
}
.language-menu{
  position:absolute; right:0; top:calc(100% + 8px);
  min-width:170px; padding:8px;
  background:#fff; border:1px solid var(--line);
  border-radius:18px; box-shadow:var(--shadow-lg);
  display:none; z-index:20;
}
.language-menu.is-open{ display:block; }
.language-option{
  width:100%; text-align:left; padding:10px 12px;
  border:none; background:transparent; border-radius:12px;
  cursor:pointer; color:var(--deep);
}
.language-option:hover, .language-option.is-active{ background:var(--soft); }

.nav-toggle{
  display:none; width:48px; height:48px;
  border:1px solid var(--line); border-radius:14px; background:#fff;
  align-items:center; justify-content:center; cursor:pointer;
}
.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content:""; display:block; width:18px; height:2px;
  background:var(--deep); border-radius:2px; position:relative;
}
.nav-toggle-lines::before{ position:absolute; top:-6px; }
.nav-toggle-lines::after{ position:absolute; top:6px; }

.hero{
  padding:96px 0 84px;
}
.hero-premium{
  background:
    radial-gradient(circle at 10% 0%, rgba(90,174,160,.18), transparent 34%),
    radial-gradient(circle at 100% 20%, rgba(19,84,74,.10), transparent 28%),
    linear-gradient(180deg, #f7fbfa 0%, #eef7f5 100%);
}
.hero-premium-grid{
  display:grid;
  grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  gap:40px; align-items:center;
}
.hero-copy-premium{ max-width:560px; }
.eyebrow{
  display:inline-flex; align-items:center; padding:6px 12px;
  border-radius:999px; background:var(--soft); color:var(--primary);
  font-size:12px; font-weight:700; letter-spacing:.04em; margin-bottom:16px;
}
.eyebrow-dark{
  background:rgba(255,255,255,.12); color:#dff0ed;
}
.hero-title, h1{
  margin:0 0 18px;
  font-size:clamp(2.8rem, 5.4vw, 5.2rem);
  line-height:.98; letter-spacing:-.045em; color:var(--deep);
}
.hero-subline, .lead, .section-lead{
  max-width:760px; font-size:1.08rem; color:var(--text-soft);
}
.hero-subline{ max-width:520px; }
.hero-cta-row, .cta-row{
  display:flex; flex-wrap:wrap; gap:12px; margin-top:28px;
}
.cta-row-tight{ margin-top:0; }

.hero-trust{
  margin-top:18px; display:flex; align-items:center; gap:10px;
  color:var(--text-soft); font-size:.96rem; font-weight:500;
}
.trust-dot{
  width:10px; height:10px; border-radius:999px; background:var(--primary);
  box-shadow:0 0 0 6px rgba(19,84,74,.10);
}

.hero-product{ position:relative; }
.mockup-shell{ position:relative; min-height:640px; }
.mockup-browser{
  position:relative; background:rgba(255,255,255,.82);
  border:1px solid rgba(1,51,42,.08); border-radius:28px;
  box-shadow:0 30px 80px rgba(1,51,42,.16);
  overflow:hidden; backdrop-filter:blur(10px);
}
.mockup-browser-bar{
  display:flex; align-items:center; gap:8px; padding:14px 18px;
  background:rgba(255,255,255,.88); border-bottom:1px solid rgba(1,51,42,.08);
}
.mockup-browser-bar span{ width:10px; height:10px; border-radius:999px; background:#d8e8e4; }
.mockup-app{
  display:grid; grid-template-columns:200px 1fr; min-height:560px;
}
.mockup-sidebar{
  padding:20px 16px;
  background:linear-gradient(180deg, #f4faf8 0%, #eef7f5 100%);
  border-right:1px solid rgba(1,51,42,.08);
}
.mockup-logo-chip{
  display:inline-flex; align-items:center; min-height:34px; padding:0 12px;
  border-radius:999px; background:var(--deep); color:#fff;
  font-size:12px; font-weight:700; margin-bottom:18px;
}
.mockup-nav-item{
  padding:10px 12px; border-radius:14px; color:var(--text-soft);
  font-size:14px; font-weight:600; margin-bottom:6px;
}
.mockup-nav-item.is-active{ background:var(--soft); color:var(--deep); }
.mockup-main{
  padding:24px; background:linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}
.mockup-topbar{
  display:flex; align-items:flex-start; justify-content:space-between; gap:16px;
  margin-bottom:18px;
}
.mockup-kicker{ font-size:13px; color:var(--text-soft); font-weight:500; }
.mockup-h{ font-size:1.35rem; line-height:1.15; font-weight:700; color:var(--deep); }
.mockup-h.small{ font-size:1rem; }
.mockup-stats{
  display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; margin-bottom:16px;
}
.mockup-stat{
  background:var(--soft); border-radius:20px; padding:14px;
}
.mockup-stat-value{
  margin-top:4px; font-size:1.3rem; font-weight:700; color:var(--deep);
}
.mockup-course-card, .mockup-table-card{
  border:1px solid var(--line); border-radius:24px; background:#fff; box-shadow:var(--shadow-sm);
}
.mockup-course-card{ padding:18px; margin-bottom:16px; }
.mockup-course-head{
  display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:16px;
}
.mockup-course-title{ font-size:1.05rem; font-weight:700; color:var(--deep); }
.mockup-course-grid{
  display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px;
}
.mockup-table-card{ padding:16px 18px; }
.mockup-table-head{
  display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px;
}
.mockup-link{ color:var(--primary); font-size:14px; font-weight:600; }
.mockup-row{
  display:grid; grid-template-columns:1.2fr .9fr auto; gap:12px; align-items:center;
  padding:12px 0; border-top:1px solid var(--line); font-size:14px; color:var(--deep);
}
.floating-card{
  position:absolute; background:#fff; border:1px solid rgba(1,51,42,.08);
  border-radius:20px; box-shadow:0 20px 40px rgba(1,51,42,.12);
  padding:14px 16px; min-width:150px;
}
.floating-card-a{ right:-14px; top:42px; }
.floating-card-b{ left:-8px; bottom:28px; }
.floating-label{ font-size:12px; color:var(--text-soft); margin-bottom:4px; }
.floating-value{ font-size:1.05rem; font-weight:700; color:var(--deep); }

.section{ padding:88px 0; }
.section-white{ background:var(--white); }
.section-soft{ background:#f7fbfa; }
.section-light{
  background:linear-gradient(180deg, rgba(90,174,160,.16) 0%, rgba(223,240,237,.46) 100%);
}
.section-deep{
  background:var(--deep); color:var(--white);
}
.page-hero{ padding:72px 0 34px; }
.page-hero-soft{ background:linear-gradient(180deg, #f7fbfa 0%, #ffffff 100%); }
.page-hero-light{ background:linear-gradient(180deg, #eef7f5 0%, #ffffff 100%); }

h2{
  margin:0 0 12px; font-size:clamp(2rem, 3vw, 3rem); line-height:1.08;
  letter-spacing:-.02em;
}
h3{ margin:0 0 10px; font-size:1.2rem; line-height:1.2; }
p{ margin:0; }
.large{ font-size:1.14rem; }
.on-dark h2{ color:#fff; }
.on-dark-text{ color:rgba(255,255,255,.8); }

.section-head{ margin-bottom:32px; }

.grid{ display:grid; gap:20px; }
.grid-2{ grid-template-columns:repeat(2, minmax(0,1fr)); }
.grid-3{ grid-template-columns:repeat(3, minmax(0,1fr)); }
.grid-4{ grid-template-columns:repeat(4, minmax(0,1fr)); }

.card{
  background:var(--surface); border:1px solid var(--line);
  border-radius:32px; padding:28px; box-shadow:var(--shadow-md);
}
.card-large{ padding:36px; }
.feature-card{ min-height:100%; }
.card-head{
  display:flex; align-items:flex-start; justify-content:space-between; gap:16px;
}
.card-title-xl{ font-size:1.8rem; line-height:1.15; margin:4px 0 0; }
.subtle-label{ font-size:14px; color:var(--text-soft); font-weight:500; }
.subtle-text{ font-size:14px; color:var(--text-soft); }

.stats-grid{
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px; margin-top:24px;
}
.stat-box{
  background:var(--soft); border-radius:24px; padding:16px;
}
.stat-value{ margin-top:4px; font-weight:600; color:var(--deep); }

.dashboard-footer{
  display:grid; grid-template-columns:1fr auto; gap:16px; align-items:end; margin-top:24px;
}
.progress-block{
  display:flex; align-items:center; gap:14px;
}
.progress-block-inline{ margin-top:8px; }
.progress-title{ font-size:15px; font-weight:600; color:var(--deep); }

.ring{
  --circumference:188.4956;
  position:relative; width:72px; height:72px; flex:0 0 72px;
}
.ring svg{ width:72px; height:72px; transform:rotate(-90deg); }
.ring-bg{ fill:none; stroke:var(--soft); stroke-width:10; }
.ring-fg{
  fill:none; stroke:var(--primary); stroke-width:10; stroke-linecap:round;
  stroke-dasharray:188.4956;
  stroke-dashoffset:calc(188.4956 - (var(--value) / 100) * 188.4956);
}
.ring span{
  position:absolute; inset:0; display:grid; place-items:center;
  font-size:14px; font-weight:600; color:var(--deep);
}
.ring-small{ width:64px; height:64px; flex:0 0 64px; }
.ring-small svg{ width:64px; height:64px; }
.ring-small span{ font-size:12px; }

.list{ margin:14px 0 0; padding-left:18px; }
.list li{ margin:8px 0; }

.tag-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:22px; }

.pill{
  display:inline-flex; align-items:center; justify-content:center;
  padding:6px 12px; border-radius:999px; font-size:12px; font-weight:600;
}
.pill-default{ background:var(--soft); color:var(--deep); }
.pill-success{ background:#e9f7f4; color:var(--primary); }
.pill-muted{ background:#f6f8f8; color:#4b5b58; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:46px; padding:0 16px; border-radius:18px;
  border:1px solid transparent; font-size:14px; font-weight:600;
  box-shadow:var(--shadow-sm);
  transition:transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover{ transform:translateY(-1px); box-shadow:var(--shadow-md); }
.btn-primary{ background:var(--primary); color:var(--white); }
.btn-primary:hover{ background:var(--deep); color:var(--white); }
.btn-secondary{ background:var(--light); color:var(--deep); }
.btn-secondary:hover{ background:#4ca395; }
.btn-ghost{ background:var(--white); color:var(--deep); border-color:var(--soft); }
.btn-ghost:hover{ background:var(--surface-2); }
.btn-deep{ background:var(--deep); color:var(--white); }
.btn-deep:hover{ background:#022720; color:var(--white); }
.btn-white{ background:var(--white); color:var(--deep); }
.btn-white:hover{ background:#f0f7f5; }
.btn-outline-light{
  background:transparent; color:var(--white);
  border-color:rgba(255,255,255,.28); box-shadow:none;
}
.btn-outline-light:hover{ background:rgba(255,255,255,.08); color:var(--white); }
.btn-small{ min-height:38px; padding:0 12px; border-radius:14px; font-size:13px; }

.compare-table{
  border:1px solid rgba(255,255,255,.18); border-radius:24px; overflow:hidden;
  background:rgba(255,255,255,.04);
}
.compare-row{ display:grid; grid-template-columns:1fr 1fr 1fr; }
.compare-row > div{ padding:18px; border-bottom:1px solid rgba(255,255,255,.12); }
.compare-head > div{ font-weight:700; background:rgba(255,255,255,.06); }
.compare-key{ font-weight:700; }

.cta-panel{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:30px; border-radius:32px; border:1px solid var(--line); box-shadow:var(--shadow-md);
}
.cta-panel-accent{ background:linear-gradient(180deg, #ffffff 0%, #f3f8f7 100%); }

/* Screenshots used as device illustrations */
/* Base: never force both width and height on screenshots to avoid distortion.
   Use width:100% and height:auto for inline images. When a fixed device frame
   is required, set the frame size (aspect-ratio) and make the image fill it
   with width:100%; height:100%; object-fit:cover. */
.device-image{
  display:block;
  width:100%;
  height:auto; /* preserve intrinsic aspect ratio */
  border-radius:16px;
  box-shadow:var(--shadow-md);
  border:1px solid rgba(1,51,42,.06);
}

  /* Global image safety: never stretch images; keep natural aspect ratio */
  img{ display:block; max-width:100%; height:auto; }

  /* Common image classes used across pages */
  .device-image, .feature-image, .hero-site-gallery img, .contact-screenshot{
    width:100%; height:auto; display:block; object-fit:contain; object-position:center center;
  }

  /* Default phone frame image: fill naturally; specific frames override to fill by height */
  .phone-frame-img{ display:block; width:100%; height:auto; object-fit:cover; object-position:center top; }

  /* Phone-frame overrides for product and hero parent: fill the frame fully, keep aspect ratio, crop bottom if needed */
  .product-device-stack .phone-frame-img,
  .hero-layer-parent .phone-frame-img,
  .client-phone .phone-frame-img{
    width:100%;
    height:100%;
    object-fit:cover; /* preserves aspect ratio, crops overflow */
    object-position:center top; /* anchor to top so bottom can be cropped */
  }

  @media (max-width:900px){
    /* On small screens keep the frame behavior but avoid excessive cropping */
    .product-device-stack .phone-frame-img,
    .hero-layer-parent .phone-frame-img,
    .client-phone .phone-frame-img{
      width:100%;
      height:100%;
      object-fit:cover;
      object-position:center top;
    }
  }
.device-image-desktop{
  /* allow tall desktop images but keep aspect ratio */
  max-height:640px; /* visual cap, image scales proportionally */
}
.device-image-mobile{
  /* used for standalone mobile screenshots (not inside a phone-frame)
     keep them proportional */
  width:320px;
  max-width:60vw;
  height:auto;
  border-radius:20px;
}

@media (max-width:900px){
  .device-image-desktop{ min-height:280px; max-height:420px; }
  .device-image-mobile{ width:220px; max-width:46vw; height:auto; }
}

/* MOBILE DEBUG: visible outlines at narrow viewports (approx. 390-430px)
   These temporary rules help confirm which elements/containers are active
   in the mobile breakpoint. Remove after verification. */
/* debug outlines removed */

/* MOBILE: full reflow for hero and stacked compare blocks (<=767px) */
@media (max-width:767px){
  /* HERO: remove desktop layering and allow normal document flow */
  .hero-composition{ min-height:0 !important; display:block !important; }
  .hero-product{ margin-top:0 !important; }

  /* Make each hero-layer behave as a block in normal flow */
  .hero-layer{
    position:static !important;
    transform:none !important;
    left:auto !important; right:auto !important; top:auto !important; bottom:auto !important;
    width:100% !important; display:block !important; margin:0 0 18px !important;
  }

  /* Remove any residual transforms on specific layers */
  .hero-layer.hero-layer-groups, .hero-layer.hero-layer-parent, .hero-layer.hero-layer-website{
    transform:none !important;
  }

  /* Labels above their screens, no overlap */
  .hero-layer-label{ display:block !important; position:relative !important; top:0 !important; transform:none !important; margin:0 0 8px !important; }

  /* Images fill available width, keep aspect ratio */
  .hero-layer img.device-image, .hero-layer img.phone-frame-img, .device-image-desktop-wide, .device-image-hero-small{
    width:100% !important; height:auto !important; max-width:100% !important; object-fit:contain !important;
  }

  /* Ensure client-phone wrappers don't add large inner padding on mobile */
  .client-phone, .client-phone-screen, .phone-frame, .device-screen{ padding:6px !important; box-shadow:none !important; border:0 !important; background:transparent !important; }

  /* HERO PARENT: remove any large background/card/frame around the parent mobile screenshot */
  .hero-layer.hero-layer-parent{ text-align:center !important; }
  .hero-layer.hero-layer-parent .client-phone,
  .hero-layer.hero-layer-parent .client-phone-screen,
  .hero-layer.hero-layer-parent .phone-frame{
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    border-radius:0 !important;
    padding:0 !important;
    min-height:0 !important;
  }
  .hero-layer.hero-layer-parent .client-phone-top{ display:none !important; }
  /* Show the screenshot itself plainly, centered, no extra visual wrapper */
  .hero-layer.hero-layer-parent .phone-frame-img{
    display:block !important;
    margin-left:auto !important; margin-right:auto !important;
    width:100% !important; height:auto !important; max-width:420px !important;
    box-shadow:none !important; border-radius:0 !important; border:0 !important;
  }

  /* Comparison table -> stacked blocks */
  .compare-table{ display:block !important; min-width:0 !important; }
  .compare-row{ display:block !important; padding:14px 0 !important; border-bottom:1px solid rgba(1,51,42,.06) !important; }
  .compare-row > div{ display:block !important; width:100% !important; padding:6px 0 !important; }
  .compare-row.compare-head{ display:none !important; }
  .compare-row .compare-key{ font-weight:700 !important; margin-bottom:6px !important; }

  /* Prevent horizontal overflow from any residual transforms */
  .hero-premium-grid, .hero-composition, .hero-product{ overflow:visible !important; }
}

/* Product page: ensure feature-cards size to their content (scope to page-product) */
.page-product .grid.grid-2{ align-items:start; }
.page-product .grid.grid-2 .feature-card{
  min-height:0 !important;
  height:auto !important;
  align-self:start !important;
}

/* Mobile: prefer flat presentation — avoid heavy nested bezels */
@media (max-width:900px){
  /* make phone-frame images use full width and natural aspect ratio on small screens */
  .phone-frame .phone-frame-img,
  .client-phone .phone-frame-img,
  .product-device-stack .phone-frame-img{
    width:100%;
    height:auto;
    object-fit:contain;
    object-position:center top;
    border-radius:12px;
    box-shadow:none;
    border:1px solid rgba(1,51,42,.04);
  }

  /* reduce internal padding of client phone screen so screenshot uses more space */
  .client-phone-screen{ padding:8px; }
}

/* Hero-specific image sizes */
.device-image-hero-small{
  width:380px;
  max-width:40vw;
  height:auto;
  object-position:center top;
}

/* Wide desktop screenshots (dashboard, browser) */
.device-image-desktop-wide{
  width:100%;
  height:auto; /* scale proportionally */
  max-height:640px;
  object-position:center center;
  border-radius:20px;
}

/* Portrait screenshots displayed in small hero slots */
.device-image-portrait-small{
  width:260px;
  max-width:100%;
  height:auto;
  object-position:center top;
  border-radius:18px;
}
.device-image-phone{
  width:200px;
  max-width:28vw;
  height:auto;
  border-radius:18px;
}

@media (max-width:900px){
  .device-image-hero-small{ width:260px; height:auto; max-width:44vw; }
  .device-image-phone{ width:160px; height:auto; max-width:38vw; aspect-ratio: 390 / 844; }

  /* Phone frame wrapper to create a realistic mobile mockup */
  .phone-frame{
    display:inline-block; position:relative; background:#0f1720; border-radius:36px;
    padding:6px; box-shadow:0 18px 40px rgba(1,51,42,.18); border:1px solid rgba(255,255,255,.05);
  }
  .phone-frame-inline{ padding:6px; border-radius:28px; }
  .phone-frame::before{
    /* speaker / notch */
    content:""; position:absolute; left:50%; top:8px; transform:translateX(-50%);
    width:36px; height:6px; background:rgba(255,255,255,.12); border-radius:6px; opacity:.9;
  }
  .phone-frame::after{
    /* home / bottom shadow */
    content:""; position:absolute; left:50%; bottom:8px; transform:translateX(-50%);
    width:42px; height:6px; background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.15)); border-radius:999px; opacity:.7;
  }
  /* Images inside a phone frame should fill the frame without distortion */
  .phone-frame-img{
    display:block;
    width:100%;
    height:auto;
    object-fit:cover; /* crop within the fixed device frame */
    object-position:center top;
    border-radius:16px; box-shadow:0 8px 20px rgba(0,0,0,.18); border:1px solid rgba(255,255,255,.02);
  }

  @media (max-width:900px){
    /* ensure framed images rely on their parent frame for sizing */
    .phone-frame-img{ height:auto; width:100%; }
    .phone-frame{ padding:6px; border-radius:28px; }
    /* On small screens remove the dark bezel so screenshots use full width */
    .phone-frame{ background:transparent; box-shadow:none; border:0; }
    .phone-frame::before, .phone-frame::after{ display:none; }
  }

  /* Ensure portrait screenshots do not get stretched on wide product areas */
  .device-image-portrait-small{ max-width:100%; height:auto; object-fit:contain; }

  /* Feature card visual (Public Pages) */
  .feature-visual{ margin-top:18px; overflow:hidden; border-radius:16px; }
  .feature-visual picture, .feature-visual img{ display:block; width:100%; }
  .feature-image{
    width:100%; height:auto; object-fit:cover; object-position:center top; display:block;
  }

  @media (min-width:1200px){
    .feature-image{ height:300px; }
  }

  /* Contact card screenshot — small, no extra border */
  .contact-screenshot-wrap{ margin:14px 0 18px; }
  .contact-screenshot{ display:block; width:100%; max-width:360px; height:auto; object-fit:contain; border-radius:12px; }

  @media (max-width:900px){
    .contact-screenshot{ max-width:260px; }
  }

  /* Product page: make the inline phone mockup larger and allow bottom crop */
  .product-device-stack .phone-frame-inline{
    padding:6px; border-radius:28px; overflow:hidden; display:block;
  }
  .product-device-stack .phone-frame-img{
    /* fill the device frame by height and keep natural aspect ratio */
    height:100%; width:auto; object-position:center top;
    border-radius:14px; box-shadow:0 20px 40px rgba(1,51,42,.18);
  }
  @media (max-width:900px){
    .product-device-stack .phone-frame-img{ height:100%; width:auto; }
  }

  /* Make mobile mockups wider and crop bottom: set frame size and overflow */
  .product-device-stack .phone-frame{
    /* Use iPhone-like aspect ratio (e.g. 390x844 points ~ 19.5:9). Widened for better presence. */
    width:440px;
    aspect-ratio: 390 / 844; /* width / height -> results in correct iPhone proportion */
    overflow:hidden;
    margin-left: -6px;
  }
  @media (max-width:1200px){
    .product-device-stack .phone-frame{ width:380px; aspect-ratio: 390 / 844; margin-left: -6px; }
  }
  @media (max-width:900px){
    .product-device-stack .phone-frame{ width:340px; aspect-ratio: 390 / 844; margin-left: 0; }
  }

  /* Hero parent phone: wider image with bottom crop for stronger presence */
  .hero-layer-parent .phone-frame{
    /* Slightly wider hero phone for better visual balance */
    width:340px;
    aspect-ratio: 390 / 844;
    overflow:hidden; display:block;
  }
  .hero-layer-parent .phone-frame-img{
    /* fill the frame by height to avoid distortion, allow horizontal crop by width:auto */
    height:100%; width:auto; object-position:center top; border-radius:16px; display:block;
  }
  @media (max-width:1080px){
    .hero-layer-parent .phone-frame{ width:300px; aspect-ratio:390 / 844; }
    .hero-layer-parent .phone-frame-img{ height:100%; width:auto; }
  }

  /* Landing hero: enlarge coach image and improve crop for clarity */
  .hero-layer-groups{left:-6px; top:56px; width:62%; z-index:3; overflow:hidden; border-radius:18px;}
  .hero-layer-groups .device-image-hero-small{
    width:520px; height:auto; object-fit:cover; object-position:center 18%; display:block;
    border-radius:12px; box-shadow:0 24px 60px rgba(1,51,42,.14);
  }
  @media (max-width:1200px){
      .hero-layer-groups .device-image-hero-small{ width:420px; height:auto; }
  }

  /* Landing hero: make parent phone mockup slightly larger and overlap */
  .hero-layer-parent{right:-20px; bottom:8px; width:270px; z-index:5;}
  .hero-layer-parent .phone-frame{ transform:translateY(6px); }
  .hero-layer-parent .phone-frame-img{
    height:100%; width:auto; object-position:center top;
    border-radius:16px; box-shadow:0 26px 60px rgba(1,51,42,.16);
  }
  @media (max-width:1080px){
    .hero-layer-parent{right:0; bottom:0; width:220px;}
    .hero-layer-parent .phone-frame-img{ height:100%; width:auto; }
  }
}
.cta-panel-dark{
  background:linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.02) 100%);
  border-color:rgba(255,255,255,.12); color:var(--white);
}

.pricing-shell{ max-width:1120px; }
.pricing-grid{ align-items:stretch; }
.pricing-card{ display:flex; flex-direction:column; min-height:100%; }
.pricing-featured{
  border-color:rgba(19,84,74,.22); box-shadow:0 18px 40px rgba(19,84,74,.10);
}
.price-value{
  margin:18px 0; font-size:1.8rem; line-height:1; font-weight:700; color:var(--primary);
}

.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.note-box{
  margin-top:18px; padding:16px; border-radius:24px; background:var(--soft);
  border:1px solid var(--line-strong); color:var(--deep); font-weight:500;
}
.form{ display:grid; gap:14px; margin-top:8px; }
.form label{
  display:grid; gap:8px; font-size:14px; font-weight:600; color:var(--deep);
}
.form input, .form select, .form textarea{
  width:100%; border:1px solid #cfe2de; border-radius:24px; background:var(--white);
  color:var(--deep); padding:14px 16px; outline:none;
}
.form input:focus, .form select:focus, .form textarea:focus{
  border-color:var(--primary); box-shadow:0 0 0 4px rgba(19,84,74,.12);
}
.form textarea{ resize:vertical; min-height:130px; }
.form-hint{ font-size:14px; color:var(--text-soft); }

/* Hidden honeypot: visually removed and not focusable */
.form-honeypot{ position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; overflow:hidden !important; }

/* Inline form status message (subtle, matches site design) */
.form-status{ margin:12px 0 8px; color:var(--text-soft); font-size:0.98rem; }
.form-status.is-error{ color:#8b1e1e; }

.product-showcase{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:32px; align-items:center;
}
.showcase-points{ margin-top:22px; display:grid; gap:12px; }
.showcase-point{
  display:flex; align-items:flex-start; gap:10px; color:var(--deep); font-weight:500;
}
.showcase-dot{
  width:10px; height:10px; border-radius:999px; background:var(--primary);
  margin-top:7px; box-shadow:0 0 0 6px rgba(19,84,74,.08);
}
.product-device-stack{ position:relative; min-height:520px; }
.device{
  background:#fff; border:1px solid rgba(1,51,42,.08);
  box-shadow:0 24px 60px rgba(1,51,42,.14);
}
.device-desktop{ border-radius:28px; padding:16px; }
.device-mobile{
  position:absolute; right:-8px; bottom:-18px; width:220px;
  border-radius:30px; padding:10px;
}
.device-screen{
  background:linear-gradient(180deg, #fbfdfc 0%, #f4faf8 100%);
  border-radius:20px; min-height:100%; padding:18px;
}
/* Reduce inner padding so screenshots fill device interior more */
.device-screen{ padding:10px; }
.device-ui-top{
  display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px;
}
.device-chart{
  height:160px; border-radius:20px;
  background:
    linear-gradient(180deg, rgba(90,174,160,.26), rgba(223,240,237,.8)),
    linear-gradient(90deg, rgba(1,51,42,.04) 1px, transparent 1px),
    linear-gradient(rgba(1,51,42,.04) 1px, transparent 1px);
  background-size:auto, 28px 28px, 28px 28px;
  margin-bottom:14px;
}
.device-cards{
  display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px;
}
.device-mobile-head{
  height:28px; border-radius:14px; background:var(--soft); margin-bottom:12px;
}
.device-mobile-card{
  height:92px; border-radius:18px; background:#fff; border:1px solid var(--line); margin-bottom:10px;
}
.device-mobile-card.short{ height:64px; }

.site-footer{
  padding:34px 0; background:#ffffff; border-top:1px solid rgba(1,51,42,.08);
}
.footer-inner{
  display:flex; align-items:flex-end; justify-content:space-between; gap:24px;
}
.footer-logo{ height:30px; width:auto; margin-bottom:10px; }
.footer-text{ max-width:320px; color:var(--text-soft); }
.footer-nav{ display:flex; gap:18px; flex-wrap:wrap; }
.footer-nav a{ font-weight:500; color:var(--deep); }

.toast{
  position:fixed; left:50%; bottom:22px; transform:translateX(-50%);
  padding:12px 16px; background:#fff; color:var(--deep);
  border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow-lg); z-index:2000;
}

@media (max-width: 1080px){
  .hero-premium-grid, .product-showcase,
  .grid-4, .grid-3, .grid-2, .contact-grid{
    grid-template-columns:1fr;
  }
  .cta-panel, .footer-inner{ flex-direction:column; align-items:flex-start; }
  .stats-grid, .mockup-stats, .mockup-course-grid, .device-cards{ grid-template-columns:1fr; }
  .dashboard-footer{ grid-template-columns:1fr; }
  .mockup-shell, .product-device-stack{ min-height:0; }
  .floating-card-a{ right:10px; top:16px; }
  .floating-card-b{ left:10px; bottom:14px; }
  .device-mobile{ position:static; width:220px; margin-top:16px; }
}

@media (max-width: 900px){
  .nav-row{
    grid-template-columns:auto auto auto;
  }
  .site-nav{
    display:none; position:absolute; top:76px; right:var(--pad);
    width:min(320px, calc(100% - 2 * var(--pad)));
    flex-direction:column; align-items:stretch; background:#fff; padding:12px;
    border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow-lg);
    z-index:25;
  }
  .site-nav.is-open{ display:flex; }
  .site-nav > a, .site-nav > .nav-link{ width:100%; }
  .nav-toggle{ display:inline-flex; justify-self:end; }

  .nav-actions{
    justify-self:auto;
  }

  .hero{ padding:72px 0 56px; }
  .page-hero{ padding:56px 0 24px; }
  .hero-title, h1{ font-size:clamp(2.35rem, 10vw, 3.5rem); }
  h2{ font-size:clamp(1.8rem, 8vw, 2.4rem); }
  .hero-subline{ font-size:1rem; max-width:36ch; }
  .section{ padding:68px 0; }
  .mockup-app{ grid-template-columns:1fr; }
  .mockup-sidebar{ border-right:none; border-bottom:1px solid rgba(1,51,42,.08); }
  .mockup-row, .compare-row{ grid-template-columns:1fr; }
  .compare-head > div:first-child{ display:none; }
  .floating-card{ position:static; margin-top:12px; }
  .device-mobile{ width:100%; }
}

/* MOBILE OVERRIDES: make hero layers flow vertically and make compare table stacked */
@media (max-width:900px){
  /* Ensure hero composition does not enforce large desktop min-height */
  .hero-composition{ min-height:0 !important; display:block !important; }

  /* Disable desktop absolute layering and transforms on mobile so layers flow naturally */
  .hero-layer{ position:static !important; width:auto !important; transform:none !important; left:auto !important; right:auto !important; top:auto !important; bottom:auto !important; }
  .hero-layer.hero-layer-groups, .hero-layer.hero-layer-parent, .hero-layer.hero-layer-website{ transform:none !important; }

  /* Place label above its screen with normal flow and spacing */
  .hero-layer-label{ display:inline-flex; position:relative; top:0; transform:none; margin-bottom:10px; }

  /* Reduce extra hero-product top margin on mobile so no large gap appears */
  .hero-product{ margin-top:12px !important; }

  /* Ensure device images are full width in stacked flow */
  .device-image, .device-image-desktop-wide, .device-image-hero-small, .phone-frame-img, .feature-image{ width:100% !important; height:auto !important; max-width:100% !important; }

  /* Comparison table: stack rows and make each cell full-width for readability */
  .compare-table{ min-width:0 !important; display:block !important; }
  .compare-row{ display:block !important; padding:16px 0; border-bottom:1px solid rgba(1,51,42,.06); }
  .compare-row > div{ display:block !important; width:100% !important; padding:6px 0; }
  .compare-row .compare-key{ font-weight:700; margin-bottom:6px; }
  .compare-row > div:nth-child(2){ color:var(--text-soft); }
  .compare-row > div:nth-child(3){ color:var(--deep); }

  /* Avoid horizontal overflow from other hero transforms */
  .hero-premium-grid, .hero-composition, .hero-product{ overflow:visible !important; }
}

@media (max-width: 640px){
  :root{ --pad:18px; }
  .brand-logo{ height:32px; }
  .card, .cta-panel{ padding:22px; border-radius:26px; }
  .mockup-main, .mockup-course-card, .mockup-table-card{ padding:16px; }
  .language-btn{ min-height:40px; padding:0 12px; }
}


/* v2 hero composition */
.hero-premium{overflow:hidden;}
.hero-premium-grid{align-items:start;}
.hero-product{min-width:0;}
.hero-composition{position:relative;min-height:700px;}
.hero-layer{position:absolute;}
.hero-layer-label{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.92);border:1px solid rgba(1,51,42,.08);color:var(--deep);font-size:12px;font-weight:700;box-shadow:var(--shadow-sm);margin-bottom:10px;}
.hero-layer-website{inset:0 0 auto 0;z-index:1;}
.hero-browser{background:rgba(255,255,255,.88);border:1px solid rgba(1,51,42,.08);border-radius:30px;box-shadow:0 32px 80px rgba(1,51,42,.16);overflow:hidden;}
.hero-browser-bar{display:flex;align-items:center;gap:8px;padding:14px 18px;background:rgba(255,255,255,.9);border-bottom:1px solid rgba(1,51,42,.08);}
.hero-browser-bar span{width:10px;height:10px;border-radius:999px;background:#d8e8e4;}
.hero-browser-screen{padding:22px;background:linear-gradient(180deg,#ffffff 0%,#f7fbfa 100%);}
@media (max-width:900px){ .hero-browser-screen{ padding:8px; } }

/* Public page screenshot inside hero browser */
.hero-site-screenshot{ margin-top:12px; max-width:100%; display:flex; justify-content:center; }
/* Public screens wrapper: main + optional thumb */
.hero-site-screenshot{ margin-top:12px; max-width:100%; display:flex; justify-content:center; }
.hero-site-screenshot .public-screens{ display:flex; gap:12px; align-items:flex-start; }
.hero-site-screenshot .public-main{ display:block; width:100%; max-width:620px; }
.hero-site-screenshot .public-thumb{ display:block; width:220px; max-width:30vw; }
.hero-site-screenshot picture{ display:block; }
.hero-site-screenshot img{ display:block; width:100%; height:auto; border-radius:12px; box-shadow:0 18px 40px rgba(1,51,42,.12); }
@media (min-width:1300px){
  .hero-site-screenshot picture{ max-width:760px; }
}
@media (min-width:900px) and (max-width:1299px){
  .hero-site-screenshot picture{ max-width:560px; }
}
@media (max-width:899px){
  .hero-site-screenshot picture{ max-width:360px; }
  .hero-site-screenshot .public-screens{ flex-direction:column; align-items:center; }
  .hero-site-screenshot .public-thumb{ display:none; }
}

  /* On small screens prefer contain for feature images so UI isn't cropped */
  @media (max-width:900px){
    .feature-image{ object-fit:contain; height:auto; }
  }
.hero-site-nav{height:20px;width:46%;border-radius:999px;background:linear-gradient(90deg, rgba(1,51,42,.08), rgba(1,51,42,.04));margin-bottom:18px;}
.hero-site-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;align-items:start;}
.hero-site-copy{padding:18px;border-radius:24px;background:linear-gradient(180deg,#eef7f5 0%,#ffffff 100%);border:1px solid var(--line);}
.hero-site-kicker{color:var(--primary);font-size:12px;font-weight:700;margin-bottom:12px;}
.hero-site-heading{height:34px;border-radius:12px;width:92%;background:linear-gradient(90deg, rgba(1,51,42,.18), rgba(1,51,42,.06));margin-bottom:12px;}
.hero-site-lines{height:12px;border-radius:999px;width:86%;background:rgba(1,51,42,.10);margin-bottom:10px;}
.hero-site-lines.short{width:62%;margin-bottom:0;}
.hero-site-cardgrid{display:grid;gap:12px;}
.hero-site-card{height:86px;border-radius:22px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm);}
.hero-layer-groups{left:-14px;top:76px;width:58%;z-index:3;}
.client-card{background:#fff;border:1px solid rgba(1,51,42,.10);border-radius:26px;box-shadow:0 22px 50px rgba(1,51,42,.16);padding:18px;}
.client-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px;}
.client-kicker{font-size:12px;color:var(--text-soft);font-weight:600;}
.client-title{font-size:1rem;line-height:1.2;font-weight:700;color:var(--deep);margin-top:4px;}
.group-list{display:grid;gap:12px;}
.group-row{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;color:var(--deep);font-size:14px;font-weight:600;}
.group-progress{display:block;height:10px;border-radius:999px;background:var(--soft);overflow:hidden;}
.group-progress span{display:block;height:100%;border-radius:999px;background:var(--primary);}
.hero-layer-parent{right:-8px;bottom:18px;width:230px;z-index:4;}
.client-phone{background:#fff;border:1px solid rgba(1,51,42,.10);border-radius:34px;box-shadow:0 22px 50px rgba(1,51,42,.16);padding:6px;}
.client-phone-top{width:40%;height:20px;border-radius:999px;background:rgba(1,51,42,.08);margin:0 auto 10px;}
.client-phone-screen{border-radius:24px;min-height:420px;background:linear-gradient(180deg,#ffffff 0%,#f3f8f7 100%);padding:8px;}
.phone-pill{display:inline-flex;padding:6px 10px;border-radius:999px;background:#e9f7f4;color:var(--primary);font-size:11px;font-weight:700;margin-bottom:12px;}
.phone-course-title{font-size:1rem;line-height:1.2;font-weight:700;color:var(--deep);margin-bottom:6px;}
.phone-course-subtitle{font-size:13px;color:var(--text-soft);margin-bottom:14px;}
.phone-card{height:84px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm);margin-bottom:10px;}
.phone-card.short{height:56px;}

/* v2 comparison */
.compare-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;}
.compare-table{min-width:780px;}
.compare-row > div{white-space:normal;}

@media (max-width:1200px){
  .hero-composition{min-height:660px;}
  .hero-layer-groups{width:60%;}
}
@media (max-width:1080px){
  .hero-composition{min-height:0;display:grid;gap:16px;}
  .hero-layer{position:static;width:auto !important;}
  .hero-site-hero{grid-template-columns:1fr;}
  .client-phone-screen{min-height:360px;}
}
@media (max-width:900px){
  .compare-scroll{overflow-x:auto;}
  .compare-table{min-width:720px;}
}
@media (max-width:640px){
  .hero-browser-screen{padding:16px;}
  .client-card,.client-phone{border-radius:24px;}
  .hero-layer-label{font-size:11px;}
}


/* v3 polish */
.hero-composition{filter:drop-shadow(0 30px 60px rgba(1,51,42,.18));}
.hero-layer-website{transform:scale(1);}

/* Reduce inner padding of browser mockups so screenshots use more space */
.hero-browser-screen{ padding:12px; }
@media (max-width:900px){ .hero-browser-screen{ padding:8px; } }

/* Fine-tuning: breakpoint-specific object-position and sizing */
@media (min-width:1300px){
  /* Desktop wide: ensure top UI is visible */
  .hero-layer-groups .device-image-hero-small{ object-position: center 14%; width:540px; height:auto; }
  .hero-layer-parent .phone-frame-img{ height:100%; width:auto; object-position:center 6%; }
  .product-device-stack .phone-frame-img{ height:100%; width:auto; object-position:center 6%; }
}

@media (min-width:1000px) and (max-width:1299px){
  /* Medium / laptop: slightly lower crop to show more content */
  .hero-layer-groups .device-image-hero-small{ object-position: center 22%; width:460px; height:auto; }
  .hero-layer-parent .phone-frame-img{ height:100%; width:auto; object-position:center 10%; }
  .product-device-stack .phone-frame-img{ height:100%; width:auto; object-position:center 10%; }
}

/* Final mobile overrides placed at end to ensure they win over earlier desktop rules. */
@media (max-width:767px){
  /* Neutralize large desktop reserved heights and absolute layering */
  .hero-composition{ position:static !important; min-height:0 !important; display:block !important; }
  .hero-product{ margin-top:6px !important; }

  /* Make layers flow — move label+image together in normal document flow */
  .hero-layer{ position:static !important; transform:none !important; left:auto !important; right:auto !important; top:auto !important; bottom:auto !important; width:100% !important; display:block !important; margin:0 0 18px !important; }
  .hero-layer.hero-layer-groups, .hero-layer.hero-layer-parent, .hero-layer.hero-layer-website{ transform:none !important; }

  .hero-layer-label{ display:block !important; position:relative !important; top:0 !important; transform:none !important; margin:0 0 8px !important; }

  /* Ensure images/screens use full content width on mobile */
  .hero-layer img.device-image, .hero-layer img.phone-frame-img, .device-image-desktop-wide, .device-image-hero-small{ width:100% !important; height:auto !important; max-width:100% !important; object-fit:contain !important; }

  /* Reduce client-phone shell visuals that steal height */
  .client-phone, .client-phone-screen, .phone-frame, .device-screen{ padding:6px !important; box-shadow:none !important; border:0 !important; background:transparent !important; }

  /* Comparison: stack rows as blocks */
  .compare-table{ display:block !important; min-width:0 !important; }
  .compare-row{ display:block !important; padding:12px 0 !important; border-bottom:1px solid rgba(1,51,42,.06) !important; }
  .compare-row > div{ display:block !important; width:100% !important; padding:6px 0 !important; }
  .compare-row.compare-head{ display:none !important; }
  .compare-row .compare-key{ font-weight:700 !important; margin-bottom:6px !important; }

  /* Ensure no horizontal overflow */
  html,body,.container{ overflow-x:hidden !important; }
}

@media (max-width:999px){
  /* Tablet and mobile: rely on existing smaller sizes but ensure center focus */
  .hero-layer-groups .device-image-hero-small{ object-position:center 28%; width:360px; height:auto; }
  .hero-layer-parent .phone-frame-img{ object-position:center 12%; }
  .product-device-stack .phone-frame-img{ object-position:center 18%; }
}
.hero-layer-groups{transform:translateY(-10px) rotate(-1deg);}
.hero-layer-parent{transform:translateY(6px) rotate(2deg);}

.client-card{backdrop-filter:blur(6px);}
.client-phone{backdrop-filter:blur(6px);}

.hero-layer-label{letter-spacing:.02em}

/* Position the 'Groups & learning control' label via transform so vertical
  adjustment does not rely on `position: static` behavior. This keeps the
  horizontal placement unchanged and avoids interfering with other layout
  rules. */



@media (max-width:900px){
.hero-layer{transform:none !important}
}

/* Ensure mobile parent phone image always fills the phone frame width-wise without distortion */
.hero-layer-parent .phone-frame .phone-frame-img,
.client-phone .phone-frame .phone-frame-img,
.product-device-stack .phone-frame .phone-frame-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}

/* v4 fixes */
.hero-premium-grid{
  align-items:flex-start;
}
.hero-copy-premium{
  z-index:5;
  position:relative;
}
.hero-product{
  margin-top:40px;
}
@media (min-width:900px){
  .hero-product{
    margin-top:0;
    transform:translateY(40px);
  }
}
.course-row{
  font-size:13px;
  padding:4px 0;
  color:var(--deep);
}


/* v10 Investor polish */

/* stronger hero clarity */
.hero-copy-premium h1{
  font-size:clamp(32px,4vw,56px);
  line-height:1.05;
  letter-spacing:-0.02em;
}

.hero-copy-premium p{
  font-size:18px;
  max-width:520px;
}

/* stronger product framing */
.hero-browser{
  border:1px solid rgba(1,51,42,.12);
  box-shadow:0 40px 100px rgba(1,51,42,.18);
}

/* labels more visible */
.hero-layer-label{
  background:#ffffff;
  border:1px solid rgba(1,51,42,.12);
  box-shadow:0 6px 20px rgba(1,51,42,.12);
  font-weight:600;
}

/* course list clarity */
.course-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:6px 0;
  border-bottom:1px solid rgba(1,51,42,.06);
}

.course-row:last-child{
  border-bottom:none;
}

/* teacher card clarity */
.client-card{
  padding:20px;
}

.group-row{
  font-size:13px;
}

.group-row span:first-child{
  font-weight:600;
}

/* mobile screen clarity */
.phone-card{
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  color:var(--text-soft);
}

/* CTA emphasis */
.button-primary{
  background:var(--primary);
  color:#fff;
  box-shadow:0 10px 24px rgba(19,84,74,.25);
}

/* trust line */
.trust-line{
  margin-top:20px;
  font-size:13px;
  color:var(--text-soft);
}

/* spacing improvements */
.section{
  padding:80px 0;
}

/* responsive polish */
@media (max-width:900px){
  .hero-copy-premium h1{
    font-size:32px;
  }
}


/* v11 specific hero content */
.hero-site-values,
.hero-site-courses{
  padding:16px;
}
.site-value-row,
.site-course-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
  padding:8px 0;
  border-bottom:1px solid rgba(1,51,42,.06);
}
.site-value-row:last-child,
.site-course-row:last-child{
  border-bottom:none;
}
.site-value-label{
  font-size:13px;
  color:var(--text-soft);
  font-weight:600;
}
.site-value-number{
  font-size:1rem;
  font-weight:700;
  color:var(--deep);
}
.site-course-row span:first-child{
  font-size:14px;
  font-weight:700;
  color:var(--deep);
}
.site-course-row span:last-child{
  font-size:13px;
  color:var(--text-soft);
}
.learning-days{
  gap:14px;
}
.learning-day-row{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:14px;
  align-items:center;
}
.learning-day-meta{
  display:grid;
  gap:2px;
}
.learning-day-date{
  font-size:13px;
  font-weight:700;
  color:var(--deep);
}
.learning-day-goal{
  font-size:12px;
  color:var(--text-soft);
}
.phone-confirm-card{
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  border-radius:18px;
  padding:12px;
  margin-bottom:10px;
}
.phone-confirm-title{
  font-size:13px;
  font-weight:700;
  color:var(--deep);
  margin-bottom:8px;
}
.phone-confirm-line{
  font-size:12px;
  color:var(--text-soft);
  margin-bottom:4px;
}
.phone-confirm-line:last-child{
  margin-bottom:0;
}
.phone-confirm-cta{
  background:linear-gradient(180deg, #eef7f5 0%, #ffffff 100%);
}
.phone-mobile-btn{
  margin-top:10px;
  min-height:34px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  background:var(--primary);
  color:#fff;
  font-size:12px;
  font-weight:700;
}
.phone-confirm-subtle{
  background:#f8fbfa;
}
@media (max-width:640px){
  .learning-day-row{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   SWOMOS MOBILE — FINAL AUTHORITATIVE PRESENTATION
   Desktop composition remains unchanged.
   ========================================================= */

.hero-mobile-stack,
.compare-mobile{
  display:none;
}

@media (max-width:767px){

  /* ---------- HERO ---------- */

  /* The desktop collage must not reserve any height on mobile. */
  .hero-product{
    margin-top:24px !important;
    transform:none !important;
    min-height:0 !important;
  }

  .hero-composition{
    display:none !important;
    min-height:0 !important;
    height:0 !important;
    overflow:hidden !important;
  }

  .hero-mobile-stack{
    display:flex !important;
    flex-direction:column;
    gap:26px;
    width:100%;
    margin:0;
    padding:0 0 4px;
  }

  .hero-mobile-item{
    display:flex;
    flex-direction:column;
    gap:10px;
    width:100%;
    min-width:0;
    margin:0;
  }

  .hero-mobile-label{
    align-self:flex-start;
    display:inline-flex;
    align-items:center;
    width:auto;
    max-width:calc(100% - 8px);
    padding:7px 13px;
    border:1px solid rgba(1,51,42,.10);
    border-radius:999px;
    background:rgba(255,255,255,.96);
    color:var(--deep);
    box-shadow:0 5px 18px rgba(1,51,42,.09);
    font-size:12px;
    line-height:1.2;
    font-weight:700;
    letter-spacing:.015em;
  }

  .hero-mobile-frame{
    width:100%;
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }

  .hero-mobile-frame img{
    display:block;
    width:100%;
    max-width:none;
    height:auto;
    margin:0 auto;
    object-fit:contain;
    object-position:center top;
    border-radius:20px;
    box-shadow:0 12px 28px rgba(1,51,42,.10);
  }

  /* Parent mobile: centered image, no nested visual wrapper. */
  .hero-mobile-item-phone{
    align-items:center;
  }

  .hero-mobile-item-phone .hero-mobile-label{
    align-self:flex-start;
  }

  .hero-mobile-phone-image{
    display:block;
    width:min(78%, 340px);
    max-width:100%;
    height:auto;
    margin:0 auto;
    object-fit:contain;
    object-position:center top;
    border:0;
    border-radius:24px;
    background:transparent;
    box-shadow:0 12px 28px rgba(1,51,42,.12);
  }


  /* ---------- COMPARISON ---------- */

  .compare-scroll{
    display:none !important;
  }

  .compare-mobile{
    display:grid !important;
    grid-template-columns:1fr;
    gap:14px;
    margin-top:8px;
  }

  .compare-mobile-card{
    overflow:hidden;
    border:1px solid rgba(255,255,255,.16);
    border-radius:22px;
    background:#f7fbfa;
    box-shadow:0 12px 30px rgba(0,0,0,.10);
  }

  .compare-mobile-card h3{
    margin:0;
    padding:17px 18px 13px;
    color:var(--deep);
    background:#fff;
    border-bottom:1px solid var(--line);
    font-size:1.05rem;
    line-height:1.2;
    font-weight:750;
  }

  .compare-mobile-pair{
    padding:15px 18px 17px;
  }

  .compare-mobile-generic{
    background:#f3f6f5;
    border-bottom:1px solid var(--line);
  }

  .compare-mobile-swomos{
    background:var(--soft);
  }

  .compare-mobile-brand{
    margin-bottom:5px;
    color:var(--text-soft);
    font-size:.76rem;
    line-height:1.2;
    font-weight:750;
    letter-spacing:.035em;
    text-transform:uppercase;
  }

  .compare-mobile-swomos .compare-mobile-brand{
    color:var(--primary);
  }

  .compare-mobile-value{
    color:var(--deep);
    font-size:1rem;
    line-height:1.38;
    font-weight:600;
  }

  /* Keep the surrounding dark differentiation section, but cards themselves stay crisp/readable. */
  .section-deep .compare-mobile{
    color:var(--deep);
  }

  html,
  body{
    overflow-x:hidden;
  }
}

@media (min-width:768px){
  .hero-mobile-stack,
  .compare-mobile{
    display:none !important;
  }
}

