/* =========================================================================
   Sectors — Site Stylesheet
   Sections: Variables · Reset · Typography · Layout Shells ·
             Header · Hero · Video Panel · Description · Features ·
             Screenshot/Video Grid · Notes & Specs Panels · CTA · Footer ·
             Content Pages (Support / Privacy) · Responsive
   ========================================================================= */

/* ---- Variables --------------------------------------------------------- */
:root {
  --color-bg: #212426;
  --color-ink: #274D9E;       /* primary accent (wordmark, headings) */
  --color-accent: #4A79D8;    /* button gradient top / links */
  --color-body-text: #C9C9C2; /* paragraph copy on dark background */
  --color-muted: #8b9096;     /* secondary/quiet text */
  --color-panel-top: #DEDED8; /* embossed hardware-panel gradient */
  --color-panel-bottom: #CFCFC8;
  --color-panel-text: #2B2B28;
  --color-screw: #9A9A94;

  --font-serif: Georgia, 'Times New Roman', serif;

  --max-width-wide: 1160px;
  --max-width-narrow: 760px;
}

/* ---- Reset -------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  font-family: var(--font-serif);
  color: var(--color-body-text);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-accent);
}

a:hover {
  color: var(--color-ink);
}

::selection {
  background: var(--color-accent);
  color: #fff;
}

/* ---- Layout shells -------------------------------------------------------
   Reused width/centering pattern: full-bleed section wrapper with a
   centered, max-width inner container and consistent side padding. */
.section {
  width: 100%;
  padding: 0 48px;
  box-sizing: border-box;
}

.section--wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.section--narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Header --------------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  max-width: var(--max-width-wide);
  width: 100%;
  margin: 0 auto;
}

.wordmark {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--color-ink);
  text-decoration: none;
}

/* Glossy hardware-style button shared by header + bottom CTA */
.button-glossy {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  background: radial-gradient(circle at 35% 22%, var(--color-accent) 0%, var(--color-accent) 35%, var(--color-ink) 78%, #1b3670 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -6px 10px rgba(0, 0, 0, 0.25),
    0 6px 14px rgba(0, 0, 0, 0.4);
}

.button-glossy--small {
  font-size: 13px;
  padding: 8px 16px;
}

.button-glossy--large {
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 10px;
  gap: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -6px 10px rgba(0, 0, 0, 0.25),
    0 10px 22px rgba(0, 0, 0, 0.45),
    0 2px 0 rgba(0, 0, 0, 0.3);
}

/* ---- Hero --------------------------------------------------------------- */
.hero {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.05;
  color: var(--color-ink);
  margin: 0 0 20px;
  text-wrap: balance;
}

/* ---- Video panel (hero screenshot / demo) ------------------------------- */
.video-panel-wrap {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.video-panel {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1231 / 2013;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Description --------------------------------------------------------*/
.description {
  margin-top: 40px;
  text-align: center;
}

.description p {
  font-size: 19px;
  line-height: 1.7;
  margin: 0;
  text-wrap: pretty;
}

/* ---- Features section ---------------------------------------------------*/
.features {
  margin-top: 64px;
}

.section-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--color-ink);
  text-align: center;
  margin-bottom: 28px;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Embossed hardware-panel card, reused by feature cards, notes, and specs */
.panel-card {
  position: relative;
  background: linear-gradient(to bottom, var(--color-panel-top), var(--color-panel-bottom));
  border-radius: 14px;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}

/* Corner "screws" decoration shared across panels */
.panel-screw {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-screw);
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.panel-screw--tl { left: 12px; top: 12px; }
.panel-screw--tr { right: 12px; top: 12px; }
.panel-screw--bl { left: 12px; bottom: 12px; }
.panel-screw--br { right: 12px; bottom: 12px; }

.feature-card {
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card .panel-screw {
  width: 7px;
  height: 7px;
}

.feature-card .panel-screw--tl,
.feature-card .panel-screw--bl { left: 9px; }
.feature-card .panel-screw--tr,
.feature-card .panel-screw--br { right: 9px; }
.feature-card .panel-screw--tl,
.feature-card .panel-screw--tr { top: 9px; }
.feature-card .panel-screw--bl,
.feature-card .panel-screw--br { bottom: 9px; }

.feature-tag {
  align-self: center;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 6px;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -3px 5px rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.25);
}

/* Per-feature tag colors */
.feature-tag--blue    { background: radial-gradient(circle at 35% 25%, #4A79D8 0%, #4A79D8 40%, rgba(74,121,216,0.85) 100%); }
.feature-tag--orange  { background: radial-gradient(circle at 35% 25%, #E8963C 0%, #E8963C 40%, rgba(232,150,60,0.85) 100%); }
.feature-tag--red     { background: radial-gradient(circle at 35% 25%, #D85A30 0%, #D85A30 40%, rgba(216,90,48,0.85) 100%); }
.feature-tag--teal    { background: radial-gradient(circle at 35% 25%, #5CC9A6 0%, #5CC9A6 40%, rgba(92,201,166,0.85) 100%); }

.feature-blurb {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(43, 43, 40, 0.7);
}

/* ---- Screenshot / clip video grid --------------------------------------- */
.clip-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.clip-frame {
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  background: #000;
}

.clip-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clip-caption {
  font-size: 12px;
  color: var(--color-muted);
  text-align: center;
  margin-top: 10px;
}

/* ---- Notes & Technical specifications panels ---------------------------- */
.notes,
.specs {
  margin-top: 64px;
}

.notes-panel {
  padding: 26px 28px;
}

.notes-panel p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-panel-text);
  margin: 0 0 10px;
}

.notes-panel p:last-child {
  margin-bottom: 0;
  color: rgba(43, 43, 40, 0.7);
}

.notes-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--color-ink);
  margin-bottom: 12px;
}

.notes-steps {
  margin: 0 0 22px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notes-steps li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-panel-text);
}

.specs-panel {
  overflow: hidden;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.spec-label {
  font-size: 14px;
  color: var(--color-panel-text);
  font-weight: 600;
}

.spec-value {
  font-size: 13px;
  color: rgba(43, 43, 40, 0.75);
  text-align: right;
}

/* ---- Bottom CTA ----------------------------------------------------------*/
.bottom-cta {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bottom-cta .wordmark-large {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--color-ink);
  margin-bottom: 10px;
}

.bottom-cta p {
  font-size: 16px;
  color: var(--color-muted);
  margin: 0 0 24px;
}

/* ---- Footer ----------------------------------------------------------- */
.site-footer {
  margin-top: 96px;
  padding: 28px 48px;
  border-top: 1px solid rgba(231, 231, 225, 0.08);
}

.site-footer-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--color-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  font-size: 13px;
  color: var(--color-muted);
}

/* ---- Content pages (Support / Privacy) ----------------------------------*/
.page-header {
  padding: 24px 48px;
}

.page-content {
  padding: 24px 48px 96px;
}

.page-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 34px;
  color: var(--color-ink);
  margin: 0 0 8px;
}

.page-subtitle {
  font-size: 16px;
  color: var(--color-muted);
  margin: 0 0 32px;
}

.page-date {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 32px;
}

.summary-panel {
  background: #D7D7D2;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.15);
  padding: 28px 32px;
  margin-bottom: 28px;
}

.summary-panel p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-panel-text);
  margin: 0;
}

.content-sections {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.content-block h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--color-ink);
  margin: 0 0 10px;
}

.content-block p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 10px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.content-block ul,
.content-block ol {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content-block li {
  font-size: 15px;
  line-height: 1.7;
}

.control-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.control-item p {
  margin: 0;
}

.control-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 6px;
  color: #fff;
  box-shadow: inset 0 0 0 0.8px rgba(0, 0, 0, 0.35);
  margin-bottom: 8px;
}

.page-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(231, 231, 225, 0.08);
  display: flex;
  gap: 24px;
}

.page-footer a {
  text-decoration: none;
  font-size: 13px;
  color: var(--color-muted);
}
