/* Tempo static site styles. */
:root {
  --bg: #050505;
  --surface: #101010;
  --surface-alt: #171717;
  --text: #f7f4ee;
  --muted: #b8b2aa;
  --soft: #8e8780;
  --border: rgba(247, 244, 238, 0.22);
  --border-strong: rgba(247, 244, 238, 0.42);
  --accent: #a855f7;
  --accent-2: #7db7d8;
  --accent-3: #78c69a;
  --gold: #f2be22;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --content-width: min(75.6vw, 2520px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell,
.wrap {
  width: var(--content-width);
  margin: 0 auto;
  padding-bottom: 76px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 22px;
  border-bottom: 1px solid rgba(247, 244, 238, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0;
}

.brand span {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

nav.site {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
}

nav.site a:hover,
nav.site a[aria-current="page"] {
  color: var(--text);
}

.home-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 148px 0 54px;
  text-align: center;
}

.home-hero h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
}

.home-hero h1 span {
  display: inline-block;
  margin-right: 12px;
  padding: 0 14px 6px;
  border-radius: 8px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: var(--text);
}

.home-hero p {
  max-width: 980px;
  margin: 28px auto 0;
  color: #dfddd8;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.45;
}

.phone-showcase {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 22px;
  padding: 38px 0 92px;
  overflow: visible;
}

.phone-showcase img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform-origin: center bottom;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.phone-showcase img:hover {
  transform: scale(1.045);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.55);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: 42px;
  line-height: 1.12;
}

.section-heading p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 700;
}

.plan-section {
  padding: 18px 0 24px;
}

.premium-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 66px;
  padding-top: 28px;
}

.premium-feature {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-feature h3 {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.12;
}

.premium-feature p {
  margin-top: 8px;
  font-family: "Instrument Serif", Georgia, serif;
  color: #a9b0bb;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.18;
}

.legal-page,
.contact-page {
  max-width: none;
  padding-top: 54px;
}

.legal-page h1,
.contact-page h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 74px;
  font-weight: 400;
  line-height: 0.96;
  margin-bottom: 20px;
}

.contact-page h1 {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 62px;
  font-weight: 800;
}

.updated {
  color: var(--soft);
  font-size: 15px;
  margin-bottom: 14px;
}

.intro {
  max-width: none;
  color: var(--muted);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 48px;
}

section.legal {
  margin-bottom: 36px;
}

section.legal h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 10px;
}

section.legal p,
section.legal li,
section.legal dd {
  color: var(--muted);
  font-size: 16px;
}

section.legal p {
  margin-bottom: 11px;
}

section.legal ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
  margin: 12px 0;
}

.definition-list {
  display: grid;
  gap: 13px;
}

.definition-list div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(247, 244, 238, 0.1);
}

.definition-list dt {
  font-weight: 800;
  color: var(--text);
}

.all-caps {
  text-transform: uppercase;
  font-weight: 800;
}

a.inline {
  color: #9ee5bd;
  font-weight: 800;
}

.contact-intro {
  max-width: none;
  margin: 58px 0 52px;
}

.contact-intro p {
  max-width: 1320px;
  color: #d8d5cf;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 22px;
}

.contact-details {
  margin-top: 28px;
}

.contact-details h2 {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 18px;
}

address {
  color: var(--muted);
  font-style: normal;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
}

footer.site {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 76px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 244, 238, 0.1);
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

footer.site a {
  color: var(--soft);
}

@media (min-width: 2200px) {
  .home-hero {
    padding-top: 172px;
  }

  .home-hero h1 {
    font-size: 82px;
  }

  .home-hero p {
    font-size: 27px;
  }

  .phone-showcase {
    gap: 30px;
  }
}

@media (max-width: 1180px) {
  .page-shell,
  .wrap,
  .contact-wrap {
    width: calc(100% - 44px);
  }

  .home-hero {
    padding-top: 86px;
  }

  .home-hero h1 {
    font-size: 52px;
  }

  .home-hero p {
    font-size: 20px;
  }

  .phone-showcase {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 66px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .phone-showcase img {
    width: 180px;
    min-width: 180px;
    flex: 0 0 180px;
  }

  .premium-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 42px;
  }

  .legal-page,
  .contact-page {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .page-shell,
  .wrap,
  .contact-wrap {
    width: calc(100% - 28px);
  }

  header.site {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 22px;
  }

  .brand img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .brand span {
    font-size: 30px;
  }

  nav.site {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 28px;
  }

  nav.site a {
    font-size: 15px;
  }

  .home-hero {
    padding: 58px 0 22px;
  }

  .home-hero h1 {
    font-size: 27px;
    max-width: 330px;
    margin: 0 auto;
  }

  .home-hero h1 span {
    margin-right: 0;
    margin-bottom: 8px;
    padding: 0 10px 5px;
  }

  .home-hero p,
  .section-heading p,
  .intro {
    font-size: 16px;
  }

  .home-hero p {
    max-width: 330px;
  }

  .phone-showcase {
    gap: 14px;
  }

  .phone-showcase img {
    width: 174px;
    min-width: 174px;
    flex-basis: 174px;
  }

  .section-heading h2,
  .contact-details h2 {
    font-size: 32px;
  }

  .premium-feature-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .premium-feature {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
  }

  .feature-icon svg {
    width: 20px;
    height: 20px;
  }

  .premium-feature h3 {
    font-size: 21px;
  }

  .premium-feature p {
    font-size: 20px;
  }

  .legal-page h1,
  .contact-page h1 {
    font-size: 50px;
  }

  section.legal h2 {
    font-size: 21px;
  }

  section.legal p,
  section.legal li,
  section.legal dd {
    font-size: 16px;
  }

  .definition-list div {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    margin-top: 38px;
  }

  .contact-intro p,
  address {
    font-size: 19px;
  }
}
