@import url("https://fonts.googleapis.com/css2?family=Edu+NSW+ACT+Cursive:wght@400&display=swap");

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
}

main {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: 64px 24px 120px;
}

header {
  margin-bottom: 96px;
}

header p {
  margin: 0;
  font-family: "Edu NSW ACT Cursive", cursive;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 400;
  line-height: 1.1;
}

section {
  margin-bottom: 80px;
}

section:last-child {
  margin-bottom: 0;
}

.closing {
  margin-top: 120px;
}

h1 {
  margin: 20px 0 0;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 400;
  line-height: 1.3;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 500;
  line-height: 1.25;
}

p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

p + p {
  margin-top: 16px;
}

.details {
  margin-top: 32px;
}

.details p {
  margin-top: 24px;
}

strong {
  font-weight: 600;
}

.research-secret-link {
  color: inherit;
  cursor: default;
  text-decoration: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 32px;
}

.pricing-option {
  padding: 16px 16px 20px;
  border: 1px solid #d8d8d8;
}

.pricing-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.pricing-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pricing-details {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.55;
}

.pricing-details span {
  display: block;
}

.pricing-details span:first-child {
  margin-bottom: 12px;
  font-family: "Edu NSW ACT Cursive", cursive;
  font-size: 24px;
  line-height: 1.25;
  text-align: center;
}

.purchase-link {
  margin-top: 24px;
  text-align: center;
}

.purchase-link a,
.quote-trigger,
.quote-submit {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #111111;
  background: #ffffff;
  color: #111111;
  font: inherit;
  font-size: 16px;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.quote-trigger {
  margin-top: 24px;
}

.quote-dialog {
  width: min(calc(100% - 40px), 520px);
  padding: 0;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  color: #111111;
}

.quote-dialog::backdrop {
  background: rgb(0 0 0 / 20%);
}

.quote-form {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 40px;
}

.quote-form label {
  margin-top: 12px;
  font-size: 16px;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #bdbdbd;
  border-radius: 0;
  background: #ffffff;
  color: #111111;
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.quote-close {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.quote-submit {
  margin-top: 20px;
}

.research-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  width: 100%;
  max-width: none;
  padding: 80px 24px;
  place-items: center;
  overflow: hidden;
}

.research-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  padding: 48px;
  background: rgb(255 255 255 / 88%);
}

.research-copy h1 {
  margin: 0 0 56px;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 500;
  line-height: 1.15;
}

.research-copy p + p {
  margin-top: 32px;
}

.research-web {
  position: absolute;
  inset: 0;
  color: #111111;
  opacity: 0.14;
}

.research-node,
.research-edge {
  position: absolute;
  display: block;
}

.research-node {
  width: clamp(18px, 2.5vw, 32px);
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
}

.research-edge {
  height: 1px;
  background: currentColor;
  transform-origin: left center;
}

.node-1 { left: 8%; top: 18%; }
.node-2 { left: 28%; top: 8%; }
.node-3 { left: 52%; top: 20%; }
.node-4 { left: 82%; top: 10%; }
.node-5 { left: 17%; top: 53%; }
.node-6 { left: 43%; top: 49%; }
.node-7 { left: 75%; top: 57%; }
.node-8 { left: 28%; top: 88%; }
.node-9 { left: 88%; top: 85%; }
.node-10 { left: 4%; top: 72%; }
.node-11 { left: 12%; top: 35%; }
.node-12 { left: 38%; top: 30%; }
.node-13 { left: 66%; top: 37%; }
.node-14 { left: 94%; top: 32%; }
.node-15 { left: 5%; top: 94%; }
.node-16 { left: 52%; top: 80%; }
.node-17 { left: 70%; top: 91%; }
.node-18 { left: 96%; top: 64%; }
.node-19 { left: 36%; top: 67%; }
.node-20 { left: 64%; top: 5%; }
.node-21 { left: 96%; top: 4%; }

.edge-1 { left: 8%; top: 18%; width: 22%; transform: rotate(-25deg); }
.edge-2 { left: 28%; top: 8%; width: 27%; transform: rotate(27deg); }
.edge-3 { left: 52%; top: 20%; width: 31%; transform: rotate(-19deg); }
.edge-4 { left: 8%; top: 18%; width: 38%; transform: rotate(51deg); }
.edge-5 { left: 17%; top: 53%; width: 26%; transform: rotate(-9deg); }
.edge-6 { left: 43%; top: 49%; width: 33%; transform: rotate(14deg); }
.edge-7 { left: 52%; top: 20%; width: 33%; transform: rotate(65deg); }
.edge-8 { left: 17%; top: 53%; width: 38%; transform: rotate(66deg); }
.edge-9 { left: 28%; top: 88%; width: 32%; transform: rotate(-65deg); }
.edge-10 { left: 43%; top: 49%; width: 53%; transform: rotate(43deg); }
.edge-11 { left: 75%; top: 57%; width: 31%; transform: rotate(65deg); }
.edge-12 { left: 82%; top: 10%; width: 48%; transform: rotate(99deg); }
.edge-13 { left: 4%; top: 72%; width: 16%; transform: rotate(-72deg); }
.edge-14 { left: 4%; top: 72%; width: 33%; transform: rotate(-11deg); }
.edge-15 { left: 5%; top: 94%; width: 25%; transform: rotate(-14deg); }
.edge-16 { left: 12%; top: 35%; width: 27%; transform: rotate(-11deg); }
.edge-17 { left: 12%; top: 35%; width: 31%; transform: rotate(27deg); }
.edge-18 { left: 38%; top: 30%; width: 29%; transform: rotate(14deg); }
.edge-19 { left: 38%; top: 30%; width: 27%; transform: rotate(-57deg); }
.edge-20 { left: 64%; top: 5%; width: 33%; transform: rotate(-2deg); }
.edge-21 { left: 64%; top: 5%; width: 35%; transform: rotate(68deg); }
.edge-22 { left: 66%; top: 37%; width: 29%; transform: rotate(-5deg); }
.edge-23 { left: 66%; top: 37%; width: 33%; transform: rotate(57deg); }
.edge-24 { left: 94%; top: 32%; width: 34%; transform: rotate(86deg); }
.edge-25 { left: 75%; top: 57%; width: 22%; transform: rotate(9deg); }
.edge-26 { left: 96%; top: 64%; width: 24%; transform: rotate(109deg); }
.edge-27 { left: 36%; top: 67%; width: 19%; transform: rotate(41deg); }
.edge-28 { left: 36%; top: 67%; width: 34%; transform: rotate(8deg); }
.edge-29 { left: 52%; top: 80%; width: 19%; transform: rotate(25deg); }
.edge-30 { left: 70%; top: 91%; width: 19%; transform: rotate(-19deg); }

@media (max-width: 700px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }
}

@media (max-width: 520px) {
  main {
    padding-top: 40px;
    padding-bottom: 80px;
  }

  header {
    margin-bottom: 72px;
  }

  section {
    margin-bottom: 64px;
  }

  .research-page {
    padding: 48px 20px;
  }

  .research-copy {
    padding: 32px 24px;
  }

  .quote-form {
    padding: 36px 24px 28px;
  }
}
