/* FREESTYLE authentic hero, 2026-10-17.
   Original ORIVELA and Takumi screenshot files are unchanged.
   Loaded after site.css and home-visual-fix CSS. */

html, body { max-width:100%; overflow-x:clip; }
.ecommerce-layout, .value-layout, .ecommerce-layout > *, .value-layout > * { min-width:0; }
@media (min-width:1121px) {
  .ecommerce-layout { grid-template-columns:minmax(0,29fr) minmax(0,71fr); }
}
@media (min-width:901px) and (max-width:1120px) {
  .ecommerce-layout { grid-template-columns:minmax(0,27fr) minmax(0,73fr); }
}
@media (min-width:901px) {
  .value-layout { grid-template-columns:minmax(0,54fr) minmax(0,46fr); }
}
@media (min-width:621px) and (max-width:900px) {
  .value-layout { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
}

/* One continuous white-to-blue background with no hard seam. */
.hero {
  isolation:isolate;
  overflow:hidden !important;
  background-color:#eef8ff !important;
  background-image:
    radial-gradient(ellipse 50% 85% at 90% 54%,rgba(111,194,255,.32),transparent 83%),
    radial-gradient(ellipse 45% 80% at 74% 85%,rgba(61,153,255,.13),transparent 88%),
    linear-gradient(100deg,#fff 0%,#fbfdff 25%,#f3faff 45%,#e9f6ff 72%,#d9efff 100%) !important;
  background-size:cover !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
}
.hero::after {
  content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
  opacity:.6;
  background:radial-gradient(ellipse 22% 48% at 92% 9%,rgba(255,255,255,.9),transparent 90%);
}
.hero-layout {
  grid-template-columns:minmax(0,44fr) minmax(0,56fr) !important;
  gap:0 !important;
  min-height:615px !important;
  align-items:center !important;
}
.hero-copy {
  position:relative;z-index:4 !important;min-width:0;
  padding:46px 0 52px !important;
}
.hero-decor { display:none !important; }
@media (min-width:621px) {
  .hero h1 { font-size:clamp(34px,3.9vw,56px) !important; }
  .hero h1 span { white-space:nowrap; }
}

/* The real shop screens are placed in CSS-only device frames. */
.hero-visual.hero-real-visual {
  position:relative !important;
  display:block !important;
  visibility:visible !important;
  pointer-events:auto !important;
  min-width:0 !important;
  width:100% !important;
  height:540px !important;
  margin:0 !important;
  overflow:visible !important;
}
.real-orbit {position:absolute;pointer-events:none;border-radius:50%;}
.real-orbit-one {
  width:84%;height:60%;left:6%;top:24%;
  background:radial-gradient(ellipse,rgba(91,182,255,.24) 0%,rgba(114,203,255,.07) 52%,transparent 73%);
  box-shadow:0 0 65px 30px rgba(92,184,255,.07);
}
.real-orbit-two {
  width:84%;height:23%;left:6%;bottom:12%;
  border:2px solid rgba(66,177,255,.22);transform:rotate(-12deg);
  box-shadow:0 0 20px rgba(47,156,250,.13);
}
.real-chip {
  position:absolute;z-index:2;display:flex;align-items:center;gap:9px;
  border:1px solid rgba(164,218,255,.8);
  background:rgba(255,255,255,.87);
  box-shadow:0 12px 30px rgba(43,115,179,.13),inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px);
  border-radius:13px;padding:10px 13px;color:#194e82;line-height:1.2;white-space:nowrap;
}
.real-chip small {display:block;font-size:9px;font-weight:850;letter-spacing:.1em;color:#1985e5;}
.real-chip strong {display:block;margin-top:4px;font-size:11px;font-weight:800;}
.real-chip-icon {
  display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;
  border-radius:9px;background:linear-gradient(135deg,#e8f7ff,#cfeaff);
  color:#087fe6;font-size:19px;font-weight:900;
}
.real-chip-ec {left:2%;top:8%;transform:rotate(-3deg);}
.real-chip-system {left:38%;top:1%;transform:rotate(2deg);}
.real-chip-ai {right:1%;top:10%;transform:rotate(3deg);}
.real-chip-subsidy {right:-1%;top:32%;transform:rotate(3deg);}

.real-laptop {
  position:absolute;z-index:3;width:81%;left:2%;bottom:13%;
  filter:drop-shadow(0 20px 20px rgba(13,69,122,.18));
  transform:rotate(-1.8deg);
}
.real-laptop-lid {
  position:relative;aspect-ratio:16 / 10.1;padding:11px;
  background:linear-gradient(145deg,#1a2939,#070d15 75%);
  border:1px solid #314354;border-radius:16px 16px 9px 9px;
  box-shadow:0 5px 0 rgba(255,255,255,.24) inset,0 0 0 2px rgba(3,19,37,.12);
}
.real-laptop-camera {
  position:absolute;top:4px;left:50%;transform:translateX(-50%);
  width:4px;height:4px;background:#556a7d;border-radius:50%;z-index:1;
}
.real-laptop-screen {width:100%;height:100%;overflow:hidden;border-radius:5px;background:#fff;}
.real-laptop-screen img {
  display:block;width:100%;height:100%;object-fit:cover;object-position:center top;
}
.real-laptop-base {
  position:relative;left:-5%;width:110%;height:24px;margin-top:-1px;
  background:linear-gradient(180deg,#f5f8fb 0%,#aebdcc 60%,#77899b 90%,#dfe8f0 100%);
  clip-path:polygon(5% 0,95% 0,100% 86%,96% 100%,4% 100%,0 86%);
  box-shadow:0 8px 18px rgba(20,56,83,.17);
}
.real-laptop-base span {
  position:absolute;left:40%;top:1px;width:20%;height:6px;
  border-radius:0 0 9px 9px;background:rgba(106,123,141,.28);
}
.real-phone {
  position:absolute;z-index:5;width:27%;aspect-ratio:948 / 2047;
  right:1%;bottom:10%;border:8px solid #141a21;
  background:#0b1015;border-radius:31px;
  box-shadow:0 24px 37px rgba(9,55,102,.32),inset 0 0 0 2px #586879;
  transform:rotate(3deg);overflow:hidden;
}
.real-phone-screen {position:absolute;inset:5px;border-radius:23px;overflow:hidden;background:#0b0b0b;}
.real-phone-screen img {display:block;width:100%;height:100%;object-fit:cover;object-position:center top;}
.real-phone-speaker {
  position:absolute;z-index:2;top:8px;left:50%;transform:translateX(-50%);
  width:36%;height:13px;border-radius:0 0 11px 11px;background:#111820;
}
.real-visual-footnote {
  position:absolute;z-index:6;left:17%;bottom:3%;display:flex;align-items:center;gap:8px;
  color:#4178a5;font-size:10px;font-weight:900;letter-spacing:.13em;
}
.real-footnote-dot {width:8px;height:8px;border-radius:50%;background:#2d9cfc;box-shadow:0 0 0 4px rgba(47,155,255,.12);}

/* Tablet: leave more room for the original headline. */
@media (max-width:1120px) and (min-width:901px) {
  .hero-layout {grid-template-columns:minmax(0,46fr) minmax(0,54fr) !important;min-height:540px !important;}
  .hero-visual.hero-real-visual {height:470px !important;}
  .real-chip {padding:7px 9px;gap:6px;}
  .real-chip strong {font-size:9px;}
  .real-chip small {font-size:8px;}
  .real-chip-icon {width:23px;height:23px;flex-basis:23px;font-size:16px;}
  .real-phone {border-width:6px;border-radius:25px;}
}
@media (max-width:900px) and (min-width:621px) {
  .hero-layout {grid-template-columns:minmax(0,47fr) minmax(0,53fr) !important;min-height:495px !important;}
  .hero-copy {padding:34px 0 36px !important;}
  .hero-visual.hero-real-visual {height:405px !important;}
  .real-chip {padding:7px 8px;gap:5px;border-radius:9px;}
  .real-chip strong {font-size:8px;}
  .real-chip small {font-size:7px;}
  .real-chip-icon {width:20px;height:20px;flex-basis:20px;font-size:13px;}
  .real-chip-system {left:27%;}
  .real-chip-subsidy {top:30%;}
  .real-phone {border-width:5px;border-radius:23px;}
  .real-laptop-lid {padding:7px;border-radius:11px 11px 6px 6px;}
  .real-laptop-base {height:17px;}
  .real-visual-footnote {font-size:8px;}
}
/* Mobile: real HTML headline above, real screenshots below. */
@media (max-width:620px) {
  .hero {background-image:linear-gradient(180deg,#fff 0%,#fbfdff 39%,#eff9ff 69%,#d9efff 100%) !important;}
  .hero-layout {display:flex !important;flex-direction:column !important;min-height:0 !important;padding:0 0 18px !important;}
  .hero-copy {width:100%;padding:43px 0 16px !important;}
  .hero-visual.hero-real-visual {display:block !important;height:clamp(300px,89vw,430px) !important;margin:0 !important;}
  .real-laptop {width:82%;left:0%;bottom:13%;}
  .real-laptop-lid {padding:7px;border-radius:12px 12px 5px 5px;}
  .real-laptop-base {height:17px;}
  .real-phone {width:28%;right:0;bottom:13%;border-width:5px;border-radius:21px;}
  .real-phone-screen {inset:3px;border-radius:16px;}
  .real-phone-speaker {top:5px;height:8px;}
  .real-chip {padding:6px 8px;gap:5px;border-radius:9px;}
  .real-chip-icon {width:21px;height:21px;flex-basis:21px;font-size:13px;}
  .real-chip small {font-size:7px;}
  .real-chip strong {font-size:8px;margin-top:2px;}
  .real-chip-ec {top:2%;left:2%;}
  .real-chip-system {top:0;left:40%;}
  .real-chip-ai {top:16%;right:0;}
  .real-chip-subsidy {top:32%;right:0;}
  .real-visual-footnote {bottom:1%;left:12%;font-size:7px;letter-spacing:.08em;}
}
@media (max-width:380px) {
  .real-chip-subsidy {display:none;}
  .real-chip-system {left:35%;}
  .real-visual-footnote {left:8%;}
}
