/* Scoring64 top page (2026-11-28).
 * Rhythm taken from the Paste product site (pasteapp.io): centered headings,
 * one short lead, 144px section padding, alternating plain and tinted bands,
 * one dark band, and the product shown large on a rounded stage.
 * Colours are the existing Scoring64 tokens only. */
:root {
  --bg:#faf9f6;
  --ink:#152125;
  --muted:#536064;
  --teal:#08696d;
  --line:#dddfdc;
  --soft:#eef2ee;
  --wash:#eaf0ed;
  --ease:cubic-bezier(.22,1,.36,1);
  --band:144px;
  font-family:"Hanken Grotesk","Noto Sans JP",sans-serif;
  color-scheme:light;
  color:var(--ink);
  background:var(--bg)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-size:17px;line-height:1.75;-webkit-font-smoothing:antialiased;line-break:strict;background:var(--bg)}
a{color:inherit;text-underline-offset:5px}
img,video{display:block;max-width:100%;height:auto}
p,h1,h2,h3,figure{margin:0}
h1,h2,h3{font-weight:700;letter-spacing:-.03em;line-height:1.4;word-break:auto-phrase;text-wrap:balance}
p{word-break:auto-phrase;text-wrap:pretty}
.shell{width:min(1200px,calc(100% - 80px));margin-inline:auto}
.mobile-menu{display:none}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Bands */
.band{padding-block:var(--band)}
.band-soft{background:linear-gradient(180deg,var(--soft) 0%,var(--bg) 100%)}
.band-night{
  background:linear-gradient(180deg,var(--ink) 0%,color-mix(in srgb,var(--ink) 78%,var(--teal)) 100%);
  color:#fff
}
.head{max-width:860px;margin-inline:auto;text-align:center}
.head h2{font-size:clamp(30px,3.6vw,46px)}
.head p{margin:24px auto 0;max-width:34em;font-size:20px;line-height:1.75;color:var(--muted)}
.band-night .head p{color:rgba(255,255,255,.8)}

/* Hero */
.hero{padding-top:112px;text-align:center;overflow:hidden}
.hero h1{font-size:clamp(38px,4.8vw,62px);line-height:1.3;letter-spacing:-.04em}
.hero-lead{max-width:30em;margin:28px auto 0;font-size:20px;line-height:1.75;color:var(--muted)}
.actions{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:40px}
.actions .button{min-width:220px}

/* The product stage: a tinted, rounded ground with the screen raised on it. */
.stage{
  margin-top:80px;padding:56px 56px 0;border-radius:32px 32px 0 0;
  background:linear-gradient(180deg,var(--soft) 0%,color-mix(in srgb,var(--soft) 50%,var(--bg)) 100%);
  border:1px solid var(--line);border-bottom:0
}
.screen{
  border-radius:14px 14px 0 0;overflow:hidden;background:#111;
  box-shadow:0 -1px 0 rgba(21,33,37,.08),0 30px 80px -30px rgba(21,33,37,.45),0 12px 24px -12px rgba(21,33,37,.25)
}
.screen img,.screen video{width:100%;height:auto}

/* Workflow: one segmented control switches the video (Paste "Built for how you work"). */
.tabs{display:flex;justify-content:center;margin-top:48px}
.tablist{
  display:inline-flex;gap:4px;padding:5px;border-radius:999px;
  background:#fff;border:1px solid var(--line);box-shadow:0 8px 24px -16px rgba(21,33,37,.25)
}
.tablist button{
  min-height:48px;padding:0 28px;border:0;border-radius:999px;background:transparent;color:var(--ink);
  font:600 17px/1 "Hanken Grotesk","Noto Sans JP",sans-serif;cursor:pointer;outline:none;
  transition:background-color 180ms var(--ease),color 180ms var(--ease),transform 120ms var(--ease)
}
.tablist button:hover,.tablist button:focus-visible{background:var(--wash);color:var(--teal)}
.tablist button[aria-selected="true"]{background:var(--teal);color:#fff;box-shadow:0 2px 0 #054e51}
.tablist button:active{transform:translateY(2px);box-shadow:none}
.panel{margin-top:40px}
.panel p{max-width:34em;margin:0 auto;text-align:center;font-size:19px;color:var(--muted)}
.panel .film{margin-top:40px}
.js .panel[hidden]{display:none}
html:not(.js) .tabs{display:none}
html:not(.js) .panel h3{display:block}
.panel h3{display:none;font-size:24px;text-align:center;margin-bottom:12px}
.film{
  border-radius:20px;overflow:hidden;background:#111;
  box-shadow:0 40px 90px -40px rgba(21,33,37,.55),0 14px 30px -18px rgba(21,33,37,.3)
}
.film video{width:100%;aspect-ratio:16/10;object-fit:cover}

/* AI on the dark band. */
.ai-film{margin-top:72px;box-shadow:0 40px 100px -30px rgba(0,0,0,.6)}
.ai-film video{aspect-ratio:1470/1000;object-fit:contain;background:#111}
.ai-notes{
  display:grid;grid-template-columns:1fr 1fr;gap:48px;max-width:1000px;margin:72px auto 0;
  color:rgba(255,255,255,.8)
}
.ai-notes p{font-size:17px}
.ai-more{display:flex;justify-content:center;margin-top:56px}
.band-night .button{background:transparent;border-color:rgba(255,255,255,.5);color:#fff;box-shadow:0 3px 0 rgba(255,255,255,.35)}
.band-night .button:hover,.band-night .button:focus-visible{background:rgba(255,255,255,.1);border-color:#fff;color:#fff;box-shadow:0 3px 0 rgba(255,255,255,.6)}
.band-night .button:active{transform:translateY(3px);box-shadow:none}

/* Download (Paste "Try Paste free"). */
.platforms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:880px;margin:64px auto 0}
.platform{
  display:flex;flex-direction:column;align-items:stretch;
  padding:40px 36px;border-radius:24px;background:#fff;border:1px solid var(--line);text-align:center;
  box-shadow:0 24px 48px -32px rgba(21,33,37,.3)
}
.platform h3{font-size:24px}
.platform p{margin-top:12px;font-size:16px;line-height:1.7;color:var(--muted)}
.platform .button{width:100%;margin-top:auto}
.platform p{margin-bottom:28px}
.download-foot{display:flex;flex-wrap:wrap;justify-content:center;gap:16px 40px;margin-top:56px;font-size:17px}
.download-foot a,.note-line a{color:var(--teal);text-decoration:none;border-bottom:1px solid #91aeae;padding:2px 0;outline:none;transition:border-color 180ms var(--ease),background-color 180ms var(--ease)}
.download-foot a:hover,.download-foot a:focus-visible,.note-line a:hover,.note-line a:focus-visible{border-bottom-color:var(--teal);background:var(--wash)}
.note-line{max-width:44em;margin:40px auto 0;text-align:center;font-size:17px;color:var(--muted)}

/* Header and footer sizes on this page (shared rules live in brand.css). */
.header{position:sticky;top:0;z-index:50;background:rgba(250,249,246,.9);backdrop-filter:blur(16px);border-bottom:1px solid rgba(221,223,220,.7)}
.header-row{height:76px;display:flex;align-items:center;gap:32px}
.brand{display:inline-flex;align-items:center;gap:9px;font-size:26px;font-weight:700;letter-spacing:-1.2px;line-height:1;text-decoration:none;flex-shrink:0}
.brand-accent{color:var(--teal)}
.desktop-nav{display:flex;gap:32px;margin-left:auto}
.desktop-nav a{text-decoration:none}
.footer{padding-block:72px 40px}
.footer-top{display:flex;align-items:center;justify-content:space-between;gap:30px}
.footer-top nav{display:flex;gap:28px}
.footer-top nav a{text-decoration:none}
.footer-bottom{border-top:1px solid var(--line);padding-top:24px;margin-top:40px;display:flex;justify-content:space-between;gap:20px;color:var(--muted)}

@media(max-width:1000px){
  :root{--band:112px}
  .ai-notes{grid-template-columns:1fr;gap:24px;max-width:40em}
}
@media(max-width:900px){
  .desktop-nav{display:none}
  .header-download{margin-left:auto}
  .mobile-menu{display:block;position:relative}
  .mobile-menu summary{height:44px;width:44px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;cursor:pointer;list-style:none}
  .mobile-menu summary::-webkit-details-marker{display:none}
  .mobile-menu summary span{width:21px;height:1.5px;background:var(--ink);display:block;transition:transform .2s}
  .mobile-menu[open] summary span:first-child{transform:translateY(3.75px) rotate(45deg)}
  .mobile-menu[open] summary span:last-child{transform:translateY(-3.75px) rotate(-45deg)}
  .mobile-menu nav{position:absolute;right:0;top:55px;min-width:240px;max-width:calc(100vw - 40px);background:var(--bg);border:1px solid var(--line);border-radius:10px}
  .mobile-menu nav a{display:block;text-decoration:none}
  .stage{padding:32px 32px 0;margin-top:64px}
  .footer-top{align-items:start}
}
@media(max-width:600px){
  :root{--band:88px}
  .shell{width:calc(100% - 32px)}
  .header-row{height:64px;gap:12px}
  .brand{font-size:23px;gap:6px}
  .brand img{width:25px;height:25px}
  .header-download{display:none!important}
  .lang-switch{margin-left:auto}
  .mobile-menu{margin-left:0}
  .hero{padding-top:64px}
  .hero h1{font-size:34px;line-height:1.4}
  .hero-lead,.head p{font-size:18px;margin-top:20px}
  .actions{display:grid;gap:12px;margin-top:32px}
  .actions .button{width:100%;min-width:0}
  .stage{margin-top:48px;padding:16px 16px 0;border-radius:20px 20px 0 0}
  .screen{border-radius:8px 8px 0 0}
  .screen img{aspect-ratio:4/3;object-fit:cover;object-position:30% top}
  .head h2{font-size:28px}
  .tabs{margin-top:36px}
  .tablist button{padding:0 18px;min-height:46px}
  .panel{margin-top:28px}
  .panel p{font-size:17px;text-align:left}
  .panel .film{margin-top:28px}
  .film{border-radius:12px}
  .ai-film{margin-top:48px}
  .ai-notes{margin-top:48px}
  .ai-more{margin-top:40px}
  .ai-more .button{width:100%}
  .platforms{grid-template-columns:1fr;margin-top:40px;gap:16px}
  .platform{padding:28px 24px;border-radius:18px}
  .download-foot{gap:12px 28px;margin-top:40px}
  .footer{padding-block:48px 32px}
  .footer-top{display:block}
  .footer-top nav{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;margin-top:24px}
  .footer-bottom{display:block}
}
.head p,.hero-lead,.panel p{text-wrap:pretty}
