@font-face {
  font-family: "Noto Sans";
  src: url("assets/fonts/NotoSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("assets/fonts/NotoSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #f0a400;
  --brand-strong: #d38f00;
  --brand-soft: #fff1c7;
  --accent: #e77a43;
  --ink: #202020;
  --muted: #676767;
  --line: #d9d9d9;
  --surface: #f6f6f6;
  --white: #ffffff;
  --dark: #171717;
  --green: #45a915;
  --container: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 64px;
  font-weight: 700;
}

h2 {
  margin-bottom: 20px;
  font-size: 44px;
  font-weight: 700;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--dark);
  border-radius: 6px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 26px rgba(32, 32, 32, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 190px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  padding: 10px 0;
  color: #444444;
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle img {
  width: 22px;
  height: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button img {
  width: 19px;
  height: 19px;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible,
.store-button:focus-visible,
.nav-toggle:focus-visible,
.primary-nav a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(240, 164, 0, 0.45);
  outline-offset: 3px;
}

.button--primary {
  color: var(--ink);
  background: var(--brand);
  border-color: var(--brand);
}

.button--primary:hover {
  background: #f6b400;
  border-color: #f6b400;
}

.button--dark {
  color: var(--white);
  background: var(--dark);
}

.button--dark img,
.store-button img {
  filter: brightness(0) invert(1);
}

.button--compact {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 8px;
}

.button--compact img {
  width: 17px;
  height: 17px;
}

.eyebrow {
  margin-bottom: 14px;
  color: #6a4900;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow--light {
  color: #f8cf6e;
}

.hero {
  position: relative;
  height: calc(100svh - 104px);
  min-height: 470px;
  max-height: 760px;
  overflow: hidden;
  background-color: #f4f1ed;
  background-image: url("assets/hero-orelun.jpg");
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.91) 36%,
    rgba(255, 255, 255, 0.48) 57%,
    rgba(255, 255, 255, 0.05) 78%
  );
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
}

.hero-content > * {
  max-width: 610px;
}

.hero-copy {
  margin-bottom: 30px;
  color: #444444;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.text-link {
  padding: 10px 0;
  font-weight: 700;
  border-bottom: 2px solid var(--brand);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 30px 0 0;
  gap: 18px;
  list-style: none;
  color: #444444;
  font-size: 14px;
  font-weight: 700;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(63%) sepia(82%) saturate(1785%) hue-rotate(6deg) brightness(98%);
}

.benefit-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.benefit {
  display: grid;
  grid-template-columns: 44px 1fr;
  padding: 42px 34px;
  gap: 18px;
  border-right: 1px solid var(--line);
}

.benefit:first-child {
  padding-left: 0;
}

.benefit:last-child {
  padding-right: 0;
  border-right: 0;
}

.section-icon {
  width: 36px;
  height: 36px;
  padding: 4px;
  filter: brightness(0) saturate(100%) invert(64%) sepia(93%) saturate(1530%) hue-rotate(5deg) brightness(97%);
}

.benefit h2 {
  margin-bottom: 8px;
  font-size: 18px;
}

.benefit p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-section {
  padding: 112px 0;
  color: var(--white);
  background: var(--dark);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 100px;
}

.product-copy h2 {
  max-width: 690px;
}

.section-lead {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-lead--light {
  color: #c8c8c8;
}

.process-list {
  padding: 0;
  margin: 48px 0 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  padding: 20px 0;
  gap: 18px;
  border-top: 1px solid #3a3a3a;
}

.process-list li:last-child {
  border-bottom: 1px solid #3a3a3a;
}

.process-list > li > span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.process-list h3 {
  margin-bottom: 5px;
}

.process-list p {
  margin-bottom: 0;
  color: #b9b9b9;
  font-size: 14px;
}

.phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone {
  position: relative;
  width: 350px;
  height: 700px;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 8px solid #303030;
  border-radius: 38px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.phone::before {
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 4;
  width: 92px;
  height: 23px;
  content: "";
  background: #303030;
  border-radius: 14px;
  transform: translateX(-50%);
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 6px 20px 0;
  font-size: 10px;
  font-weight: 700;
}

.phone-screen {
  height: calc(100% - 105px);
  padding: 12px 16px 20px;
  overflow: hidden;
}

.mobile-header {
  display: grid;
  grid-template-columns: 40px 1fr 24px;
  align-items: center;
  margin-bottom: 18px;
  gap: 10px;
}

.mobile-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--ink);
  background: var(--brand-soft);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.mobile-header small,
.mobile-header strong {
  display: block;
  line-height: 1.25;
}

.mobile-header small {
  color: var(--muted);
  font-size: 10px;
}

.mobile-header strong {
  font-size: 15px;
}

.mobile-header > img {
  width: 22px;
  height: 22px;
}

.loan-card {
  min-height: 222px;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 8px;
}

.loan-card-top,
.loan-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.loan-card-top {
  margin-bottom: 14px;
  font-size: 12px;
}

.status-chip {
  padding: 5px 8px;
  color: #226500;
  background: var(--white);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}

.loan-card > strong {
  display: block;
  margin-bottom: 22px;
  font-size: 29px;
}

.progress-track {
  height: 6px;
  margin-bottom: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 3px;
}

.progress-track span {
  display: block;
  width: 64%;
  height: 100%;
  background: var(--white);
}

.loan-meta {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.loan-meta div {
  min-width: 42%;
}

.loan-meta div:last-child {
  text-align: right;
}

.loan-meta small,
.loan-meta b {
  display: block;
}

.loan-meta small {
  margin-bottom: 2px;
  font-size: 9px;
}

.loan-meta b {
  font-size: 13px;
}

.mobile-section-title {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 12px;
  font-size: 12px;
}

.mobile-section-title span {
  color: var(--brand-strong);
  font-size: 10px;
  font-weight: 700;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.quick-actions div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 12px 4px;
  gap: 7px;
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: 8px;
}

.quick-actions img {
  width: 22px;
  height: 22px;
  filter: brightness(0) saturate(100%) invert(64%) sepia(93%) saturate(1530%) hue-rotate(5deg) brightness(97%);
}

.quick-actions span {
  max-width: 100%;
  overflow: hidden;
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-notice {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  padding: 12px;
  margin-top: 12px;
  gap: 10px;
  background: var(--brand-soft);
  border-radius: 8px;
}

.mobile-notice img {
  width: 28px;
  height: 28px;
  filter: brightness(0) saturate(100%) invert(64%) sepia(93%) saturate(1530%) hue-rotate(5deg) brightness(97%);
}

.mobile-notice b,
.mobile-notice span {
  display: block;
}

.mobile-notice b {
  font-size: 10px;
}

.mobile-notice span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.mobile-nav {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 58px;
  padding: 7px 6px;
  color: #b9b9b9;
  background: var(--dark);
  border-radius: 10px;
}

.mobile-nav div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 8px;
}

.mobile-nav img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.65;
}

.mobile-nav .active {
  color: var(--white);
}

.mobile-nav .active img {
  position: relative;
  z-index: 1;
  padding: 3px;
  opacity: 1;
}

.mobile-nav .active::before {
  position: absolute;
  top: 1px;
  left: 50%;
  width: 24px;
  height: 24px;
  content: "";
  background: var(--brand);
  border-radius: 5px;
  transform: translateX(-50%);
}

.mockup-note {
  max-width: 320px;
  margin: 16px 0 0;
  color: #8b8b8b;
  font-size: 11px;
  text-align: center;
}

.requirements-section {
  padding: 112px 0;
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.requirement {
  display: grid;
  grid-template-columns: 34px 1fr;
  min-height: 160px;
  padding: 28px 26px 28px 0;
  gap: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.requirement:nth-child(3n + 2),
.requirement:nth-child(3n + 3) {
  padding-left: 26px;
}

.requirement:nth-child(3n) {
  padding-right: 0;
  border-right: 0;
}

.requirement > img {
  width: 30px;
  height: 30px;
  filter: brightness(0) saturate(100%) invert(64%) sepia(93%) saturate(1530%) hue-rotate(5deg) brightness(97%);
}

.requirement h3 {
  margin-bottom: 7px;
}

.requirement p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.security-section {
  padding: 112px 0;
  background: var(--white);
}

.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 100px;
}

.security-mark {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  place-items: center;
  background: var(--brand);
  border-radius: 8px;
}

.security-mark img {
  width: 30px;
  height: 30px;
}

.security-points {
  border-top: 1px solid var(--line);
}

.security-points article {
  display: grid;
  grid-template-columns: 42px 180px 1fr;
  align-items: start;
  padding: 28px 0;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.security-points span {
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 700;
}

.security-points h3,
.security-points p {
  margin-bottom: 0;
}

.security-points p {
  color: var(--muted);
  font-size: 14px;
}

.faq-section {
  padding: 112px 0;
  background: var(--surface);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 90px;
}

.faq-layout .section-heading {
  position: sticky;
  top: calc(var(--header-height) + 34px);
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  min-height: 76px;
  padding: 18px 0;
  gap: 20px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary img {
  width: 22px;
  height: 22px;
  transition: transform 160ms ease;
}

.faq-list details[open] summary img {
  transform: rotate(180deg);
}

.faq-list details p {
  max-width: 670px;
  padding: 0 48px 24px 0;
  margin-bottom: 0;
  color: var(--muted);
}

.download-section {
  padding: 72px 0;
  background: var(--brand);
}

.download-layout {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  align-items: center;
  gap: 34px;
}

.app-icon {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(126, 82, 0, 0.2);
}

.download-section .eyebrow {
  margin-bottom: 8px;
  color: #684600;
}

.download-section h2 {
  max-width: 640px;
  margin-bottom: 8px;
  font-size: 34px;
}

.download-section p:last-child {
  margin-bottom: 0;
}

.store-actions {
  display: flex;
  gap: 10px;
}

.store-button {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  min-width: 170px;
  min-height: 62px;
  padding: 10px 16px;
  gap: 12px;
  color: var(--white);
  background: var(--dark);
  border: 1px solid var(--dark);
  border-radius: 8px;
  transition: transform 160ms ease, background-color 160ms ease;
}

.store-button:hover {
  background: #303030;
  transform: translateY(-2px);
}

.store-button img {
  width: 22px;
  height: 22px;
}

.store-button small,
.store-button strong {
  display: block;
  line-height: 1.2;
}

.store-button small {
  color: #c9c9c9;
  font-size: 9px;
}

.store-button strong {
  font-size: 14px;
}

.site-footer {
  padding: 70px 0 28px;
  color: #b9b9b9;
  background: var(--dark);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  padding-bottom: 42px;
  gap: 60px;
  border-bottom: 1px solid #343434;
}

.footer-brand img {
  width: 180px;
  padding: 12px;
  background: var(--white);
  border-radius: 6px;
}

.footer-brand p {
  max-width: 420px;
  margin: 20px 0 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  align-content: start;
  gap: 14px 28px;
}

.footer-links a,
.legal-copy a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: #595959;
  text-underline-offset: 4px;
}

.footer-links a:hover,
.legal-copy a:hover {
  text-decoration-color: var(--brand);
}

.legal-copy {
  padding-top: 34px;
  font-size: 12px;
  line-height: 1.65;
}

.legal-copy p {
  max-width: 1080px;
  margin-bottom: 10px;
}

.legal-copy strong {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #343434;
  font-size: 12px;
}

.legal-page {
  background: var(--white);
}

.legal-hero {
  padding: 76px 0 72px;
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 164, 0, 0.2), transparent 28%),
    linear-gradient(180deg, #fffaf0 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}

.legal-back {
  display: inline-flex;
  margin-bottom: 42px;
  color: #4b4b4b;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: 4px;
}

.legal-back:focus-visible,
.legal-toc a:focus-visible,
.legal-document a:focus-visible {
  outline: 3px solid rgba(240, 164, 0, 0.45);
  outline-offset: 3px;
}

.legal-hero h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: 58px;
}

.legal-summary {
  max-width: 780px;
  margin-bottom: 38px;
  color: #484848;
  font-size: 20px;
  line-height: 1.55;
}

.legal-meta {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.85fr;
  max-width: 980px;
  padding: 0;
  margin: 0 0 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.legal-meta div {
  min-width: 0;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.legal-meta div:last-child {
  border-right: 0;
}

.legal-meta dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.legal-highlight {
  max-width: 980px;
  padding: 20px 22px;
  color: #3d320f;
  background: var(--brand-soft);
  border-left: 4px solid var(--brand);
  border-radius: 0 8px 8px 0;
}

.legal-body {
  padding: 86px 0 112px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 820px);
  justify-content: space-between;
  gap: 70px;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  align-self: start;
  padding: 22px;
  background: var(--surface);
  border: 1px solid #e6e6e6;
  border-radius: 10px;
}

.legal-toc > strong {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  text-transform: uppercase;
}

.legal-toc nav {
  display: grid;
}

.legal-toc a {
  padding: 8px 0;
  color: #555555;
  font-size: 12px;
  line-height: 1.35;
  border-bottom: 1px solid #dfdfdf;
}

.legal-toc a:last-child {
  border-bottom: 0;
}

.legal-toc a:hover {
  color: var(--ink);
}

.legal-document {
  min-width: 0;
}

.legal-document section {
  padding-bottom: 46px;
  margin-bottom: 46px;
  scroll-margin-top: calc(var(--header-height) + 24px);
  border-bottom: 1px solid var(--line);
}

.legal-document section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-document h2 {
  margin-bottom: 22px;
  font-size: 31px;
}

.legal-document h3 {
  margin: 28px 0 10px;
  font-size: 19px;
}

.legal-document p,
.legal-document li {
  color: #4d4d4d;
}

.legal-document p {
  margin-bottom: 16px;
}

.legal-document ul {
  padding-left: 22px;
  margin: 20px 0 0;
}

.legal-document li {
  padding-left: 5px;
}

.legal-document li + li {
  margin-top: 12px;
}

.legal-document strong {
  color: var(--ink);
}

.legal-document a {
  color: #765100;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: 3px;
}

.legal-callout {
  padding: 24px 26px;
  margin-top: 30px;
  background: #fff8e5;
  border: 1px solid #f1d993;
  border-radius: 10px;
}

.legal-callout h3 {
  margin-top: 0;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.legal-contact-card {
  padding: 28px;
  background: var(--surface);
  border-left: 4px solid var(--brand);
  border-radius: 0 10px 10px 0;
}

.legal-contact-card p,
.legal-contact-card address {
  margin-bottom: 10px;
}

.legal-contact-card address {
  color: #4d4d4d;
  font-style: normal;
}

.legal-contact-card p:last-child {
  margin: 20px 0 0;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 38px;
  }

  .primary-nav {
    gap: 18px;
  }

  .product-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 60px;
  }

  .security-layout,
  .faq-layout {
    gap: 60px;
  }

  .download-layout {
    grid-template-columns: 96px 1fr;
  }

  .app-icon {
    width: 96px;
    height: 96px;
  }

  .store-actions {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 28px 24px;
    gap: 0;
    overflow-y: auto;
    visibility: hidden;
    background: var(--white);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-open .primary-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 18px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    background-position: 62% center;
  }

  .hero-scrim {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 45%,
      rgba(255, 255, 255, 0.58) 72%,
      rgba(255, 255, 255, 0.16) 100%
    );
  }

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

  .benefit,
  .benefit:first-child,
  .benefit:last-child {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .product-layout,
  .security-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    margin-top: 20px;
  }

  .requirements-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .requirement,
  .requirement:nth-child(3n + 2),
  .requirement:nth-child(3n + 3) {
    padding: 26px 24px 26px 0;
    border-right: 1px solid var(--line);
  }

  .requirement:nth-child(even) {
    padding-right: 0;
    padding-left: 24px;
    border-right: 0;
  }

  .security-points article {
    grid-template-columns: 42px 180px 1fr;
  }

  .faq-layout .section-heading {
    position: static;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  h1 {
    margin-bottom: 18px;
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .brand img {
    width: 164px;
  }

  .header-actions .button {
    display: none;
  }

  .hero {
    height: calc(100svh - 98px);
    min-height: 470px;
    max-height: 680px;
    background-position: 66% center;
  }

  .hero-scrim {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 62%,
      rgba(255, 255, 255, 0.44) 100%
    );
  }

  .hero-content {
    justify-content: center;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero-content > * {
    max-width: 92%;
  }

  .hero-copy {
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.45;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .text-link {
    padding: 6px 0;
  }

  .hero-points {
    margin-top: 20px;
    gap: 8px 14px;
    font-size: 12px;
  }

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

  .product-section,
  .requirements-section,
  .security-section,
  .faq-section {
    padding: 76px 0;
  }

  .product-layout {
    gap: 42px;
  }

  .section-lead {
    font-size: 16px;
  }

  .process-list {
    margin-top: 34px;
  }

  .phone {
    width: min(350px, 100%);
    height: 680px;
  }

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

  .section-heading {
    margin-bottom: 38px;
  }

  .requirement,
  .requirement:nth-child(3n + 2),
  .requirement:nth-child(3n + 3),
  .requirement:nth-child(even) {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
  }

  .security-layout,
  .faq-layout {
    gap: 38px;
  }

  .security-points article {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .security-points article p {
    grid-column: 2;
  }

  .faq-list summary {
    min-height: 70px;
    padding: 16px 0;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .download-section {
    padding: 62px 0;
  }

  .download-layout {
    grid-template-columns: 72px 1fr;
    gap: 20px;
  }

  .app-icon {
    width: 72px;
    height: 72px;
  }

  .download-section h2 {
    font-size: 28px;
  }

  .store-actions {
    grid-column: 1 / -1;
    flex-direction: column;
  }

  .store-button {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .legal-hero {
    padding: 48px 0 52px;
  }

  .legal-back {
    margin-bottom: 30px;
  }

  .legal-hero h1 {
    font-size: 39px;
  }

  .legal-summary {
    font-size: 17px;
  }

  .legal-meta {
    grid-template-columns: 1fr;
  }

  .legal-meta div,
  .legal-meta div:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .legal-meta div:last-child {
    border-bottom: 0;
  }

  .legal-body {
    padding: 58px 0 76px;
  }

  .legal-layout {
    gap: 38px;
  }

  .legal-toc nav {
    grid-template-columns: 1fr;
  }

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

  .legal-document h2 {
    font-size: 26px;
  }

  .legal-callout,
  .legal-contact-card {
    padding: 22px;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 36px;
  }

  .brand img {
    width: 150px;
  }

  .phone-screen {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (max-height: 650px) and (max-width: 640px) {
  .hero-points {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
