:root {
  --red: #b40101;
  --red-dark: #7f0000;
  --ink: #111111;
  --charcoal: #282828;
  --muted: #666666;
  --line: #dddddd;
  --paper: #ffffff;
  --soft: #f7f7f7;
  --gutter: clamp(36px, 8vw, 128px);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px var(--gutter);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.brand strong {
  font-size: clamp(23px, 2.5vw, 33px);
  letter-spacing: -0.5px;
}

.brand strong span {
  color: var(--red);
}

.brand small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-image img {
  display: block;
  width: 148px;
  height: auto;
  background: #ffffff;
}

.brand-stack {
  align-items: flex-start;
  gap: 8px;
}

.iuliucci-team-logo {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
  background: #ffffff;
}

.brand-stack img:first-child {
  width: 230px;
}

.iuliucci-logo {
  display: block;
  width: 184px;
  padding: 9px 11px 10px;
  color: #4b4b4b;
  background: #ffffff;
  line-height: 1;
}

.iuliucci-logo span {
  display: block;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.iuliucci-logo b {
  color: #c9002b;
  font-size: 23px;
  font-weight: 900;
}

.iuliucci-logo small {
  display: block;
  margin-top: 3px;
  color: #8a8a8a;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.iuliucci-logo em {
  display: block;
  margin-top: 12px;
  color: #4b4b4b;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
}

.iuliucci-logo em b {
  margin-right: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 8px;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--red);
  border-color: var(--red);
}

.header-cta {
  display: none;
}

.home-page {
  background: #020202;
}

.home-page .site-header {
  min-height: 136px;
  padding: 12px var(--gutter);
  background: #050505;
  border-bottom: 1px solid #1e75a7;
  box-shadow: none;
}

.home-page .top-nav {
  justify-content: center;
  flex: 1;
}

.home-page .top-nav a:nth-child(n+5) {
  display: none;
}

.home-page .top-nav a {
  color: #f2f2f2;
  font-size: 16px;
  font-weight: 500;
}

.home-page .top-nav a:hover,
.home-page .top-nav a:focus-visible {
  color: #ffffff;
  border-color: #ffffff;
}

.home-page .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: #111111;
  background: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  border-radius: 6px;
}

.hero {
  padding: clamp(60px, 9vw, 110px) var(--gutter);
  background:
    linear-gradient(90deg, var(--red) 0 16px, transparent 16px),
    radial-gradient(circle at 92% 20%, rgba(180, 1, 1, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7f7f7 58%, #eeeeee 100%);
}

.home-page .hero {
  min-height: 614px;
  padding: clamp(36px, 5vw, 58px) var(--gutter);
  color: #ffffff;
  background: #020202;
  border-bottom: 1px solid #1e75a7;
}

.home-page .hero-inner {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(44px, 6vw, 86px);
  align-items: start;
}

.home-page .eyebrow {
  color: #ffffff;
}

.home-page .hero h1 {
  max-width: 700px;
  color: #ffffff;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.12;
}

.home-page .hero p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 18px;
  color: #ffffff;
  font-size: clamp(15.5px, 1.45vw, 17px);
  line-height: 1.48;
}

.home-page .hero p + p:not(.eyebrow) {
  padding-left: 0;
  border-left: 0;
  font-size: clamp(15.5px, 1.45vw, 17px);
}

.home-page .button {
  min-height: 52px;
  padding: 0 20px;
  color: #080808;
  background: #ffffff;
  border-color: #ffffff;
  border-radius: 6px;
}

.home-page .button.secondary {
  color: #080808;
  background: #ffffff;
}

.home-hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border-radius: 4px;
  background: #111111;
}

.home-hero-photo img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.home-hero-photo span {
  position: absolute;
  left: 38px;
  bottom: 70px;
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  padding: 0 18px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.72);
  border: 3px solid #ffffff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--charcoal);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}

.hero p + p:not(.eyebrow) {
  max-width: 790px;
  padding-left: 18px;
  border-left: 5px solid var(--red);
  font-size: clamp(16px, 1.8vw, 19px);
}

.hero-card {
  padding: clamp(24px, 4vw, 36px);
  color: #ffffff;
  background: var(--ink);
  border-left: 8px solid var(--red);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.hero-graphic-card {
  background:
    linear-gradient(180deg, #ffffff 0 40%, var(--ink) 40% 100%);
}

.hero-graphic-card img {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin: 0 0 34px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.hero-card strong {
  display: block;
  color: #ffffff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.hero-card p {
  margin: 16px 0 0;
  color: #f4f4f4;
  font-size: 16px;
  line-height: 1.5;
}

.hero-card a {
  display: inline-flex;
  margin-top: 22px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  border: 2px solid var(--red);
}

.button.primary {
  color: #ffffff;
  background: var(--red);
}

.button.secondary {
  color: var(--red);
  background: #ffffff;
}

.button.dark {
  color: #ffffff;
  border-color: #ffffff;
  background: transparent;
}

.home-page .button.primary,
.home-page .button.secondary {
  color: #080808;
  background: #ffffff;
  border-color: #ffffff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gamma-statement {
  padding: clamp(44px, 7vw, 84px) var(--gutter);
  color: #ffffff;
  background:
    linear-gradient(90deg, var(--red) 0 16px, transparent 16px),
    var(--ink);
}

.gamma-statement-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.gamma-statement h2 {
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 0.98;
}

.gamma-statement p:not(.eyebrow) {
  max-width: 860px;
  margin: 20px 0 0;
  color: #f2f2f2;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.gamma-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 920px;
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.gamma-proof article {
  min-height: 154px;
  padding: clamp(22px, 3vw, 30px);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.gamma-proof strong {
  display: block;
  color: #ffffff;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
}

.gamma-proof span {
  display: block;
  margin-top: 12px;
  color: #f1f1f1;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.gamma-flow {
  padding: clamp(46px, 7vw, 86px) var(--gutter);
  background: #ffffff;
}

.gamma-flow-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.gamma-flow h2 {
  max-width: 860px;
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 0.98;
}

.gamma-flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.gamma-flow-list article,
.gamma-flow-list .process-card {
  min-height: 280px;
  padding: clamp(22px, 3vw, 30px);
  color: inherit;
  text-decoration: none;
  background: #ffffff;
}

.gamma-flow-list span,
.gamma-flow-list .process-card span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.gamma-flow-list h3,
.gamma-flow-list .process-card h3 {
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.04;
}

.gamma-flow-list p,
.gamma-flow-list .process-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.process-card:hover,
.process-card:focus-visible {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.10);
  transform: translateY(-2px);
}

.stats article {
  min-height: 170px;
  padding: clamp(24px, 4vw, 42px);
  background: #ffffff;
}

.stats strong {
  display: block;
  color: var(--red);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 12px;
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.4;
}

.band {
  padding: clamp(42px, 6vw, 78px) var(--gutter);
  background: #ffffff;
}

.band.soft {
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto 28px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--red);
}

.section-heading h2,
.page-hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.card-grid,
.steps,
.buyer-grid,
.faq-grid,
.story-grid {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  gap: 16px;
}

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

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

.story-grid,
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.step,
.buyer,
.faq,
.story {
  color: inherit;
  text-decoration: none;
  padding: clamp(22px, 3vw, 32px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
}

a.card:hover,
a.card:focus-visible {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.10);
  transform: translateY(-2px);
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #ffffff;
  background: var(--red);
  font-weight: 900;
}

.card h3,
.step h3,
.buyer h3,
.faq h3,
.story h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.08;
}

.card p,
.step p,
.buyer p,
.faq p,
.story p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.page-hero {
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  background:
    linear-gradient(90deg, var(--red) 0 16px, transparent 16px),
    linear-gradient(135deg, #ffffff 0%, #f8f8f8 54%, #eeeeee 100%);
}

.page-hero > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.compare-table {
  width: min(100%, var(--max));
  margin: 0 auto;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--line);
}

.compare-table th,
.compare-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  color: #ffffff;
  background: var(--ink);
}

.compare-table td:first-child {
  font-weight: 900;
}

.search-frame-wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.08);
}

.search-frame {
  display: block;
  width: 100%;
  min-height: 880px;
  border: 0;
}

.search-embed-section {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

.search-embed-section iframe {
  display: block;
}

.detail-list {
  display: grid;
  width: min(100%, var(--max));
  margin: 0 auto;
  gap: 16px;
}

.detail-list article {
  padding: clamp(22px, 3vw, 30px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
}

.detail-list h3 {
  font-size: clamp(22px, 2.6vw, 30px);
}

.detail-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.feature-stack {
  display: grid;
  width: min(100%, var(--max));
  margin: 0 auto;
  gap: 16px;
}

.feature-stack.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-stack article {
  padding: clamp(22px, 3vw, 32px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
}

.feature-stack h3 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.feature-stack p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.resource-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
}

.resource-links a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 14px 16px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.resource-links a:hover,
.resource-links a:focus-visible {
  color: var(--red);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.seller-options-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 8px solid var(--red);
}

.seller-options-panel img {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.seller-options-panel h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.seller-options-panel p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.seller-options-panel .button {
  margin-top: 22px;
}

.cta {
  padding: clamp(42px, 6vw, 76px) var(--gutter);
  color: #ffffff;
  background: var(--ink);
}

.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.cta h2 {
  max-width: 780px;
  color: #ffffff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.cta p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #f1f1f1;
  font-size: 17px;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px var(--gutter);
  color: #ffffff;
  background: #080808;
}

.site-footer p {
  margin: 0;
  color: #f2f2f2;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .hero-inner,
  .stats,
  .card-grid,
  .steps,
  .buyer-grid,
  .faq-grid,
  .story-grid,
  .gamma-proof,
  .gamma-flow-list,
  .feature-stack.two-column,
  .resource-links {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading .button {
    margin-top: 16px;
  }

  .home-page .site-header {
    align-items: stretch;
  }

  .home-page .header-cta {
    width: fit-content;
  }

  .home-page .hero-inner {
    grid-template-columns: 1fr;
  }

  .home-hero-photo,
  .home-hero-photo img {
    min-height: 360px;
    height: 360px;
  }

  .seller-options-panel {
    grid-template-columns: 1fr;
  }
}
