/* GraphMyTrade / v6 optical layout refinement.
   Deliberately additive: original brand palette, content, SEO and 3D scene remain intact. */
:root { --gmt-layout-ease: cubic-bezier(.22,1,.36,1); }
body.v4-body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.v4-body h1, .v4-body h2, .v4-body h3 { font-kerning: normal; text-wrap: balance; }

/* Symmetrical navigation: true center links, aligned brand and download CTA. */
@media (min-width: 1021px) {
  .v4-header .nav-row { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); column-gap:clamp(22px,3vw,52px); }
  .v4-header .v4-brand { justify-self:start; white-space:nowrap; }
  .v4-header .v4-nav { justify-self:center; gap:clamp(22px,2.5vw,38px); white-space:nowrap; }
  .v4-header .desktop-cta { justify-self:end; white-space:nowrap; }
}
.v4-header .v4-nav a { font-weight:600; letter-spacing:-.015em; }
.v4-header .v4-brand { letter-spacing:-.052em; }

/* Make the above-the-fold value proposition visible without scrolling.
   Original v5 min-height + section padding centered everything too low. */
.v4-section.v5-hero { padding-block: clamp(29px,3.3vw,52px) clamp(30px,3.8vw,56px); }
.v5-hero .v5-hero-grid {
  grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);
  min-height:0;
  gap:clamp(34px,4.1vw,72px);
  align-items:center;
}
.v5-hero .v5-hero-copy { max-width:590px; padding-block:0; }
.v5-hero .v5-eyebrow { font-size:10.5px; font-weight:770; letter-spacing:.15em; }
.v5-hero h1 {
  margin:21px 0 20px;
  max-width:600px;
  font-size:clamp(50px,4.6vw,73px);
  font-weight:730;
  letter-spacing:-.068em;
  line-height:1.065;
}
.v5-hero h1 em { letter-spacing:-.063em; }
.v5-hero .v5-hero-sub {
  font-size:clamp(14px,1.18vw,17px)!important;
  line-height:1.72!important;
  max-width:480px!important;
  letter-spacing:-.012em;
}
.v5-hero .v5-hero-ctas { margin-top:25px; gap:12px 21px; }
.v5-hero .v5-primary { min-height:53px; padding:14px 23px; font-weight:730; }
.v5-hero .v5-quiet-link { font-weight:670; }
.v5-hero .v5-proof-row { margin-top:25px; padding-top:17px; gap:12px 20px; }
.v5-hero .v5-micro-detail { margin-top:14px; gap:10px; }
.v5-hero .v5-showcase { padding:28px 6px 29px; align-self:center; }
.v5-hero .v5-float-top { top:-5px; right:-12px; }
.v5-hero .v5-float-bottom { bottom:0; left:-19px; }
.v5-hero .v5-img-caption { bottom:0; right:7px; }
.v5-hero .gmt6-view-image { bottom:49px; }
.v5-hero .v4-window-head { font-weight:630; }

/* Stronger optical rhythm without altering section order or hiding content. */
.v4-section:not(.v5-hero) { padding-block:clamp(64px,5.4vw,86px); }
.v4-section-title { margin-bottom:32px; }
.v4-section-title h2, .v4-story-title h2, .v4-review-grid h2,
.v4-price-copy h2, .v4-faq h2 { letter-spacing:-.053em; line-height:1.13; font-weight:700; }
.v4-feature h3 { letter-spacing:-.038em; line-height:1.16; font-weight:695; }
.v4-feature p { font-size:14px; line-height:1.74; }
.gmt7-experience { padding-top:clamp(70px,6vw,108px); padding-bottom:76px; }
.gmt7-exp-intro { margin-bottom:clamp(38px,4.1vw,64px); }
.gmt7-exp-intro h2 { letter-spacing:-.065em; line-height:1.09; font-weight:710; }
.gmt7-choice { padding-block:clamp(68px,6vw,94px); }
.gmt7-choice-title { margin-bottom:33px; }
.gmt8-proof { padding-block:clamp(72px,6.3vw,106px); }
.gmt8-value, .gmt8-decision { padding-block:clamp(69px,6vw,100px); }
.v4-last { padding-block:clamp(60px,6vw,80px); }

@media (min-width:1900px) {
  .v4-wrap { max-width:1800px; }
  .v5-hero .v5-hero-grid { min-height:0; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:100px; }
  .v5-hero h1 { font-size:clamp(73px,4vw,88px); }
  .v5-hero .v5-showcase .v4-product { max-width:1000px; }
}

/* Tablets need a legible hero, not two undersized half columns. */
@media (max-width:1020px) {
  .v5-hero .v5-hero-grid { grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:28px; min-height:0; }
  .v5-hero h1 { font-size:clamp(42px,5vw,56px); letter-spacing:-.06em; }
  .v5-hero .v5-showcase { padding:23px 4px 26px; }
}
@media (max-width:980px) {
  .v4-section.v5-hero { padding-block:40px 43px; }
  .v5-hero .v5-hero-grid { grid-template-columns:minmax(0,1fr); gap:17px; }
  .v5-hero .v5-hero-copy { max-width:730px; }
  .v5-hero h1 { font-size:clamp(47px,6.8vw,67px); margin:18px 0 16px; }
  .v5-hero .v5-showcase { width:min(100%,790px); margin-inline:auto; padding:26px 12px 24px; }
  .v5-hero .v5-float-top { right:0; top:0; }
  .v5-hero .v5-float-bottom { left:0; bottom:0; }
  .v5-hero .gmt6-view-image { bottom:47px; }
}
@media (max-width:740px) {
  .v4-section.v5-hero { padding-block:29px 31px; }
  .v5-hero .v5-hero-grid { gap:14px; }
  .v5-hero h1 { font-size:clamp(40px,9.1vw,58px); line-height:1.08; letter-spacing:-.065em; margin:17px 0 15px; }
  .v5-hero .v5-hero-sub { font-size:14px!important; line-height:1.68!important; }
  .v5-hero .v5-hero-ctas { margin-top:22px; gap:9px 14px; }
  .v5-hero .v5-proof-row { margin-top:20px; padding-top:15px; }
  .v5-hero .v5-micro-detail { margin-top:12px; }
  .v5-hero .v5-showcase { padding:19px 3px 24px; }
  .v5-hero .v5-float-top { top:0; right:-2px; }
  .v5-hero .v5-float-bottom { bottom:0; left:-2px; }
  .v5-hero .gmt6-view-image { bottom:44px; }
  .v4-section:not(.v5-hero) { padding-block:62px; }
  .gmt7-experience { padding-top:62px; padding-bottom:60px; }
  .gmt7-exp-intro { margin-bottom:35px; }
  .gmt8-proof, .gmt8-value, .gmt8-decision { padding-block:62px; }
}
@media (max-width:400px) {
  .v5-hero h1 { font-size:clamp(37px,10.1vw,42px); }
  .v5-hero .v5-eyebrow { font-size:9px; letter-spacing:.11em; }
  .v5-hero .v5-proof-row { gap:8px 13px; }
}
@media (prefers-reduced-motion:reduce) {
  .v5-hero *, .v4-header * { scroll-behavior:auto; }
}
/* At portrait-tablet widths a wrapped navigation is worse than a compact menu. */
@media (min-width:741px) and (max-width:1020px) {
  .v4-header .v4-nav, .v4-header .desktop-cta { display:none; }
  .v4-body .nav-toggle { display:block; margin-left:auto; flex:0 0 auto; }
  .v4-header .nav-row { justify-content:space-between; }
}
@media (min-width:375px) and (max-width:530px) {
  .v5-hero .v5-hero-ctas { gap:9px; flex-wrap:nowrap; }
  .v5-hero .v5-primary { min-width:0; padding:12px 15px; gap:11px; white-space:nowrap; font-size:12px; }
  .v5-hero .v5-quiet-link { font-size:11px; gap:5px; min-width:0; white-space:nowrap; }
}
