/* Connect E2E synthetic test site — single minimalist stylesheet.
   Light-only, no external dependencies (system fonts, inline SVG images).
   Kept intentionally small and generic so any common site component can be
   added by copying an existing block. */

:root {
  --bg: #ffffff;
  --surface: #f7f8fa;
  --text: #1c2430;
  --muted: #5b6472;
  --border: #e3e7ee;
  --accent: #2f6bff;
  --accent-contrast: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(20, 30, 50, 0.08), 0 6px 20px rgba(20, 30, 50, 0.05);
  --space: 1rem;
  --max-width: 960px;
  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Typography */
h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 650;
}
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.4rem;
}
h3 {
  font-size: 1.1rem;
}
p {
  margin: 0 0 1rem;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
blockquote {
  margin: 0 0 1rem;
  padding: 0.5rem 1rem;
  border-left: 3px solid var(--accent);
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 1rem;
}
.brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.brand:hover {
  text-decoration: none;
}
.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.nav a {
  color: var(--text);
}

/* Sections */
main {
  padding: 2.5rem 0 3rem;
}
section {
  margin-bottom: 3rem;
}
.hero {
  text-align: center;
  padding: 2rem 0;
}
.hero .btn {
  margin-top: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--border);
}
.card > :not(.card-media) {
  margin-left: 1rem;
  margin-right: 1rem;
}
.card h3 {
  margin-top: 1rem;
}
.card .btn {
  margin-bottom: 1rem;
}
.price {
  font-weight: 700;
  color: var(--text);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 0.72rem;
  font-weight: 600;
  vertical-align: middle;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.breadcrumb a {
  color: var(--muted);
}

/* Product detail */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.product-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--border);
}
.product-specs {
  color: var(--muted);
}

/* Forms */
.form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
label {
  font-size: 0.85rem;
  font-weight: 600;
}
input,
select,
textarea {
  font: inherit;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  min-width: 220px;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
}
th,
td {
  text-align: left;
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
tfoot td {
  font-weight: 700;
  border-bottom: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 0;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--muted);
}

/* Responsive */
@media (max-width: 640px) {
  h1 {
    font-size: 1.6rem;
  }
  .product {
    grid-template-columns: 1fr;
  }
}
