@charset "utf-8";

/* SI30 v5: product pages. Loaded AFTER /assets/si30.css on /invoices/ and /orb/ (si30.css and si30.js
   are never edited). Same tokens, same grounds, 0-radius edges, Archivo only. */

/* ── /orb/ hero: the wide photograph behind the copy (desktop), the portrait above it (phones) ── */

.orb-hero .hero__orb picture,
.orb-hero .hero__orb img { display: block; width: 100%; }

@media (min-width: 1024px) {
  .orb-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(600px, 50vw, 960px);
    display: flex;
    align-items: center;
  }

  /* the copy sits above the photo; .wrap stays unpositioned so the photo's containing block is the section */
  .orb-hero .hero__copy { grid-column: 1 / span 6; position: relative; z-index: 1; }

  /* the photo is the ground: its left side was left clear for the headline */
  .orb-hero .hero__orb {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
  }

  .orb-hero .hero__orb picture,
  .orb-hero .hero__orb img { height: 100%; }

  .orb-hero .hero__orb img {
    object-fit: cover;
    object-position: 100% 40%;
  }

  .orb-hero .orb-caption {
    position: absolute;
    right: max(var(--pad), calc((100vw - var(--container)) / 2 + var(--pad)));
    bottom: 24px;
    margin: 0;
    max-width: 34ch;
    text-align: right;
  }
}

@media (max-width: 1023px) {
  .orb-hero .hero__copy,
  .orb-hero .hero__orb { grid-column: 1 / -1; justify-self: stretch; }
}

@media (max-width: 767px) {
  .orb-hero .hero__orb picture { max-width: 520px; margin-inline: auto; }
  .orb-hero .orb-caption { margin-inline: auto; text-align: center; }
}

/* ── /orb/ five faces, one desk ─────────────────────────────────────── */

.orb-lineup__fig {
  margin: 40px 0 0;
  background: #000;
}

.orb-lineup__fig img { display: block; width: 100%; }

/* ── /orb/ the Mac companion, in a drawn laptop (no marks, no logos) ── */

/* padding leaves room for the base, which is wider than the lid */
.laptop {
  margin: 48px auto 0;
  max-width: 1160px;
  padding-inline: 6%;
}

.laptop__lid {
  background: #0B0E11;
  padding: 2.2% 2.2% 3%;
  border-radius: 14px 14px 0 0;
  box-shadow: inset 0 0 0 1px #2A3138;
}

.laptop__screen {
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 10;
}

.laptop__screen picture,
.laptop__screen img { display: block; width: 100%; height: 100%; }

.laptop__screen img { object-fit: cover; object-position: 0 0; }

/* the base: a thin slab, wider than the lid, with a finger notch */
.laptop__base {
  position: relative;
  height: 18px;
  margin-inline: -6%;
  background: #B4BAC0;
  border-radius: 0 0 16px 16px;
}

.laptop__base::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 14%;
  height: 7px;
  transform: translateX(-50%);
  background: #8D949B;
  border-radius: 0 0 8px 8px;
}

.laptop figcaption {
  margin: 28px auto 0;
  max-width: 60ch;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .laptop__lid { border-radius: 8px 8px 0 0; }
  .laptop__base { height: 10px; margin-inline: -4%; border-radius: 0 0 10px 10px; }
  .laptop__base::before { height: 4px; }
  .laptop { padding-inline: 4%; }
}

/* ── /invoices/ ─────────────────────────────────────────────────────── */

.inv-status {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 600;
  color: var(--amber);
}

.inv-cta { margin-top: 28px; }

.inv-hero__mock {
  grid-column: 8 / span 5;
  align-self: center;
  margin: 0;
}

.inv-hero__mock .orb-caption { margin-top: 16px; }

.inv-feats {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gutter);
  border-top: 1px solid var(--rule);
}

.inv-feats div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  column-gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.inv-feats dt {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-variation-settings: "wdth" 95, "wght" 700;
}

.inv-feats dd { margin: 0; color: var(--muted); }

.inv-cols { margin-top: 36px; }

.inv-last__lede { margin-top: 20px; }

/* the invoice illustration (fictional data) */
.invmock {
  background: var(--paper);
  color: var(--ink);
  padding: 32px 32px 36px;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.invmock__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.invmock__kind { font-size: 22px; font-weight: 800; font-variation-settings: "wdth" 80, "wght" 800; }
.invmock__no { color: rgba(14, 18, 21, 0.62); font-variant-numeric: tabular-nums; }
.invmock__biz { margin-top: 14px; font-weight: 700; }
.invmock__biz span { font-weight: 400; color: rgba(14, 18, 21, 0.62); }
.invmock__lines { margin-top: 18px; }

.invmock__lines p,
.invmock__tot p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px 84px;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(14, 18, 21, 0.14);
  font-variant-numeric: tabular-nums;
}

.invmock__lines p > span:nth-child(n+2),
.invmock__tot p > span:last-child { text-align: right; }

.invmock__th { font-size: 12px; font-weight: 600; color: rgba(14, 18, 21, 0.62); }

.invmock__tot { margin: 6px 0 0 36%; }
.invmock__tot p { grid-template-columns: minmax(0, 1fr) 84px; }
.invmock__due { font-weight: 800; border-bottom: 0 !important; }

@media (max-width: 960px) {
  .inv-hero__mock { grid-column: 1 / -1; max-width: 520px; }
  .inv-feats { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .invmock { padding: 20px 18px 24px; font-size: 13px; }
  .invmock__kind { font-size: 18px; }
  .invmock__lines p { grid-template-columns: minmax(0, 1fr) 36px 70px; gap: 8px; }
  .invmock__tot { margin-left: 20%; }
  .invmock__tot p { grid-template-columns: minmax(0, 1fr) 70px; }
  .inv-feats div { grid-template-columns: 1fr; row-gap: 4px; }
}
