/* Header and hero copy follow the owner’s mockup; keep the existing editor artwork. */
.landing { --header-height:78px; }
.landing .site-header { height:78px; max-height:none; }
.landing .site-header .header-inner { height:77px; min-height:0; justify-content:flex-start; }
.landing .site-header .brand > span { display:inline; }
.landing .site-header .brand { font-size:30px; gap:16px; }
.landing .site-header .brand img { width:42px; height:42px; border-radius:11px; }
.landing .landing-hero.shell.masthead-container {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:40px; align-items:center; padding-block:64px 32px;
}
.landing-hero .hero-copy { min-width:0; width:100%; max-width:none; }
.landing-hero .eyebrow { color:#617397; font-size:17px; margin:0 0 18px; }
.landing-hero .hero-copy h1 {
  font-size:clamp(44px,4.45vw,64px); line-height:1.08; letter-spacing:-.045em;
  margin:0 0 24px; color:#090c20; text-wrap:initial;
}
.hero-title-line { display:block; }
.landing-hero .hero-description {
  font-size:21px!important; line-height:1.45; color:#6d7fa3;
  max-width:590px; margin:0; text-wrap:initial;
}
.landing-hero .landing-actions { margin:34px 0 0; }
.landing-hero .download-group { max-width:none; width:100%; }
.landing-hero .cta-action-row { gap:16px 26px; }
.landing-hero .button.primary {
  min-height:64px; padding:16px 24px; border-radius:12px;
  font-size:21px; box-shadow:inset 0 1px 2px #ffffff38; gap:16px;
}
.landing-hero .download-icon { width:27px; height:27px; }
.landing-hero .demo-link { color:#5d6f93; font-size:20px; font-weight:600; text-underline-offset:7px; }
.landing-hero .demo-link .icon { width:23px; height:23px; }
.landing-hero .masthead-requirements {
  display:flex; flex-wrap:wrap; align-items:center; gap:10px 0;
  margin:28px 0 0; color:#64779b; font-size:17px; line-height:1.5;
}
.masthead-requirements > span { display:inline-flex; align-items:center; gap:7px; }
.masthead-requirements > span + span { border-left:1px solid #dce6f6; margin-left:18px; padding-left:18px; }
.masthead-requirements svg { width:26px; height:28px; flex-shrink:0; }
.landing-hero .hero-art {
  width:100%; min-width:0; margin:0; overflow:hidden;
  aspect-ratio:5 / 4; border-radius:24px; position:relative;
  background:radial-gradient(ellipse at 60% 45%,#e7ddff,#edf3ff 70%,#f7f5ff);
}
.landing-hero .hero-art picture { position:absolute; inset:0; }
.landing-hero .mockup-hero-visual {
  position:absolute; width:100%; max-width:none; height:100%;
  left:0; top:0; transform:none;
  object-fit:contain; object-position:center; mask-image:none;
}
.landing-hero .hero-art-note {
  right:12px; bottom:12px; margin:0; font-size:12px; line-height:1.5;
  padding:4px 8px; background:#fff; color:var(--ink-secondary);
}

.masthead-benefit-grid {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:40px;
  border-top:1px solid var(--line); padding-block:34px 38px;
}
.masthead-benefit { min-width:0; }
.masthead-benefit-icon {
  display:grid; place-items:center; width:88px; height:88px; border-radius:17px;
  color:#0878ff; background:#e7f1ff; margin-bottom:12px;
}
.masthead-benefit-icon .icon { width:46px; height:46px; stroke-width:1.8; }
.benefit-confidence .masthead-benefit-icon { color:#8b14f5; background:#f2eaff; }
.benefit-ad-free .masthead-benefit-icon { color:#f6008b; background:#ffe8f4; }
.benefit-notarized .masthead-benefit-icon { color:#03b52c; background:#e3f7e9; }
.landing .masthead-benefit h2 { font-size:22px; line-height:1.25; letter-spacing:-.03em; margin:0 0 6px; }
.masthead-benefit p { max-width:235px; color:#6d7fa3; font-size:20px; line-height:1.45; }
/* Recover the previous 7/12 desktop artwork width without narrowing the new copy.
   The available right margin limits the expansion on smaller desktop screens. */
@media (min-width:1024px) {
  .landing-hero .hero-art {
    width:min(116.667%,calc(100% + max(0px,calc((100vw - var(--content-max)) / 2)) + var(--content-gutter)));
  }
}
@media (min-width:1024px) and (max-width:1199px) {
  .landing-hero .hero-description { font-size:18px!important; }
  .landing-hero .button.primary { font-size:17px; padding-inline:18px; gap:10px; min-height:56px; }
  .landing-hero .demo-link { font-size:17px; }
  .landing-hero .cta-action-row { gap:12px; }
  .landing-hero .masthead-requirements { font-size:14px; }
  .masthead-requirements > span + span { margin-left:10px; padding-left:10px; }
}
@media (max-width:1023px) {
  .landing .landing-hero.shell.masthead-container {
    grid-template-columns:minmax(0,1fr); gap:32px; padding-block:40px 32px;
  }
  .landing-hero .hero-copy { max-width:680px; }
  .landing-hero .hero-copy h1 { font-size:56px; }
  .hero-title-line { display:inline; }
  .landing-hero .hero-art { max-width:760px; margin-inline:auto; }
  .masthead-benefit-grid { gap:24px; }
  .landing .masthead-benefit h2 { font-size:19px; }
  .masthead-benefit p { font-size:17px; }
}
@media (max-width:767px) {
  .masthead-benefit-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 24px; }
}
@media (max-width:600px) {
  .landing { --header-height:72px; }
  .landing .site-header { height:72px; }
  .landing .site-header .header-inner { height:71px; }
  .landing .site-header .brand { font-size:25px; gap:12px; }
  .landing .site-header .brand img { width:36px; height:36px; }
  .landing .landing-hero.shell.masthead-container { padding-top:30px; }
  .landing-hero .hero-copy h1 { font-size:clamp(34px,8.7vw,48px); margin-bottom:18px; }
  .landing-hero .hero-description { font-size:18px!important; }
  .landing-hero .eyebrow { font-size:12px; }
  .landing-hero .landing-actions { margin-top:26px; }
  .landing-hero .button.primary { font-size:18px; min-height:56px; padding:14px 20px; }
  .landing-hero .demo-link { font-size:17px; }
  .landing-hero .cta-action-row { gap:12px 24px; }
  .landing-hero .masthead-requirements { font-size:14px; margin-top:22px; column-gap:14px; }
  .masthead-requirements > span + span { margin-left:0; padding-left:0; border:0; }
  .masthead-requirements svg { width:22px; height:24px; }
  .masthead-benefit-grid { padding-top:28px; gap:28px 18px; }
  .masthead-benefit-icon { width:68px; height:68px; border-radius:14px; }
  .masthead-benefit-icon .icon { width:38px; height:38px; }
  .landing .masthead-benefit h2 { font-size:18px; }
  .masthead-benefit p { font-size:16px; }
}

/* Keep reading and keyboard order consistent: introduction, image, then actions.
   The desktop grid places the image alongside the introduction and actions. */
.landing-hero .hero-copy { grid-column:1; grid-row:1; align-self:end; }
.landing-hero .hero-art { grid-column:2; grid-row:1 / 3; }
.landing-hero .landing-actions { grid-column:1; grid-row:2; align-self:start; }
.landing .landing-hero.shell.masthead-container { row-gap:0; }
.landing-hero .masthead-free {
  display:inline-block; max-width:100%; margin:12px 0 0; padding:8px 12px;
  border-radius:10px; background:#edf3ff; color:#0055db;
  font-size:16px; line-height:1.5; font-weight:600; text-wrap:pretty;
}
.landing-hero .masthead-free strong { font-weight:800; }
.landing-hero .download-group > [data-other-cta] { margin-top:24px; }
.landing-hero .download-group > [data-other-cta][hidden],
.landing-hero[data-email-confirmed] .download-group > [data-other-cta] { margin:0; }
@media (max-width:1023px) {
  .landing .landing-hero.shell.masthead-container { row-gap:24px; }
  .landing-hero :is(.hero-copy,.hero-art,.landing-actions) { grid-column:1; grid-row:auto; }
  .landing-hero .landing-actions { margin-top:0; }
  /* Render the full existing image, including its toolbar and annotations. */
  .landing-hero .hero-art { aspect-ratio:auto; overflow:visible; background:none; border-radius:0; }
  .landing-hero .hero-art picture { position:static; border-radius:12px; overflow:hidden; }
  .landing-hero .mockup-hero-visual {
    position:static; width:100%; height:auto; max-width:100%; aspect-ratio:1448 / 1086;
    object-fit:contain; transform:none;
  }
  .landing-hero .hero-art-note { position:static; margin:8px 0 0; padding:0; border:0; background:none; text-align:right; }
  .landing-hero .masthead-requirements { margin-top:16px; }
}
