:root {
  color: #171717;
  background: #fbfaf8;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: #b86400;
  font-weight: 700;
  text-decoration-color: rgba(184, 100, 0, 0.45);
  text-underline-offset: 4px;
}

.hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #03070d;
  color: #fff;
}

.heroBackdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #03070d 0%, #03070d 47%, rgba(3, 7, 13, 0.82) 55%, rgba(3, 7, 13, 0.18) 68%, rgba(3, 7, 13, 0.02) 100%),
    linear-gradient(180deg, rgba(3, 7, 13, 0), rgba(3, 7, 13, 0.24)),
    url("../assets/hero-reference.jpg") center right / auto 100% no-repeat;
}

.heroContent {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 420px;
  margin: 0 auto;
  padding: 58px 0 52px;
}

.heroCopy {
  width: min(660px, 58%);
}

.logoStrip {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  margin-top: 48px;
  color: #fff;
}

.partnerLogo {
  display: block;
  width: auto;
  object-fit: contain;
}

.sdnLogo {
  height: 56px;
}

.awsLogo {
  height: 38px;
}

.grafanaLogo {
  height: 28px;
}

.divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.6);
}


.eyebrow {
  margin: 0 0 14px;
  color: #f28a00;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 7vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

.heroTagline {
  margin: 20px 0 0;
  color: #f59616;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 700;
  line-height: 1.05;
}

.heroSub {
  max-width: 540px;
  margin: 62px 0 0;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.45;
}

.pageShell {
  display: grid;
  grid-template-columns: minmax(270px, 360px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 72px);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.sidebar {
  align-self: start;
  border: 1px solid #ede5db;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(69, 47, 21, 0.06);
}

.detailItem {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 26px 26px;
  border-bottom: 1px solid #eadfd3;
}

.detailItem:last-child {
  border-bottom: 0;
}

.detailIcon,
.restrictionHeader svg,
.questionBox svg {
  color: #cf7400;
}

.detailIconImage {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.detailItem h2,
.detailItem h3,
.restrictionBox h3,
.questionBox h3 {
  margin: 0;
  color: #111;
}

.detailItem h2 {
  margin-bottom: 13px;
  font-size: 15px;
  font-weight: 900;
  white-space: pre-line;
}

.detailItem h3,
.restrictionBox h3,
.questionBox h3 {
  font-size: 16px;
}

.detailItem p,
.formIntro p,
.restrictionBox p,
.questionBox p {
  margin: 0;
  color: #2d2a28;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-line;
}

.detailItem p + p {
  margin-top: 14px;
}

.secondaryButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid #cf7400;
  border-radius: 6px;
  background: #fff;
  color: #b86400;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.calendarActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.textLink {
  display: inline-flex;
  margin-top: 12px;
}

.guestBlock {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 20px;
  align-items: center;
}

.portrait {
  width: 82px;
  height: 94px;
  border: 1px solid #d8dde3;
  border-radius: 5px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.registration {
  padding-top: 24px;
}

.formIntro {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 28px;
}

.introIcon {
  width: 48px;
  height: 48px;
  margin-top: 4px;
}

.formIntro h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.formGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

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

label span {
  color: #5f666c;
  font-size: 13px;
  font-weight: 700;
}

.labelWithIcon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.labelIcon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d9dde2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: #121212;
  font-size: 16px;
  outline: 0;
}

input,
select {
  min-height: 58px;
}

input {
  padding: 0 20px;
}

select {
  padding: 0 18px;
  appearance: auto;
}

textarea {
  min-height: 118px;
  padding: 16px 20px;
  line-height: 1.45;
  resize: vertical;
}

.formStatus {
  min-height: 22px;
  margin: -6px 0 0;
  color: #7a4a08;
  font-size: 14px;
  font-weight: 700;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #ca7609;
  box-shadow: 0 0 0 4px rgba(202, 118, 9, 0.14);
}

.wide {
  grid-column: 1 / -1;
}

.restrictionBox,
.questionBox,
.confirmationBox {
  border: 1px solid #eee6dc;
  border-radius: 8px;
  background:
    radial-gradient(circle at 6% 15%, rgba(234, 133, 10, 0.11), transparent 34%),
    #fff;
  box-shadow: 0 18px 46px rgba(69, 47, 21, 0.06);
}

.restrictionBox {
  display: grid;
  gap: 22px;
  padding: 26px;
}

.restrictionHeader {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  align-items: start;
}

.primaryButton {
  min-height: 66px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(180deg, #d78308 0%, #c26a00 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 24px rgba(185, 98, 0, 0.18);
  cursor: pointer;
}

.primaryButton:hover {
  background: linear-gradient(180deg, #e18a08 0%, #bb6200 100%);
}

.primaryButton:disabled {
  cursor: wait;
  opacity: 0.68;
}

.questionBox,
.confirmationBox {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 22px;
  margin-top: 32px;
  padding: 28px;
}

.confirmationBox {
  display: none;
  border-color: rgba(207, 116, 0, 0.35);
}

.confirmationBox.isVisible {
  display: grid;
}

.siteFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid #eadfd3;
  color: #393531;
}

.siteFooter strong {
  display: block;
  margin-bottom: 6px;
  color: #111;
  font-size: 14px;
}

.siteFooter p {
  margin: 0;
  color: #5f666c;
  font-size: 13px;
}

.siteFooter nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.siteFooter a {
  color: #7a4a08;
  font-size: 13px;
  font-weight: 800;
}

.modalOverlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 12, 18, 0.62);
}

.responseModal {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  width: min(560px, 100%);
  padding: 30px;
  border: 1px solid rgba(207, 116, 0, 0.35);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.25);
}

.responseModal h3 {
  margin: 0 0 10px;
  color: #111;
  font-size: 21px;
}

.responseModal p {
  margin: 0;
  color: #2d2a28;
  font-size: 15px;
  line-height: 1.5;
}

.modalCalendarActions {
  margin-top: 20px;
}

.modalClose {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #eadfd3;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 860px) {
  .hero {
    min-height: 560px;
  }

  .heroBackdrop {
    background:
      linear-gradient(90deg, #03070d 0%, #03070d 46%, rgba(3, 7, 13, 0.84) 56%, rgba(3, 7, 13, 0.2) 70%, rgba(3, 7, 13, 0.04) 100%),
      linear-gradient(180deg, rgba(3, 7, 13, 0), rgba(3, 7, 13, 0.3)),
      url("../assets/hero-reference.jpg") center right / auto 100% no-repeat;
  }

  .heroContent,
  .pageShell {
    width: min(100% - 32px, 680px);
  }

  .heroCopy {
    width: min(100%, 620px);
  }

  .logoStrip {
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-top: 42px;
  }

  .divider {
    height: 34px;
  }

  .sdnLogo {
    height: 50px;
  }

  .awsLogo {
    height: 34px;
  }

  .grafanaLogo {
    height: 25px;
  }

  .heroSub {
    margin-top: 36px;
    font-size: 17px;
  }

  .pageShell {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 22px;
  }

  .sidebar,
  .registration {
    display: contents;
  }

  .eventDate {
    order: 1;
  }

  .eventTime {
    order: 2;
  }

  .eventLocation {
    order: 3;
  }

  .eventInvitation {
    order: 4;
  }

  .eventAbout {
    order: 5;
  }

  .eventGuest {
    order: 6;
  }

  .formIntro {
    order: 7;
  }

  .formGrid {
    order: 8;
  }

  .confirmationBox {
    order: 9;
    margin-top: 0;
  }

  .questionBox {
    order: 10;
    margin-top: 0;
  }

  .registration {
    padding-top: 0;
  }

  .detailItem {
    border: 1px solid #eadfd3;
    border-bottom: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: none;
  }

  .eventDate {
    border-radius: 8px 8px 0 0;
  }

  .eventGuest {
    margin-bottom: 22px;
    border-bottom: 1px solid #eadfd3;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 18px 42px rgba(69, 47, 21, 0.06);
  }

  .confirmationBox,
  .questionBox {
    margin-top: 26px;
  }

  .formIntro {
    margin-bottom: 18px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 520px;
  }

  .heroContent {
    min-height: 520px;
    padding-top: 40px;
    padding-bottom: 38px;
  }

  .logoStrip {
    align-items: flex-start;
    margin-top: 34px;
  }

  .sdnLogo {
    height: 44px;
  }

  .awsLogo {
    height: 29px;
  }

  .grafanaLogo {
    height: 20px;
    object-position: left center;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.3rem);
  }

  .heroTagline {
    font-size: 1.5rem;
  }

  .heroSub {
    margin-top: 34px;
  }

  .pageShell {
    width: min(100% - 24px, 680px);
    padding-bottom: 36px;
  }

  .sidebar {
    border-radius: 8px;
  }

  .detailItem {
    grid-template-columns: 36px 1fr;
    gap: 14px;
    padding: 18px 16px;
  }

  .detailIconImage {
    width: 36px;
    height: 36px;
  }

  .formIntro {
    grid-template-columns: 40px 1fr;
    gap: 14px;
  }

  .introIcon {
    width: 40px;
    height: 40px;
    margin-top: 2px;
  }

  .guestBlock {
    grid-template-columns: 68px 1fr;
    gap: 14px;
  }

  .portrait {
    width: 68px;
    height: 78px;
    font-size: 20px;
  }

  .formGrid {
    grid-template-columns: 1fr;
  }

  .formIntro h2 {
    font-size: 2rem;
  }

  .restrictionBox,
  .questionBox,
  .confirmationBox {
    padding: 22px 18px;
  }

  .restrictionHeader,
  .questionBox,
  .confirmationBox {
    grid-template-columns: 36px 1fr;
    gap: 14px;
  }

  input,
  select {
    min-height: 54px;
    font-size: 15px;
  }

  textarea {
    min-height: 108px;
    font-size: 15px;
  }

  .primaryButton {
    min-height: 58px;
    font-size: 16px;
  }

  .siteFooter {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 24px, 680px);
  }

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

  .responseModal {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 26px 18px;
  }
}
