/* experiencenet website. White theme matching the existing brand: white
   ground, the purple HYDRA experiencenet logo, purple headings, dark text.
   The product photography carries the dark purple stage light; the page
   around it stays clean and white. System fonts only: the site loads nothing
   from anyone else's servers. */

:root {
  --ground: #ffffff;
  --panel: #f7f6fb;
  --panel-edge: #e6e3f0;
  --text: #1c1c26;
  --muted: #5d5d70;
  --accent: #5613c9;
  --accent-hot: #ff2d78;
  --diamond: #8b8b9e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--text); }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--panel-edge);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }

.brand img { height: 40px; width: auto; }

.brand img.mark { height: 44px; }

nav.site a {
  text-decoration: none;
  color: var(--muted);
  margin-left: 28px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

nav.site a:hover, nav.site a.active { color: var(--accent); }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 20% -10%, rgba(86, 19, 201, 0.07), transparent 60%),
    radial-gradient(900px 500px at 85% 0%, rgba(255, 45, 120, 0.05), transparent 60%),
    var(--ground);
  padding: 96px 0 72px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.hero p.lead {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 36px;
}

/* Buttons */

.button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover { filter: brightness(1.15); }

/* The border carries the whole button: a panel-edge grey reads as nothing on
   white, so it is tinted with the accent instead. */
.button.ghost {
  border: 1px solid rgba(86, 19, 201, 0.35);
  color: var(--accent);
  margin-left: 12px;
}

.button.ghost:hover { border-color: var(--accent); background: rgba(86, 19, 201, 0.06); }

/* Sections */

section.block { padding: 72px 0; }

section.block.alt { background: var(--panel); border-top: 1px solid var(--panel-edge); border-bottom: 1px solid var(--panel-edge); }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-hot);
  margin: 0 0 12px;
}

section.block h2 {
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 16px;
  font-weight: 800;
  color: var(--accent);
}

section.block p { color: var(--muted); max-width: 680px; }

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: var(--ground);
  border: 1px solid var(--panel-edge);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(28, 28, 38, 0.04);
}

.card:hover { border-color: var(--accent); }

.card h3 { font-size: 24px; margin: 0 0 12px; font-weight: 800; color: var(--accent); }

.card p { color: var(--muted); margin: 0 0 24px; flex: 1; }

.card img { border-radius: 10px; margin-bottom: 24px; }

.card .price { font-size: 15px; color: var(--text); font-weight: 700; margin-bottom: 16px; }

.card a.more { color: var(--accent); text-decoration: none; font-weight: 700; }
.card a.more:hover { text-decoration: underline; }

/* Product hero (mockup layout: full image, then name, tagline, diamond specs) */

.product-hero img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  object-position: center 40%;
}

.product-name {
  padding: 56px 0 0;
}

.product-name h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.product-name .variant {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.tagline {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 300;
  color: var(--text);
  margin: 28px 0 8px;
  line-height: 1.3;
}

/* Diamond spec list, straight from the mockup */

ul.specs {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  max-width: 640px;
}

ul.specs li {
  position: relative;
  padding: 10px 0 10px 34px;
  font-size: 17px;
}

ul.specs li::before {
  content: "\25C6";
  position: absolute;
  left: 4px;
  color: var(--diamond);
  font-size: 11px;
  top: 16px;
}

.price-line {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.price-line .price {
  font-size: 26px;
  font-weight: 800;
}

.price-line .price small { color: var(--muted); font-weight: 400; font-size: 14px; }

/* Steps (self-host) */

ol.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 20px;
  max-width: 680px;
}

ol.steps li {
  counter-increment: step;
  background: var(--ground);
  border: 1px solid var(--panel-edge);
  border-radius: 12px;
  padding: 22px 24px 22px 76px;
  position: relative;
}

ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

ol.steps h3 { margin: 0 0 6px; font-size: 17px; color: var(--accent); }
ol.steps p { margin: 0; font-size: 15px; }

/* Buyer guide. Native disclosures also work without JavaScript. */

[id] { scroll-margin-top: 120px; }
a:focus-visible, summary:focus-visible, .table-scroll:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.more { color: var(--accent); font-weight: 700; }
.purchase-note, .source-note { color: var(--muted); font-size: 14px; }
.source-note { margin-top: 36px; }
.guide-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.guide-nav a { color: var(--accent); font-weight: 700; }
.table-scroll { overflow-x: auto; margin: 28px 0; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; }
caption { text-align: left; color: var(--muted); margin-bottom: 12px; }
th, td { padding: 16px; border-bottom: 1px solid var(--panel-edge); vertical-align: top; }
thead { background: var(--panel); color: var(--accent); }
tbody th { font-weight: 600; }
.table-scroll table { min-width: 580px; }
#budget table { min-width: 0; }
#budget th { width: 60%; }
.callout { padding: 20px; border-left: 3px solid var(--accent); background: var(--panel); }
details { border-bottom: 1px solid var(--panel-edge); padding: 20px 0; }
summary { cursor: pointer; color: var(--accent); font-size: 18px; font-weight: 700; }
details p { margin-bottom: 0; }

/* Laptop requests use a local email draft; nothing is submitted to the server. */
.request-form, .request-draft { max-width: 680px; margin-top: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { min-width: 0; margin-bottom: 24px; }
.request-form label, .request-draft label { display: block; font-weight: 600; margin-bottom: 8px; }
.request-form label span { color: var(--muted); font-weight: 400; }
.request-form input, .request-form textarea, .request-draft textarea {
  display: block; width: 100%; min-width: 0; padding: 12px;
  border: 1px solid var(--panel-edge); border-radius: 6px;
  font: inherit; color: var(--text); background: var(--ground);
}
textarea { resize: vertical; }
input:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px;
}
button.button { border: 0; cursor: pointer; font-family: inherit; }
.form-note { font-size: 14px; }
.request-draft { border-top: 2px solid var(--accent); padding-top: 24px; }
.request-draft h3 { color: var(--accent); }

/* Footer */

footer.site {
  border-top: 1px solid var(--panel-edge);
  padding: 48px 0;
  color: var(--muted);
  font-size: 14px;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--accent); }

/* Phones. The header is the reason this breakpoint is wide: the logo plus
   three nav links need about 390px on one row, so below that the nav goes
   under the logo instead of wrapping into it. */
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .request-form button { width: 100%; }
  .wrap { padding: 0 20px; }

  header.site .wrap {
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  nav.site { width: 100%; }

  .brand img { height: 32px; }
  .brand img.mark { height: 36px; }

  nav.site {
    display: flex;
    justify-content: space-between;
  }

  nav.site a { margin-left: 0; }

  .hero { padding: 56px 0 48px; }

  section.block { padding: 48px 0; }

  /* Full-width buttons: two half-width buttons on a 320px line leave no room
     for their own labels. */
  .button { display: block; text-align: center; }
  .button.ghost { margin-left: 0; margin-top: 12px; }

  .card { padding: 24px; }

  .product-name { padding-top: 40px; }

  /* The variant line is set from the h1 size, which is four lines of it on a
     phone. */
  .product-name .variant { font-size: 0.6em; letter-spacing: 0.04em; }

  .tagline { margin: 20px 0 4px; }

  ul.specs li { font-size: 16px; }

  .price-line { gap: 16px; }
  .price-line .button { width: 100%; }

  ol.steps li { padding: 20px 20px 20px 64px; }
  ol.steps li::before { left: 18px; }

  footer.site { padding: 36px 0; }
  footer.site .wrap { flex-direction: column; gap: 10px; }
}

.hardware-wordmark { color: var(--accent); font-weight: 850; font-size: 27px; line-height: 1; letter-spacing: .04em; }
.hardware-wordmark small { display: block; font-size: 10px; letter-spacing: .28em; margin-top: 7px; }

@media (max-width: 380px) {
  nav.site a { font-size: 12px; letter-spacing: 0; }
}
