/* SN Tuning 2T landing.
   Palette from the logo: ink #111a10 (the dark green-black behind the chrome letters), lime #a9d712
   (the dot after SN), green #2a6e1c (the outline green, darkened to 6.3:1 so it can be text on white).
   The red/orange/yellow stripes from the logo are the one repeated motif, never used for text.
   Saira: the face the OSS app already ships; its condensed italic matches the posters' race lettering. */

@font-face {
  font-family: "Saira";
  src: url("fonts/saira-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Saira";
  src: url("fonts/saira-latin-standard-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --panel: #f3f7ec;
  --ink: #111a10;
  --ink-2: #4a5545;
  --green: #2a6e1c;
  --lime: #a9d712;
  --red: #fd0908;
  --orange: #fa8f03;
  --yellow: #f6d800;
  --wrap: 1120px;
  --pad: clamp(16px, 4vw, 40px);
  --cut: clamp(18px, 3.2vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Saira", system-ui, sans-serif;
  font-size: clamp(16px, 1.05vw + 12px, 18px);
  line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  font-style: italic;
  font-stretch: 78%;
  line-height: 1.02;
  margin: 0;
}
p { margin: 0; }
[id] { scroll-margin-top: 84px; }

/* Interaction base layer (R-39, R-32) */
a, button, summary { cursor: pointer; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.foot :focus-visible { outline-color: var(--lime); }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 14px; font-weight: 700;
}
.skip:focus { top: 8px; color: #fff; }
.nowrap { white-space: nowrap; }

/* Stripes: the three slanted bars from the logo */
.stripes { display: inline-flex; gap: 3px; vertical-align: middle; }
.stripes i { display: block; width: 7px; height: 18px; transform: skewX(-18deg); }
.stripes i:nth-child(1) { background: var(--red); }
.stripes i:nth-child(2) { background: var(--orange); }
.stripes i:nth-child(3) { background: var(--yellow); }
h2 .stripes { margin-right: 14px; transform: translateY(-3px); }
h2 .stripes i { width: 9px; height: 26px; }

/* Wordmark set in type (no logo file supplied) */
.mark {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--ink); text-decoration: none;
  font-style: italic; font-stretch: 80%; font-weight: 900; line-height: 1;
  min-height: 44px;
}
.mark:hover { color: var(--ink); }
.mark-sn { font-size: 34px; letter-spacing: -0.02em; }
.mark-dot { width: 9px; height: 6px; background: var(--lime); align-self: flex-end; margin: 0 4px 9px 0; transform: skewX(-18deg); }
.mark-rest { font-size: 17px; font-weight: 800; text-transform: uppercase; margin-right: 6px; }
.mark-rest b { font-weight: 900; }

/* Buttons: hard slanted edge like the poster banners, never a pill */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font-weight: 800; font-style: italic; font-stretch: 85%; font-size: 17px;
  text-decoration: none; text-align: center; line-height: 1.15;
  border: 2px solid var(--ink);
  transform: skewX(-10deg);
  transition: background-color .12s, color .12s, transform .12s;
}
.btn > span { display: inline-block; transform: skewX(10deg); }
.btn:active { transform: skewX(-10deg) translateY(2px); }
.btn-ink { background: var(--ink); color: var(--lime); }
.btn-ink:hover { background: var(--green); color: #fff; border-color: var(--green); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--ink); color: var(--lime); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Header */
.top { border-bottom: 3px solid var(--ink); background: var(--paper); }
.top-in {
  max-width: var(--wrap); margin: 0 auto; padding: 6px var(--pad);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 20px;
}
.top nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 2px; justify-content: flex-end; }
.top nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--ink); font-weight: 700; text-decoration: none;
}
.top nav a:hover { color: var(--green); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }
.top-wa { min-height: 44px; padding: 0 16px; font-size: 16px; }
@media (min-width: 960px) {
  .top { position: sticky; top: 0; z-index: 20; }
}
@media (max-width: 759px) {
  .top-in { grid-template-columns: 1fr auto; }
  .top nav { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid #d7dfcc; }
  .top nav ul { justify-content: space-between; }
  .top nav a { padding: 0 8px; font-size: 15px; }
  .mark-sn { font-size: 30px; }
  .mark-rest { font-size: 15px; }
}
@media (max-width: 419px) {
  .top nav ul { display: grid; grid-template-columns: repeat(3, 1fr); }
  .top nav a { display: flex; justify-content: center; font-size: 16px; }
}

/* Hero */
.hero {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) var(--pad) clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px); align-items: center;
}
.kicker { font-style: italic; font-weight: 700; color: var(--green); font-size: 17px; margin-bottom: 10px; }
.hero h1 { font-size: clamp(46px, 7.6vw, 96px); font-weight: 900; letter-spacing: -0.01em; }
.hero h1 .nowrap { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding-right: 6px; }
.lead { font-size: clamp(18px, 1.4vw + 12px, 22px); margin: 18px 0 20px; max-width: 34ch; }
.svc { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; max-width: 560px; }
.svc li { padding-left: 18px; position: relative; font-weight: 600; }
.svc li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 4px; background: var(--ink); transform: skewX(-18deg); }
@media (max-width: 1023px) {
  .svc { grid-template-columns: 1fr; }
}
.actions { display: flex; flex-wrap: wrap; gap: 14px 16px; }
.hero-photo { margin: 0; position: relative; justify-self: center; width: min(100%, 360px); }
/* The lime slab behind the photo is the hero's focal accent */
.hero-photo::before {
  content: ""; position: absolute; inset: 22px 22px -22px -22px;
  background: var(--lime); transform: skewX(-6deg);
}
.hero-photo img { position: relative; width: 100%; border: 3px solid var(--ink); }
@media (max-width: 759px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { width: min(78%, 300px); margin: 8px 0 22px; justify-self: start; }
  .svc { grid-template-columns: 1fr; }
}

/* Setting Max: the one full-bleed lime band, cut on a slant top and bottom like the poster */
.band {
  background: var(--lime);
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
  padding: calc(var(--cut) + clamp(32px, 5vw, 64px)) 0;
}
.band-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: start;
}
.band h2 { font-size: clamp(52px, 8vw, 104px); font-weight: 900; }
.band-head > p:not(.price-big) { margin: 0 0 24px; max-width: 36ch; font-weight: 600; }
.price-big { font-style: italic; font-weight: 900; font-stretch: 80%; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; margin: 10px 0 14px; }
.price-big span { display: block; font-size: 17px; font-weight: 700; font-stretch: 100%; }
.setting-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--ink); }
.setting-list > div { padding: 16px 18px 18px 0; border-bottom: 1px solid rgba(17, 26, 16, .45); }
.setting-list > div:nth-child(odd) { padding-right: 22px; }
.setting-list dt { font-style: italic; font-weight: 900; font-stretch: 82%; font-size: 22px; line-height: 1.1; }
.setting-list dd { margin: 4px 0 0; }
@media (max-width: 759px) {
  .band-in { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .setting-list { grid-template-columns: 1fr; }
}

/* Generic sections, with uneven spacing on purpose: the table section breathes most */
.sec { padding: clamp(48px, 7vw, 96px) var(--pad); }
.sec > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.sec-panel { background: var(--panel); }
.sec-head { margin-bottom: clamp(22px, 3vw, 36px); }
.sec-head h2, .mesin-side h2 { font-size: clamp(34px, 4.8vw, 60px); font-weight: 900; }
.sec-head p { margin-top: 12px; max-width: 62ch; color: var(--ink-2); }

/* Boring table */
.boring { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.table-wrap { overflow-x: auto; }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 700; color: var(--ink-2); padding-bottom: 10px; }
thead th {
  background: var(--ink); color: #fff; text-align: right;
  font-style: italic; font-stretch: 85%; font-weight: 800; padding: 12px 14px; line-height: 1.15;
}
thead th:first-child { text-align: left; }
tbody th, tbody td { padding: 13px 14px; border-bottom: 1px solid #cfd8c6; }
tbody th { text-align: left; font-style: italic; font-weight: 900; font-stretch: 85%; font-size: 21px; white-space: nowrap; }
tbody th small { display: block; font-size: 14px; font-weight: 600; font-style: normal; font-stretch: 100%; color: var(--ink-2); }
tbody td { text-align: right; font-weight: 700; font-size: 18px; white-space: nowrap; }
tbody tr:hover { background: var(--panel); }
.extras { border: 3px solid var(--ink); padding: 22px; }
.extras h3 { font-size: 28px; font-weight: 900; margin-bottom: 8px; }
.extras dl { margin: 0 0 20px; }
.extras dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid #cfd8c6; }
.extras dt { font-weight: 600; }
.extras dd { margin: 0 0 0 auto; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 859px) {
  .boring { grid-template-columns: 1fr; }
  .extras { max-width: 460px; }
}
@media (max-width: 479px) {
  thead th, tbody th, tbody td { padding-left: 8px; padding-right: 8px; }
  tbody td { font-size: 16px; }
  tbody th { font-size: 19px; }
  thead th { font-size: 15px; }
}

/* Support part: numbered as on the poster */
.parts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: p; border-top: 3px solid var(--ink); }
.parts > li { counter-increment: p; padding: 20px 24px 24px 0; }
.parts > li + li { padding-left: 24px; border-left: 1px solid #cfd8c6; }
.parts h3 { font-size: 30px; font-weight: 900; margin-bottom: 10px; }
.parts h3::before { content: counter(p) ". "; color: var(--green); }
.parts p + p { margin-top: 8px; }
.parts ul { margin: 10px 0 0; padding-left: 20px; }
.parts ul li { margin: 3px 0; font-weight: 600; }
.sp3r {
  margin-top: clamp(28px, 4vw, 44px);
  background: var(--ink); color: #fff; padding: clamp(22px, 3vw, 34px);
}
.sp3r h3 { color: var(--lime); font-size: clamp(26px, 3vw, 36px); font-weight: 900; margin-bottom: 14px; }
.sp3r ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; }
.sp3r li { font-weight: 700; font-size: 19px; padding-left: 18px; position: relative; }
.sp3r li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 4px; background: var(--lime); transform: skewX(-18deg); }
.sp3r p { color: #cfd8c6; max-width: 70ch; }
@media (max-width: 859px) {
  .parts { grid-template-columns: 1fr; }
  .parts > li + li { padding-left: 0; border-left: 0; border-top: 1px solid #cfd8c6; }
  .sp3r ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 419px) {
  .sp3r ul { grid-template-columns: 1fr; }
}

/* Paket mesin satu set */
.mesin { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.mesin-side .price-big { margin-top: 18px; }
.mesin-photo { margin: 22px 0 14px; width: min(100%, 300px); border: 3px solid var(--ink); background: var(--ink); }
.mesin-photo img { width: 100%; }
.note { font-weight: 700; color: var(--green); }
.mesin-main h3 { font-size: 26px; font-weight: 900; margin-bottom: 12px; }
.mesin-main h3 + .ob-opts { margin-bottom: 16px; }
.parts-19 { columns: 2; column-gap: 32px; padding-left: 0; list-style: none; counter-reset: n; margin: 0 0 32px; border-top: 3px solid var(--ink); padding-top: 8px; }
.parts-19 li { counter-increment: n; break-inside: avoid; display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid #dfe6d6; font-weight: 600; }
.parts-19 li::before { content: counter(n); min-width: 2ch; text-align: right; font-style: italic; font-weight: 900; color: var(--green); font-variant-numeric: tabular-nums; }
.ob-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.ob-opts span { border: 2px solid var(--ink); padding: 6px 14px; font-weight: 800; font-style: italic; transform: skewX(-10deg); }
.info { margin: 0 0 26px; padding-left: 20px; color: var(--ink-2); }
.info li { margin: 6px 0; }
@media (max-width: 859px) {
  .mesin { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .parts-19 { columns: 1; }
}

/* Kaos */
.kaos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.kaos article { display: flex; flex-direction: column; }
.kaos figure { margin: 0 0 16px; background: var(--ink); aspect-ratio: 16 / 10; position: relative; overflow: hidden; border: 3px solid var(--ink); }
.kaos figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.kaos h3 { font-size: 30px; font-weight: 900; margin-bottom: 8px; }
.kaos .quote { font-style: italic; font-weight: 700; color: var(--green); margin-bottom: 6px; }
.kaos .size { margin: 8px 0 18px; font-weight: 700; }
.kaos .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 959px) {
  .kaos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kaos article:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(20px, 3vw, 36px); align-items: start; }
  .kaos article:last-child figure { grid-row: 1 / span 6; }
  .kaos article:last-child .btn { margin-top: 0; justify-self: start; }
}
@media (max-width: 599px) {
  .kaos { grid-template-columns: 1fr; }
  .kaos article:last-child { display: flex; }
}

/* Footer: the ink ground the page ends on */
.foot { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 72px) var(--pad); border-top: 6px solid var(--lime); }
.foot-in { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-end; }
.mark-foot { color: #fff; }
.mark-foot .mark-sn { font-size: 56px; }
.mark-foot .mark-rest { font-size: 26px; }
.mark-foot .mark-dot { width: 14px; height: 9px; margin-bottom: 14px; }
.mark-foot .stripes i { width: 10px; height: 28px; }
.motto { color: #cfd8c6; font-style: italic; font-weight: 700; margin-top: 8px; }
.contact h2 { font-size: 22px; font-weight: 900; color: var(--lime); margin-bottom: 8px; }
.big-link { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 800; font-size: clamp(20px, 2.4vw, 28px); font-style: italic; font-stretch: 85%; }
.big-link:hover { color: var(--lime); }
