/* App-first page sections: the hero app shot, impact replay, comparison,
   practice modes and the optional Dial. Shared tokens come from theme-dark.css. */

/* Hero: the app screen replaces the hardware sculpture. */
.hero.hero-app {
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 56px;
}

.hero-app h1 {
  font-size: clamp(54px, 5.4vw, 82px);
  letter-spacing: -3px;
}

.hero-shot {
  margin: 0;
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 0 0 1px #2b4437, 0 30px 70px #0008;
}

.hero-shot figcaption {
  margin-top: 12px;
  font-size: 9px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
}

/* Impact replay */
.replay-section {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
  margin-block: 90px;
  padding: 44px;
  border-radius: 14px;
  background: #0b1c1d;
  box-shadow: inset 0 0 0 1px #26483b;
}

.replay-copy h2 {
  font-size: 38px;
  line-height: 1.13;
  letter-spacing: -1.3px;
}

.replay-copy > p:not(.section-note) {
  margin: 21px 0 26px;
  max-width: 430px;
  font-size: 13px;
  line-height: 1.9;
  color: #a7c5b5;
}

.replay-media {
  margin: 0;
  min-width: 0;
  justify-self: center;
  width: min(100%, 400px);
}

.replay-media video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(74vh, 760px);
  margin-inline: auto;
  border-radius: 10px;
  background: #040a09;
  box-shadow: 0 0 0 1px #2b4a3e;
}

.replay-media figcaption {
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Comparison */
.compare-section {
  padding-bottom: 96px;
}

.compare-heading {
  max-width: 760px;
}

.compare-heading h2 {
  font-size: 45px;
  line-height: 1.12;
  letter-spacing: -1.7px;
}

.compare-heading > p:not(.section-note) {
  margin-top: 22px;
  max-width: 600px;
  font-size: 14px;
  line-height: 1.85;
  color: #a5bcad;
}

.compare-table-wrap {
  margin-top: 40px;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.5;
}

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

.compare-table thead th {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.compare-table tbody th {
  font-weight: 500;
  color: var(--ink);
  width: 28%;
}

.compare-table td {
  color: #a5bcad;
  width: 24%;
}

.compare-table .compare-us {
  background: #0f2a21;
  color: #dff8ea;
}

.compare-table thead .compare-us {
  color: var(--accent);
  border-radius: 10px 10px 0 0;
}

.mark-yes,
.mark-no {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mark-yes::before,
.mark-no::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mark-yes::before {
  background: var(--accent);
}

.mark-no::before {
  border: 1px solid #5b7468;
}

.compare-note {
  margin-top: 16px;
  font-size: 10px;
  color: var(--text-muted);
}

/* Practice modes card, the sixth tile in the app gallery. */
.modes-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 34px;
  background: var(--surface);
}

.modes-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.modes-list li {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.modes-list li:first-child {
  padding-top: 4px;
}

.modes-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.modes-list strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -.5px;
  color: var(--ink);
}

.modes-list span {
  font-size: 13px;
  line-height: 1.75;
  color: #a5bcad;
}

/* Setup step two: a LiDAR scan around the ball. */
.scan-art .scan-ring {
  position: absolute;
  left: 50%;
  top: 64px;
  width: 92px;
  height: 92px;
  border: 1px dashed #4fae84;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.scan-art .scan-ring--outer {
  width: 150px;
  height: 150px;
  border-color: #2f6b52;
}

.scan-art .golf-ball {
  left: 50%;
  top: 64px;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
}

.scan-art .golf-ball::after {
  display: none;
}

.scan-art .ground-line {
  left: 10%;
  right: 10%;
  top: 140px;
}

/* The Dial, presented as an optional add-on. */
.dial-section {
  padding-top: 20px;
}

.dial-section .experience {
  padding-block: 60px 40px;
}

.dial-adds {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  max-width: 440px;
}

.dial-adds li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 13px;
  line-height: 1.75;
  color: #a5bcad;
}

.dial-adds li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 19px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.dial-adds strong {
  color: var(--ink);
  font-weight: 600;
}

.dial-inside {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 80px;
}

.dial-inside-copy h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1px;
}

.dial-inside-copy > p:not(.section-note) {
  margin-top: 18px;
  max-width: 380px;
  font-size: 13px;
  line-height: 1.85;
  color: #a5bcad;
}

/* The form's dropdowns match its text fields. */
.launch-field--wide {
  grid-column: 1 / -1;
}

.launch-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2370e4b0' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 40px;
}

.launch-field select:invalid {
  color: var(--form-muted);
}

.launch-field select option {
  color: #f0f8f4;
  background: #0a1b17;
}

@media (max-width: 1150px) {
  .hero.hero-app { gap: 32px; }
  .replay-section { grid-template-columns: 1fr; gap: 32px; }
  .replay-media { width: min(100%, 380px); }
  .replay-copy > p:not(.section-note) { max-width: 620px; }
}

@media (max-width: 900px) {
  .hero.hero-app { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-app h1 { font-size: clamp(50px, 9vw, 72px); }
  .hero-app .hero-description { max-width: 460px; }
  .compare-heading h2 { font-size: 36px; }
  .dial-inside { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 680px) {
  .hero.hero-app { padding-top: 26px; padding-bottom: 30px; gap: 28px; }
  .hero-app h1 { font-size: clamp(42px, 11.5vw, 60px); letter-spacing: -2px; }
  .hero-app .hero-actions { flex-wrap: wrap; }
  .hero-shot img { border-radius: 9px; }
  .replay-section { margin-block: 48px; padding: 24px 20px; border-radius: 9px; }
  .replay-copy h2 { font-size: 30px; letter-spacing: -1px; }
  .replay-copy > p:not(.section-note) { font-size: 12px; }
  .compare-section { padding-bottom: 56px; }
  .compare-heading h2 { font-size: 30px; letter-spacing: -1px; }
  .compare-heading h2 br { display: none; }
  .compare-heading > p:not(.section-note) { font-size: 13px; }
  .compare-table-wrap { margin-top: 26px; }
  .compare-table { font-size: 11px; }
  .compare-table th, .compare-table td { padding: 12px 8px; }
  .compare-table thead th { font-size: 9px; letter-spacing: .2px; }
  .compare-table tbody th { width: 31%; }
  .compare-table td { width: 23%; }
  .mark-yes, .mark-no { gap: 5px; }
  .modes-card { padding: 26px 22px; }
  .modes-list strong { font-size: 22px; }
  .modes-list span { font-size: 12px; }
  .dial-section .experience { padding-block: 40px 20px; }
  .dial-adds li { font-size: 12px; }
  .dial-inside { padding-bottom: 50px; }
  .dial-inside-copy h3 { font-size: 27px; }
  .dial-inside-copy > p:not(.section-note) { font-size: 12px; }
}
