:root {
  --cream: #f8f6ef;
  --paper: #fffdfa;
  --ink: #142f3a;
  --teal: #142f3a;
  --teal-deep: #0c222b;
  --coral: #e86f51;
  --coral-deep: #9b3e2d;
  --line: rgba(20, 47, 58, 0.18);
  --shadow: 0 24px 70px rgba(12, 34, 43, 0.09);

  /* Real curves. register.css loads on its own, so it carries its own
     copy of the motion vocabulary. Transforms 80-140ms, colour
     200-240ms, press 0ms down / 140ms release. */
  --ease-out: cubic-bezier(0.2, 0.8, 0.3, 1);
  --ease-in: cubic-bezier(0.5, 0, 0.9, 0.4);
  --ease-sine: cubic-bezier(0.45, 0.05, 0.55, 1);
  --dur-flick: 140ms;
  --dur-colour: 200ms;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, var(--teal) 0 8px, transparent 8px calc(100% - 8px), var(--coral) calc(100% - 8px)),
    var(--cream);
}

a {
  color: inherit;
  transition: color var(--dur-colour) var(--ease-sine);
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 10px 14px;
  background: var(--paper);
  transform: translateY(-160%);
}

.skip:focus {
  transform: translateY(0);
}

.site-head,
main,
footer {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-block;
  font: 700 2rem/1 "Newsreader", serif;
  text-decoration: none;
  transition:
    color var(--dur-colour) var(--ease-sine),
    transform var(--dur-flick) var(--ease-out);
}

.brand:hover i,
.brand:focus-visible i {
  color: var(--coral-deep);
}

.brand:active {
  transform: translateY(1px) scale(0.99);
  transition-duration: 0ms;
}

.brand i {
  color: var(--coral);
  font-style: normal;
}

.home-link,
footer {
  font-size: 0.875rem;
  font-weight: 700;
}

.home-link:focus-visible,
.home-link:hover,
footer a:focus-visible,
footer a:hover {
  color: var(--coral-deep);
}

.home-link:active,
footer a:active {
  transform: translateY(1px);
  transition-duration: 0ms;
}

.home-link,
footer a {
  display: inline-block;
  transition:
    color var(--dur-colour) var(--ease-sine),
    transform var(--dur-flick) var(--ease-out);
}

main {
  padding-block: clamp(48px, 6vw, 76px) 56px;
}

.intro {
  max-width: 660px;
  margin: 0 auto 46px;
  text-align: center;
  animation: settle-in 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow,
.choice-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  letter-spacing: -0.035em;
}

h1 {
  margin-top: 13px;
  font-size: clamp(3rem, 4.7vw, 4.5rem);
  line-height: 0.96;
}

.intro-copy {
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.choices {
  display: grid;
  max-width: 1020px;
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 38px);
}

.choice {
  --accent: var(--teal);
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 390px;
  overflow: hidden;
  flex-direction: column;
  padding: clamp(30px, 4vw, 44px);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 22px;
  background: rgba(255, 253, 250, 0.88);
  color: var(--teal-deep);
  box-shadow: var(--shadow);
  animation: card-arrive 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.choice::before {
  position: absolute;
  z-index: -1;
  border: 1px solid var(--accent);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  top: -122px;
  right: -88px;
  width: 270px;
  aspect-ratio: 1;
  opacity: 0.3;
  box-shadow:
    0 0 0 24px color-mix(in srgb, var(--accent) 8%, transparent),
    0 0 0 58px color-mix(in srgb, var(--accent) 5%, transparent);
  animation: orbit-drift 10s ease-in-out infinite alternate;
}

.choice--teal {
  --accent: var(--teal);
  --button-glow: var(--coral);
}

.choice--coral {
  --accent: var(--coral);
  --button-glow: var(--teal);
  animation-delay: 100ms;
}

.choice h2 {
  max-width: 9ch;
  margin-top: 18px;
  font-size: clamp(2.5rem, 4vw, 3.9rem);
  line-height: 0.96;
}

.choice > p:not(.choice-label) {
  max-width: 44ch;
  margin: 22px 0 0;
  line-height: 1.55;
}

.choice-action {
  --ring-angle: 0deg;
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  min-height: 52px;
  align-self: center;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 14px 20px;
  border: 3px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(var(--accent), var(--accent)) padding-box,
    conic-gradient(
      from var(--ring-angle),
      transparent 0 58%,
      var(--button-glow) 68%,
      color-mix(in srgb, var(--button-glow) 34%, white) 73%,
      var(--button-glow) 78%,
      transparent 88%
    ) border-box;
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  animation: perimeter-light 3s linear infinite;
  box-shadow: 0 0 18px color-mix(in srgb, var(--button-glow) 16%, transparent);
  /* Was `transition: transform 180ms, filter 180ms` with no curve, so it
     fell back to the `ease` keyword and box-shadow was not named at all. */
  transition:
    transform var(--dur-flick) var(--ease-out),
    filter var(--dur-colour) var(--ease-sine),
    box-shadow var(--dur-colour) var(--ease-sine);
}

.choice-action:hover,
.choice-action:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 color-mix(in srgb, var(--accent) 22%, transparent);
  filter: saturate(1.12);
}

/* The shadow stack was built to collapse under a press and never did.
   Instant on the way down, eased on release. */
.choice-action:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 color-mix(in srgb, var(--accent) 30%, transparent);
  filter: saturate(1.12);
  transition-duration: 0ms;
}

.choice-action:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.choice-note {
  min-height: 3.2em;
  width: 100%;
  align-self: center;
  margin: 28px 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  opacity: 0.78;
  text-align: center;
}

.policy {
  max-width: 76ch;
  margin: 30px auto 0;
  color: rgba(20, 47, 58, 0.74);
  font-size: 0.84rem;
  line-height: 1.6;
  text-align: center;
}

footer {
  display: flex;
  justify-content: space-between;
  padding-block: 24px 34px;
  border-top: 1px solid var(--line);
}

@keyframes settle-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes card-arrive {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
}

@keyframes orbit-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-15px, 18px, 0) scale(1.06);
  }
}

@property --ring-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes perimeter-light {
  to {
    --ring-angle: 360deg;
  }
}

@media (max-width: 760px) {
  body {
    background:
      linear-gradient(90deg, var(--teal) 0 5px, transparent 5px calc(100% - 5px), var(--coral) calc(100% - 5px)),
      var(--cream);
  }

  .site-head,
  main,
  footer {
    width: min(100% - 32px, 560px);
  }

  .site-head {
    padding-block: 22px;
  }

  .brand {
    font-size: 1.7rem;
  }

  .home-link {
    font-size: 0.78rem;
  }

  main {
    padding-block: 48px 42px;
  }

  .intro {
    max-width: 430px;
    margin: 0 auto 34px;
    text-align: center;
  }

  h1 {
    max-width: 8.5ch;
    margin: 12px auto 0;
    font-size: clamp(2.9rem, 11.5vw, 3.35rem);
    line-height: 0.98;
    text-wrap: balance;
  }

  .intro-copy {
    margin-top: 18px;
    font-size: 1rem;
  }

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

  .choice {
    min-height: 365px;
    border-radius: 18px;
  }

  .choice-note {
    min-height: 0;
  }

  footer {
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Reduced motion kills movement, not feedback: colour and shadow still
   answer a hover or a press, transforms do not. */
@media (prefers-reduced-motion: reduce) {
  .intro,
  .choice,
  .choice::before,
  .choice-action {
    animation: none;
  }

  .choice-action {
    transition-property: filter, box-shadow;
    transition-duration: var(--dur-colour);
    transition-timing-function: var(--ease-sine);
  }

  .choice-action:hover,
  .choice-action:focus-visible,
  .choice-action:active,
  .brand:hover,
  .brand:active,
  .home-link:active,
  footer a:active {
    transform: none;
  }
}

/* ---- Site nav on the payment page (2026-09-02) -------------------------
   register.html previously had no way back into the site except one 16px
   link, so it read as a third-party checkout. Replaces inline stopgaps. */
.site-head { flex-wrap: wrap; row-gap: 10px; column-gap: 20px; }
.site-nav {
  display: flex; flex-wrap: wrap; gap: 22px;
  font: 600 0.9rem/1 "DM Sans", system-ui, sans-serif;
}
.site-nav a { text-decoration: none; color: var(--ink, #102b35); opacity: .82;
  min-height: 44px; display: inline-flex; align-items: center;
  transition: opacity 200ms var(--ease-sine, ease), text-decoration-color 140ms var(--ease-out, ease); }
.site-nav a:hover, .site-nav a:focus-visible { opacity: 1; text-decoration: underline; }
.site-nav a:active { opacity: .6; transition-duration: 0ms; }
@media (max-width: 620px) { .site-nav { width: 100%; order: 3; gap: 16px; font-size: 0.84rem; } }

/* ---- Refund terms beside the button (2026-09-02) -----------------------
   The RingCentral checkout this page links to never mentions refunds — the
   word does not appear anywhere in it. So this page is the only place a
   buyer can read the policy before paying, and it has to sit with the
   decision rather than below both cards. */
.choice-terms {
  width: 100%;
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 0.84rem;
  line-height: 1.55;
  opacity: .88;
}
.choice-terms b { font-weight: 700; opacity: 1; }
