/*
 * Levino design tokens, from the client-approved design in docs/design (sizes calibrated per element).
 * Components use these variables only; literal colours belong here and nowhere else.
 */
:root {
  /* Ink and text */
  --ink: #14302A;
  --body: #43524D;
  --body-strong: #2E403A;
  --muted: #56645F;
  --strike: #7A847F;
  --faint: #C4BCAF;
  --on-dark: #FFFFFF;

  /* Surfaces */
  --bg: #F6F1E8;
  --surface: #FFFFFF;
  --surface-soft: #F2ECE2;
  --surface-sunken: #EEE7DB;
  --track: #ECE5D9;
  --line: rgba(20, 48, 42, .09);
  --line-strong: rgba(20, 48, 42, .15);
  --line-dashed: rgba(14, 42, 51, .22);
  --scrim: rgba(14, 42, 51, .38);
  --tab-track: rgba(20, 48, 42, .07);

  /* Teal: primary action and "fits" state */
  --teal-from: #1B8C72;
  --teal-to: #0D5E4B;
  --teal-edge: #0A503F;
  --teal: #0F6A55;
  --teal-strong: #0C5847;
  --teal-ring: #1B8C72;
  --mint: #E3F0E8;
  --mint-soft: #EFF6F1;

  /* Accents */
  --promo: #D63F2C;
  --promo-tint: #FCE5DE;
  --star: #E0A21B;
  --logo-red: #E0412C;
  --warn-ink: #6B4614;
  --warn-bg: #FBF0DF;
  --grip: #D5DEE2;
  --topbar-link: #9FE0C2;
  --topbar-muted: #C9DADF;
  --disabled-bg: #C9D4D8;
  --disabled-edge: #C2CDD1;
  --disabled-ink: #4F656E;

  /* Icon tiles: [from, to, ink] */
  --tile-mint-1: #D5E8DA;
  --tile-mint-2: #B3D5BE;
  --tile-mint-ink: #1E5A42;
  --tile-blue-1: #D3E3F4;
  --tile-blue-2: #AECCEC;
  --tile-blue-ink: #1F4F86;
  --tile-lilac-1: #F3E4B8;
  --tile-lilac-2: #E9CF85;
  --tile-lilac-ink: #6E5210;
  --tile-rose-1: #F5D6C6;
  --tile-rose-2: #EBB59A;
  --tile-rose-ink: #8C3B1E;

  /* World tints */
  --world-tablet: linear-gradient(140deg, #E4F5EE, #CDEBDF);
  --world-hp: linear-gradient(140deg, #E7EFFC, #D0E0F6);
  --world-meja: linear-gradient(140deg, #EFEBFC, #DCD4F5);
  --world-rose: linear-gradient(140deg, #FCEDF0, #F5D3DB);

  /* Rakit setup label dots: the colour of each layer in the illustration */
  --dot-tablet-a: #3FA383;
  --dot-tablet-b: #5BA9D6;
  --dot-tablet-c: #8F84D8;
  --dot-hp-a: #5F8FD5;
  --dot-hp-b: #7C95A8;
  --dot-hp-c: #5FC79E;
  --dot-meja-a: #8F84D8;
  --dot-meja-b: #A99BD8;
  --dot-meja-c: #E191A5;
  /* "Ragu model perangkatmu?" block, as on the Main board: mint top left, blue bottom right */
  /* "Lagi promo" band: the three world tints (mint, sky, lilac) blended very light, the page's one sale moment */
  --promo-band-bg: linear-gradient(110deg, #E2EFE6 0%, #F4E7D2 100%);
  --help-bg: radial-gradient(60% 90% at 15% 0%, #D5E8DA 0%, rgba(213, 232, 218, 0) 70%), radial-gradient(60% 90% at 90% 100%, #F3E4B8 0%, rgba(243, 228, 184, 0) 70%), #F6F1E8;
  --all-colors: conic-gradient(#F3C9CF, #BFD4EE, #C9C3EC, #BFE6D6, #F3C9CF);

  /* Typography */
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --text-2xs: 10px;
  --text-xs: 11px;
  --text-sm: 12px;
  --text-meta: 13px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 16px;
  --text-xl: 19px;
  --title-banner: 25px;
  --title-section: 30px;
  --title-page: 30px;
  --title-display: 40px;
  /* banner title and the promo figure only */
  --tracking-title: -0.03em;
  --tracking-price: -0.02em;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 10px;
  --r-thumb: 12px;
  --r-header: 14px;
  --r-card: 16px;
  --r-lg: 18px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Elevation: thin on purpose (client: "shadow tipis") */
  --shadow-panel: 0 0 0 1px rgba(14, 42, 51, .07), 0 1px 2px rgba(14, 42, 51, .04);
  --shadow-glass: inset 0 1px 0 #FFFFFF, 0 0 0 1px rgba(14, 42, 51, .06), 0 6px 16px -12px rgba(22, 72, 92, .22);
  --shadow-lift: 0 0 0 1px rgba(14, 42, 51, .06), 0 10px 22px -16px rgba(22, 72, 92, .3);
  --shadow-hero: 0 0 0 1px rgba(14, 42, 51, .06), 0 14px 30px -22px rgba(22, 72, 92, .4);
  --shadow-raised: 0 1px 2px rgba(14, 42, 51, .12), 0 4px 10px -6px rgba(14, 42, 51, .3), inset 0 1px 0 #FFFFFF;
  --shadow-btn: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -2px 0 rgba(0, 0, 0, .12), 0 3px 8px -4px rgba(15, 110, 96, .5), 0 1px 2px rgba(14, 42, 51, .12);
  --shadow-btn-hover: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -2px 0 rgba(0, 0, 0, .12), 0 5px 12px -6px rgba(15, 110, 96, .55), 0 1px 2px rgba(14, 42, 51, .12);
  --shadow-btn-press: inset 0 2px 4px rgba(0, 0, 0, .18);
  --shadow-soft: 0 0 0 1px rgba(14, 42, 51, .09), 0 2px 4px -2px rgba(22, 72, 92, .18), inset 0 -1px 0 rgba(14, 42, 51, .05);
  --shadow-tile: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -5px 10px rgba(14, 42, 51, .06), 0 0 0 1px rgba(14, 42, 51, .05), 0 3px 6px -4px rgba(22, 72, 92, .3);
  --shadow-input: inset 0 0 0 1px rgba(14, 42, 51, .1), inset 0 1px 2px rgba(14, 42, 51, .06);
  --shadow-header-bar: 0 1px 0 rgba(14, 42, 51, .08), 0 6px 16px -14px rgba(22, 72, 92, .3);
  --glass-fill: linear-gradient(155deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .6));
  --glass-edge: rgba(255, 255, 255, .95);
  --soft-fill: linear-gradient(180deg, #FFFFFF, #F1EBE1);
  --primary-fill: linear-gradient(180deg, var(--teal-from) 0%, var(--teal-to) 100%);

  /* Layout */
  --wrap: 1440px;
  --gutter: 58px;
  --header-h: 60px;
  --section-gap: 26px;
  --sticky-top: 80px;

  /* Motion */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .15s;
  --t-med: .3s;

  /* Layers */
  --z-header: 20;
  --z-bar: 22;
  --z-fab: 25;
  --z-toast: 50;
}

@media (max-width: 560px) {
  :root {
    --gutter: 16px;
    --section-gap: 24px;
  }
}

@media (min-width: 561px) and (max-width: 767px) {
  :root {
    --section-gap: 28px;
  }
}