:root {
  --bg: #f5f5f7;
  --panel: #ffffff;
  --text: #101010;
  --muted: #5f6470;
  --dark: #0b0c10;
  --dark-2: #13151b;
  --line: rgba(16, 16, 16, 0.08);
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.12);
  --silver: linear-gradient(135deg, #dcdfe4, #f8f9fb);
  --midnight: linear-gradient(135deg, #002c66, #5972ff);
  --blush: linear-gradient(135deg, #efc4d6, #f9e8ef);
  --citrus: linear-gradient(135deg, #d2f04f, #f1ffa2);
  --indigo: linear-gradient(135deg, #485cc7, #7f8ff0);
  --indigo-solid: #5f72dd;

  --radius: 24px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 18px 38px rgba(0, 0, 0, 0.08);

  --brand: #1b66ff;
}

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

/*setting up the respective order levels
/* Desktop order */
.product-card-512 { order: 1; }
.product-card-256 { order: 2; }
.product-card-512-setup { order: 3; }

/* Mobile order */
@media (max-width: 720px) {
  .product-card-256 { order: 1; }
  .product-card-512 { order: 2; }
  .product-card-512-setup { order: 3; }
}

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

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.section-soft {
  background: #eaedf3;
}

.section-image-band {
  padding-top: 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading h2,
.hero-copy h1,
#checkout h2 {
  margin: 0 0 16px;
  line-height: 0.96;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-dark .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.lead,
.section-copy {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.section-dark .lead,
.section-dark .section-copy {
  color: rgba(255, 255, 255, 0.74);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(245, 245, 247, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: 16px;
}

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

.brand-macbook {
  font-weight: 800;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, #12baf8 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.header-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  flex-shrink: 0;
}

.hero-grid,
.checkout-grid,
.local-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.hero-copy {
  padding: 20px 0;
  min-width: 0;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  overflow-wrap: anywhere;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.hero-media-mobile {
  display: none;
}

.hero-media-desktop {
  display: block;
}

.cta-row {
  display: flex;
  gap: 14px;
  margin: 28px 0 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 0;
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
}

.btn-full {
  width: 100%;
  cursor: pointer;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-notes span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.hero-stats div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.hero-stats strong,
.summary-row strong {
  display: block;
  font-size: 1rem;
}

.hero-stats span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.94rem;
}

.feature-grid,
.product-grid,
.info-panels {
  display: grid;
  gap: 22px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.info-panels {
  grid-template-columns: 1fr;
}

.feature-card,
.product-card,
.info-panel,
.checkout-card,
.summary-card,
.image-band-card {
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 26px;
  color: var(--text);
}

.feature-card p {
  color: var(--muted);
  line-height: 1.65;
}

.image-band-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  padding: 24px;
  align-items: center;
}

.image-band-card img {
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.product-card {
  padding: 28px;
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.product-card .btn {
  margin-top: auto;
}

.product-card-featured {
  transform: scale(1.02);
  border: 1px solid rgba(10, 132, 255, 0.35);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.swatch {
  width: 54px;
  height: 54px;
  display: inline-block;
  border-radius: 14px;
  margin-bottom: 6px;
  flex-shrink: 0;
}

.swatch.silver {
  background: var(--silver);
}

.swatch.midnight {
  background: var(--midnight);
}

.swatch.citrus {
  background: var(--citrus);
}

.swatch.indigo {
  background: var(--indigo);
}

.price {
  font-size: 2rem;
  font-weight: 800;
  margin: 8px 0;
  line-height: 1.05;
}

.product-card ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.info-panel {
  padding: 24px;
}

.info-panel p {
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.65;
}

.faq-heading {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  background: #fff;
  border-radius: 22px;
  padding: 18px 22px;
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  color: var(--muted);
  line-height: 1.7;
  margin: 12px 0 0;
}

.summary-card {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-card h3 {
  margin-top: 0;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-row:last-child {
  border-bottom: 0;
}

.summary-row span {
  color: rgba(255, 255, 255, 0.65);
}

.checkout-card {
  padding: 28px;
  background: var(--dark-2);
}

.checkout-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  min-width: 0;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 14px 16px;
  border-radius: 14px;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  color: rgba(255, 255, 255, 0.8);
}

.form-status.success {
  color: #95f2b2;
}

.form-status.error {
  color: #ffb0b0;
}

.site-footer {
  padding: 30px 0 50px;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-wrap p {
  color: var(--muted);
  margin-bottom: 0;
}

/* Tablet */
@media (max-width: 980px) {
  .section {
    padding: 80px 0;
  }

  .feature-grid,
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .checkout-grid,
  .local-grid,
  .faq-grid,
  .image-band-card {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .checkout-grid,
  .faq-grid {
    gap: 28px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .product-card-featured {
    transform: none;
  }

  .hero-media {
    max-width: 720px;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .container {
    width: min(100%, calc(100% - 24px));
  }

  .site-header {
    backdrop-filter: blur(12px);
  }

  .nav-wrap {
    min-height: 64px;
    gap: 12px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
  }

  .hero-media-desktop {
    display: none;
  }

  .hero-media-mobile {
    display: block;
    margin: 10px 0 6px;
  }

  .hero-media-mobile img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .lead,
  .section-copy {
    font-size: 1rem;
    line-height: 1.65;
  }

  .lead {
    margin-top: 10px;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta-row .btn,
  .product-card .btn {
    width: 100%;
  }

  .hero-notes {
    gap: 8px;
  }

  .hero-notes span {
    font-size: 0.88rem;
    padding: 9px 12px;
  }

  .feature-grid,
  .product-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .product-card,
  .info-panel,
  .summary-card,
  .checkout-card {
    padding: 22px;
    border-radius: 20px;
  }

  .badge {
    position: static;
    display: inline-flex;
    width: fit-content;
    margin-bottom: 8px;
  }

  .price {
    font-size: 1.8rem;
  }

  .summary-row {
    align-items: flex-start;
  }

  .summary-row strong {
    text-align: right;
    max-width: 58%;
  }

  .faq-list details {
    padding: 16px 18px;
    border-radius: 18px;
  }

  input,
  select,
  textarea {
    min-height: 52px;
    padding: 14px 15px;
    border-radius: 12px;
  }

  textarea {
    min-height: 120px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-wrap .btn {
    width: 100%;
  }
}

/* Small phones */
@media (max-width: 560px) {
  .container {
    width: min(100%, calc(100% - 20px));
  }

  .section {
    padding: 56px 0;
  }

  .hero-copy h1 {
    font-size: 2.35rem;
  }

  .hero-media img,
  .hero-media-mobile img {
    border-radius: 24px;
  }

  .hero-stats div {
    padding: 16px;
    border-radius: 18px;
  }

  .feature-card,
  .product-card,
  .info-panel,
  .summary-card,
  .checkout-card {
    padding: 18px;
  }

  .btn {
    min-height: 50px;
    padding: 0 18px;
  }

  .summary-row {
    flex-direction: column;
    gap: 4px;
  }

  .summary-row strong {
    text-align: left;
    max-width: 100%;
  }
}

.thank-you-wrap {
  display: flex;
  justify-content: center;
}

.thank-you-card {
  width: min(760px, 100%);
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  color: #fff;
}

.thank-you-card h1 {
  margin: 0 0 16px;
  line-height: 0.96;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}

.thank-you-card .lead {
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 20px;
}

.order-id-box {
  margin: 18px 0 26px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
}

.thank-you-summary {
  margin-bottom: 24px;
}

.thank-you-points {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.thank-you-card .info-panel {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.thank-you-card .info-panel p {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 720px) {
  .thank-you-card {
    padding: 24px;
    border-radius: 20px;
  }

  .thank-you-card h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }
}

/*styling for mobile checkout modifications*/
/* Mobile only: when the summary is moved inside the form */
@media (max-width: 720px) {
  .summary-in-form {
    margin-top: 8px;
    margin-bottom: 8px;
  }
}