:root {
  --ink: #07111f;
  --navy: #0b1b30;
  --muted: #5f6e80;
  --line: #dfe7ee;
  --surface: #ffffff;
  --wash: #f3f7fa;
  --blue: #246bfd;
  --blue-dark: #1554d1;
  --teal: #16b8a6;
  --teal-soft: #dff8f4;
  --orange-soft: #fff3dd;
  --orange: #b86600;
  --shadow: 0 20px 55px rgba(13, 37, 62, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(36,107,253,.09), transparent 24rem),
    linear-gradient(#fff, #f8fbfd 48%, #fff);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { width: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--ink);
  font: 800 1.22rem/1 "Manrope", sans-serif;
  letter-spacing: -.045em;
}
.brand-symbol {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  background: linear-gradient(145deg, #0b1b30 0%, #123a68 100%);
  box-shadow: 0 7px 18px rgba(11, 27, 48, .18), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.brand-symbol svg { width: 26px; height: 26px; overflow: visible; stroke: none; }
.brand-name { display: inline-flex; align-items: baseline; white-space: nowrap; }
.brand-name b { color: var(--blue); font: inherit; }
.brand:hover .brand-symbol { transform: translateY(-1px); box-shadow: 0 9px 22px rgba(11, 27, 48, .23), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.brand-symbol { transition: transform .18s ease, box-shadow .18s ease; }
.footer-brand .brand-symbol { width: 36px; height: 36px; border-radius: 11px; }
.footer-brand .brand-symbol svg { width: 23px; height: 23px; }
nav { display: flex; gap: 27px; margin-left: auto; color: #405066; font-size: .92rem; font-weight: 600; }
nav a:hover { color: var(--blue); }
.header-badge { padding: 6px 10px; border: 1px solid #acdcd5; border-radius: 999px; color: #087e72; background: var(--teal-soft); font-size: .7rem; font-weight: 800; letter-spacing: .09em; }

main { min-height: calc(100vh - 190px); }
.notice {
  width: min(1180px, calc(100% - 40px));
  margin: 5px auto 0;
  padding: 12px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #f2d292;
  border-radius: 12px;
  color: #724512;
  background: var(--orange-soft);
  font-size: .9rem;
}
.notice-icon { display: grid; place-items: center; flex: 0 0 auto; width: 21px; height: 21px; border: 1px solid currentColor; border-radius: 50%; font-weight: 800; font-family: serif; }
.notice div { display: flex; gap: 8px; flex-wrap: wrap; }
.notice span:last-child { color: #835d2b; }

.directory-view { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.intro { max-width: 730px; padding: 83px 0 43px; }
.eyebrow { margin: 0 0 13px; color: var(--blue); font-size: .76rem; line-height: 1.2; font-weight: 800; letter-spacing: .13em; }
h1, h2 { margin: 0; font-family: "Manrope", sans-serif; letter-spacing: -.045em; }
.intro h1 { max-width: 720px; font-size: clamp(2.9rem, 7vw, 5.6rem); line-height: .98; }
.intro h1 span { color: var(--blue); }
.intro > p:last-child { max-width: 635px; margin: 26px 0 0; color: var(--muted); font-size: 1.15rem; line-height: 1.7; }
.data-disclosure { max-width: 720px; margin-top: 24px; padding: 14px 17px; border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; color: #40586c; background: #eefaf8; font-size: .92rem; }
.data-disclosure strong { color: #075f56; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { display: flex; align-items: baseline; gap: 11px; padding: 25px 0; }
.stats div + div { padding-left: 35px; border-left: 1px solid var(--line); }
.stats strong { font: 800 1.8rem/1 "Manrope", sans-serif; }
.stats span { color: var(--muted); }

.number-browser { padding: 82px 0 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2, .how-it-works h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.search-box { width: min(360px, 100%); display: flex; align-items: center; gap: 10px; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: #8290a0; }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,107,253,.12); }
.search-box input { width: 100%; height: 48px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-box svg { width: 18px; }
.number-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.number-card { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 15px; min-height: 91px; padding: 20px; border: 1px solid rgba(173,190,207,.72); border-radius: 18px; background: rgba(255,255,255,.9); cursor: pointer; text-align: left; box-shadow: 0 8px 24px rgba(13,37,62,.055); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.number-card::before { content: attr(data-flag); position: absolute; z-index: -2; right: -8px; top: 50%; font-size: 6.7rem; line-height: 1; opacity: .24; filter: saturate(1.4) blur(.3px); transform: translateY(-50%) rotate(-7deg) scale(1.18); transition: opacity .18s ease, transform .22s ease; }
.number-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 50%, rgba(255,255,255,.36) 100%); }
.number-card > * { position: relative; z-index: 1; }
.number-card:hover { transform: translateY(-4px); border-color: #9eb4ca; box-shadow: 0 18px 40px rgba(13,37,62,.13); }
.number-card:hover::before { opacity: .34; transform: translateY(-50%) rotate(-4deg) scale(1.24); }
.flag { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.88); border-radius: 14px; background: rgba(255,255,255,.78); box-shadow: 0 8px 20px rgba(13,37,62,.10); font-size: 1.55rem; }
.number-card strong { display: block; font-size: 1rem; }
.number-card small { color: var(--muted); font-size: .84rem; }
.number-card .arrow { margin-left: auto; color: #93a0af; }
.coverage-card { width: 100%; cursor: pointer; }
.coverage-card:hover { transform: translateY(-4px); border-color: #9db5cc; box-shadow: 0 18px 40px rgba(13,37,62,.13); }
.country-details { min-width: 0; text-align: left; }
.country-code { margin-left: auto; padding: 5px 8px; border: 1px solid rgba(255,255,255,.72); border-radius: 8px; color: #40566d; background: rgba(255,255,255,.68); backdrop-filter: blur(5px); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.card-arrow { flex: 0 0 auto; width: 17px; color: #8c9bab; }
.availability-note { display: flex; align-items: center; gap: 9px; margin: -4px 0 22px; color: #697a8e; font-size: .86rem; }
.availability-note span { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(22,184,166,.12); }
.empty-state { padding: 45px; border: 1px dashed #bac6d2; border-radius: 15px; color: var(--muted); text-align: center; }
.load-more { display: block; margin: 28px auto 0; padding: 12px 20px; border: 1px solid var(--line); border-radius: 10px; color: #27405b; background: #fff; cursor: pointer; font-weight: 700; }
.load-more:hover { border-color: #9db1c5; background: var(--wash); }
.load-more[hidden] { display: none; }

.number-options { margin-top: 42px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.number-options[hidden] { display: none; }
.options-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.options-heading h3 { margin: 0; font: 800 clamp(1.45rem, 3vw, 2rem)/1.2 "Manrope", sans-serif; letter-spacing: -.035em; }
.options-meta { margin: 7px 0 0; color: var(--muted); font-weight: 600; }
.close-options { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; color: #5c6c7e; background: var(--wash); cursor: pointer; font-size: 1.55rem; line-height: 1; }
.inventory-note { margin: 23px 0 17px; padding: 12px 14px; border-left: 3px solid var(--blue); color: #5b6c80; background: #f4f8ff; font-size: .88rem; }
.options-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.phone-option { display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdff; }
.phone-option strong { display: block; font: 700 .98rem/1.35 "Manrope", sans-serif; }
.phone-option small { color: var(--muted); }
.option-index { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 9px; color: var(--blue); background: #eaf1ff; font-size: .7rem; font-weight: 800; }
.option-status { margin-left: auto; padding: 4px 8px; border-radius: 999px; color: #657386; background: #edf2f6; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.number-option-card { min-height: 245px; padding: 26px 22px 20px; display: flex; flex-direction: column; align-items: center; border: 1px solid var(--line); border-radius: 17px; color: var(--ink); background: #fff; cursor: pointer; text-align: center; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.number-option-card:hover { transform: translateY(-3px); border-color: #a9bfd5; box-shadow: 0 16px 40px rgba(13, 37, 62, .10); }
.option-flag { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 17px; border-radius: 17px; background: var(--wash); font-size: 2rem; }
.number-option-card strong { font: 700 1.02rem/1.4 "Manrope", sans-serif; overflow-wrap: anywhere; }
.number-option-card small { margin-top: 3px; color: #8897a8; font-size: .85rem; }
.open-label { width: 100%; margin-top: auto; padding-top: 18px; display: flex; justify-content: center; align-items: center; gap: 6px; border-top: 1px solid var(--line); color: var(--blue); font-weight: 700; }
.open-label svg { width: 16px; }

.inbox-page { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 90px; }
.inbox-page[hidden] { display: none; }
.inbox-page > .back-button { margin-bottom: 18px; }
.inbox-hero { position: relative; min-height: 430px; padding: 60px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 24px; color: #fff; text-align: center; overflow: hidden; background:
  radial-gradient(circle at 18% 90%, rgba(22,184,166,.35), transparent 30%),
  radial-gradient(circle at 82% 15%, rgba(36,107,253,.48), transparent 35%),
  linear-gradient(145deg, #0b1b30, #123252 58%, #07111f); }
.inbox-hero::after { content: ""; position: absolute; inset: 0; opacity: .22; background-image: radial-gradient(circle at 30% 20%, #fff 0 1px, transparent 1.4px), radial-gradient(circle at 75% 65%, #fff 0 1px, transparent 1.4px); background-size: 38px 38px, 51px 51px; pointer-events: none; }
.inbox-hero > * { position: relative; z-index: 1; }
.inbox-hero .eyebrow { color: #75eee0; }
.inbox-flag { display: grid; place-items: center; width: 92px; height: 92px; margin: 14px 0 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(255,255,255,.09); font-size: 3rem; }
.inbox-hero h1 { max-width: 900px; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.08; overflow-wrap: anywhere; }
.inbox-hero > p:last-of-type { margin: 16px 0 0; color: #b9c9da; font-size: 1.05rem; }
.copy-inbox-number { margin-top: 23px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 10px; color: #fff; background: rgba(255,255,255,.08); cursor: pointer; font-weight: 700; }
.copy-inbox-number:hover { background: rgba(255,255,255,.14); }
.inbox-content { max-width: 900px; margin: 0 auto; padding: 48px 0 0; }
.inbox-guidance { display: grid; gap: 13px; }
.inbox-guidance div { display: flex; align-items: center; gap: 13px; }
.inbox-guidance span { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 auto; border-radius: 50%; color: #fff; background: var(--blue); font-size: .78rem; font-weight: 800; }
.inbox-guidance p { margin: 0; color: #526276; }
.inbox-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 33px; }
.inbox-actions button { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 11px; cursor: pointer; font-weight: 800; }
.primary-action { border: 0; color: #fff; background: var(--blue); }
.primary-action:hover { background: var(--blue-dark); }
.primary-action:disabled { opacity: .72; cursor: wait; }
.primary-action.loading svg { animation: rotate .8s linear infinite; }
.secondary-action { border: 1px solid var(--line); color: #27405b; background: #fff; }
.secondary-action:hover { background: var(--wash); }
.inbox-status { min-height: 25px; margin: 10px 0 0; color: #657589; text-align: center; font-size: .88rem; }
.message-history-heading { margin-top: 27px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.message-history-heading .eyebrow { margin-bottom: 7px; }
.message-history-heading h2 { font-size: 1.7rem; }
.data-badge { padding: 6px 10px; border: 1px solid #c9d7e5; border-radius: 999px; color: #53667b; background: #f4f7fa; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.message-history-list { display: grid; gap: 12px; margin-top: 16px; }
.generated-message-card { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgba(13,37,62,.045); animation: enter .25s ease both; }
.sender-avatar { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: #586b82; font: 800 1rem/1 "Manrope", sans-serif; }
.sender-avatar.purple { background: #635bca; }
.sender-avatar.blue { background: #4285f4; }
.sender-avatar.dark { background: #111827; }
.sender-avatar.sky { background: #1d9bf0; }
.sender-avatar.green { background: #22a564; }
.sender-avatar.orange { background: #e78319; }
.sender-avatar.indigo { background: #5865f2; }
.sender-avatar.cyan { background: #229ed9; }
.sender-avatar.red { background: #e23744; }
.sender-avatar.pink { background: #d62976; }
.sender-avatar.yellow { color: #153b7a; background: #ffd24b; }
.message-body { min-width: 0; }
.message-topline { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.message-topline strong { color: #22364c; font: 700 .98rem/1.3 "Manrope", sans-serif; }
.message-topline time { flex: 0 0 auto; color: #8492a3; font-size: .78rem; }
.generated-message-card p { margin: 7px 0 0; color: #4a5b70; line-height: 1.5; overflow-wrap: anywhere; }
.generated-message-card mark { padding: 2px 6px; border-radius: 5px; color: #075f56; background: var(--teal-soft); font-weight: 800; }
.inbox-empty { margin-top: 24px; padding: 55px 25px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 17px; border-radius: 16px; color: var(--blue); background: #eaf1ff; }
.empty-icon svg { width: 28px; }
.inbox-empty h2 { font-size: 1.45rem; }
.inbox-empty p { max-width: 480px; margin: 8px auto 0; color: var(--muted); }

.how-it-works { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; margin-bottom: 100px; padding: 50px; border-radius: 24px; color: #fff; background: var(--navy); overflow: hidden; }
.how-it-works .eyebrow { color: #5ee5d4; }
.how-it-works ol { list-style: none; margin: 0; padding: 0; }
.how-it-works li { display: grid; grid-template-columns: 45px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.how-it-works li:last-child { border-bottom: 0; }
.how-it-works li > span { color: #5ee5d4; font: 700 .75rem/1.7 "Manrope", sans-serif; }
.how-it-works strong { font: 700 1.05rem/1.3 "Manrope", sans-serif; }
.how-it-works p { margin: 5px 0 0; color: #9db0c5; }

.inbox-view { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0 90px; }
.back-button { display: flex; align-items: center; gap: 7px; margin: 0 0 22px; padding: 8px 0; border: 0; color: #516176; background: transparent; cursor: pointer; font-weight: 700; }
.back-button:hover { color: var(--blue); }
.inbox-layout { display: grid; grid-template-columns: 330px 1fr; min-height: 600px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.number-panel { padding: 38px 32px; color: #fff; background: var(--navy); }
.flag-tile { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 35px; border: 1px solid rgba(255,255,255,.13); border-radius: 17px; background: rgba(255,255,255,.07); font-size: 1.8rem; }
.number-panel .eyebrow { color: #67dfd1; }
.number-panel h1 { font-size: 2rem; }
.copy-number { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 25px; padding: 14px 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; color: #fff; background: rgba(255,255,255,.07); cursor: pointer; text-align: left; }
.copy-number:hover { background: rgba(255,255,255,.12); }
.copy-feedback { min-height: 23px; margin: 7px 2px 0; color: #9cb0c5; font-size: .8rem; }
.warning-card { margin-top: 45px; padding: 17px; border: 1px solid rgba(94,229,212,.25); border-radius: 13px; background: rgba(25,184,166,.09); }
.warning-card strong { color: #63e5d6; }
.warning-card p { margin: 7px 0 0; color: #afc0d2; font-size: .85rem; line-height: 1.55; }
.messages-panel { padding: 37px 40px; background: #fbfdfe; }
.messages-header { display: flex; justify-content: space-between; gap: 22px; align-items: start; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.messages-header h2 { margin-top: 8px; font-size: 2rem; }
.messages-header p { margin: 5px 0 0; color: var(--muted); }
.live-label { color: #168777; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.live-label span { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(22,184,166,.13); }
.refresh-button { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 11px 16px; border: 0; border-radius: 10px; color: #fff; background: var(--blue); cursor: pointer; font-weight: 700; }
.refresh-button:hover { background: var(--blue-dark); }
.refresh-button:disabled { opacity: .65; cursor: wait; }
.refresh-button.loading svg { animation: rotate .8s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.refresh-status { min-height: 24px; padding-top: 12px; color: #69798b; font-size: .83rem; }
.message-list { display: grid; gap: 12px; margin-top: 4px; }
.message-card { padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: #fff; animation: enter .25s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(-5px); } }
.message-meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.message-meta strong { color: #24364a; }
.message-meta span { color: #8190a0; font-size: .78rem; }
.message-card p { margin: 0; color: #415167; }
.message-card mark { padding: 2px 6px; border-radius: 5px; color: #075f56; background: var(--teal-soft); font-weight: 800; }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 35px 0 42px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: #738194; font-size: .85rem; }
footer p { margin: 0; }
footer p:last-child { text-align: right; }
.footer-links { display: flex; justify-content: center; gap: 18px; margin: 0; font-size: .84rem; font-weight: 600; }
.footer-links a:hover { color: var(--blue); }
.legal-main { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 95px; }
.legal-hero { padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { max-width: 760px; font-size: clamp(2.55rem, 7vw, 4.8rem); line-height: 1.02; }
.legal-hero > p:last-of-type { max-width: 700px; margin: 20px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.legal-meta { display: inline-flex; margin-top: 22px; padding: 6px 10px; border-radius: 999px; color: #52677d; background: var(--wash); font-size: .78rem; font-weight: 700; }
.legal-content { padding-top: 36px; }
.legal-content section { padding: 25px 0; border-bottom: 1px solid var(--line); }
.legal-content section:first-child { padding-top: 0; }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { margin-bottom: 11px; font-size: clamp(1.3rem, 3vw, 1.65rem); letter-spacing: -.03em; }
.legal-content h3 { margin: 18px 0 6px; font: 700 1.02rem/1.4 "Manrope", sans-serif; }
.legal-content p, .legal-content li { color: #4f6073; line-height: 1.75; }
.legal-content p { margin: 0 0 12px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul { margin: 10px 0 0; padding-left: 22px; }
.legal-content li + li { margin-top: 7px; }
.legal-content a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-callout { margin: 8px 0 2px; padding: 18px 20px; border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; color: #365064; background: #eefaf8; }
.contact-card { margin-top: 8px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 34px rgba(13,37,62,.06); }
.contact-card strong { display: block; margin-bottom: 6px; font: 700 1.05rem/1.4 "Manrope", sans-serif; }
.contact-card p { margin: 0; }
.country-main { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 66px 0 90px; }
.country-hero { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.country-hero h1 { max-width: 780px; font-size: clamp(2.5rem, 7vw, 4.9rem); line-height: 1.02; }
.country-hero p:not(.eyebrow) { max-width: 690px; margin: 20px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.country-symbol { width: 116px; height: 116px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); font-size: 3.7rem; }
.country-layout { display: grid; grid-template-columns: 1.4fr .75fr; gap: 48px; padding-top: 42px; }
.country-copy section { padding: 0 0 28px; }
.country-copy section + section { padding-top: 27px; border-top: 1px solid var(--line); }
.country-copy h2 { margin-bottom: 10px; font-size: 1.55rem; letter-spacing: -.03em; }
.country-copy p, .country-copy li { color: #4f6073; line-height: 1.75; }
.country-copy p { margin: 0 0 11px; }
.country-copy ul { margin: 10px 0 0; padding-left: 22px; }
.country-action { position: sticky; top: 22px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(13,37,62,.08); }
.country-action .calling-code { display: inline-flex; margin-bottom: 16px; padding: 7px 10px; border-radius: 8px; color: #075f56; background: var(--teal-soft); font-weight: 800; }
.country-action h2 { font-size: 1.4rem; }
.country-action p { margin: 9px 0 19px; color: var(--muted); }
.country-cta { min-height: 49px; display: flex; align-items: center; justify-content: center; padding: 0 17px; border-radius: 10px; color: #fff; background: var(--blue); font-weight: 800; }
.country-cta:hover { background: var(--blue-dark); }
.country-note { margin-top: 14px; color: #738194; font-size: .8rem; line-height: 1.55; }
.country-number-directory { padding: 40px 0 8px; }
.country-number-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.country-number-heading h2 { font-size: clamp(1.7rem, 4vw, 2.45rem); }
.country-number-heading p { max-width: 430px; margin: 0; color: var(--muted); }
.country-number-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.country-number-list .number-option-card { min-height: 198px; background: linear-gradient(145deg, #fff, #f7fbff); }
.country-number-status { margin: 0; padding: 18px; border: 1px dashed #b8c7d6; border-radius: 14px; color: var(--muted); background: #fff; }
.related-countries { display: flex; flex-wrap: wrap; gap: 9px; }
.related-countries a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #40556c; background: #fff; font-size: .85rem; font-weight: 700; }
.related-countries a:hover { border-color: #9eb5cc; color: var(--blue); }
.featured-guides { margin: 0 0 100px; }
.featured-guides-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.featured-guides-heading h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.featured-guides-heading > a { color: var(--blue); font-weight: 800; }
.featured-guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.featured-guides-grid > a { min-height: 205px; display: flex; flex-direction: column; padding: 23px; border: 1px solid var(--line); border-radius: 17px; background: #fff; transition: .18s ease; }
.featured-guides-grid > a:hover { transform: translateY(-3px); border-color: #a9bfd5; box-shadow: var(--shadow); }
.featured-guides-grid span, .guide-card > div span:first-child { color: var(--blue); font-size: .73rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.featured-guides-grid strong { margin-top: 18px; font: 700 1.12rem/1.35 "Manrope", sans-serif; }
.featured-guides-grid p { margin: auto 0 0; padding-top: 15px; color: var(--muted); font-size: .9rem; }
.guides-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 100px; }
.guides-hero { max-width: 820px; }
.guides-hero h1 { font-size: clamp(2.7rem, 7vw, 5.2rem); line-height: 1.02; }
.guides-hero > p:last-child { max-width: 700px; margin: 22px 0 0; color: var(--muted); font-size: 1.12rem; line-height: 1.7; }
.guide-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 35px 0 28px; }
.guide-filters span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: #52677d; background: #fff; font-size: .78rem; font-weight: 700; }
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.guide-card { min-height: 285px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.guide-card > div { display: flex; justify-content: space-between; gap: 12px; color: #8492a3; font-size: .75rem; }
.guide-card h2 { margin-top: 22px; font-size: 1.28rem; line-height: 1.35; letter-spacing: -.025em; }
.guide-card h2 a:hover { color: var(--blue); }
.guide-card p { margin: 12px 0 20px; color: var(--muted); font-size: .91rem; }
.read-guide { margin-top: auto; color: var(--blue); font-weight: 800; }
.guide-main { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 35px 0 100px; }
.guide-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 35px; color: #748397; font-size: .82rem; }
.guide-breadcrumb a:hover { color: var(--blue); }
.guide-hero { max-width: 900px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.guide-hero h1 { font-size: clamp(2.55rem, 7vw, 4.9rem); line-height: 1.03; }
.guide-hero > p:not(.eyebrow) { max-width: 760px; margin: 20px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 23px; color: #6c7d90; font-size: .82rem; font-weight: 600; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 58px; padding-top: 40px; }
.guide-content { min-width: 0; }
.guide-lead { margin: 0 0 32px; color: #33495f; font-size: 1.12rem; line-height: 1.8; }
.guide-content > section { padding: 28px 0; border-top: 1px solid var(--line); }
.guide-content h2 { margin-bottom: 12px; font-size: clamp(1.35rem, 3vw, 1.75rem); letter-spacing: -.03em; }
.guide-content p, .guide-content li { color: #4f6073; line-height: 1.78; }
.guide-content p { margin: 0; }
.guide-checklist { padding: 25px !important; border: 0 !important; border-radius: 16px; background: #eefaf8; }
.guide-checklist ul { margin: 15px 0 0; padding: 0; list-style: none; }
.guide-checklist li { position: relative; padding-left: 28px; }
.guide-checklist li + li { margin-top: 9px; }
.guide-checklist li::before { content: "✓"; position: absolute; left: 0; color: #078778; font-weight: 900; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq-list summary { padding: 15px 17px; cursor: pointer; font-weight: 700; }
.faq-list details p { padding: 0 17px 17px; }
.editorial-note { margin-top: 28px; padding: 18px 20px; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; color: #5b4b37; background: var(--orange-soft); }
.guide-aside > div { position: sticky; top: 24px; padding: 21px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.guide-aside a { display: block; padding: 14px 0; border-top: 1px solid var(--line); }
.guide-aside a strong { display: block; font: 700 .91rem/1.4 "Manrope", sans-serif; }
.guide-aside a span { display: block; margin-top: 4px; color: #8391a2; font-size: .76rem; }
.guide-aside .all-guides-link { color: var(--blue); font-weight: 800; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 10; padding: 12px 17px; border-radius: 10px; color: #fff; background: var(--navy); box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .number-grid { grid-template-columns: repeat(2, 1fr); }
  .options-list { grid-template-columns: repeat(2, 1fr); }
  .how-it-works { grid-template-columns: 1fr; gap: 20px; }
  .inbox-layout { grid-template-columns: 1fr; }
  .number-panel { display: grid; grid-template-columns: 70px 1fr; column-gap: 20px; }
  .flag-tile { grid-row: 1 / span 3; margin: 0; }
  .number-panel .eyebrow, .number-panel h1 { grid-column: 2; }
  .copy-number, .copy-feedback, .warning-card { grid-column: 1 / -1; }
  .warning-card { margin-top: 25px; }
  .featured-guides-grid, .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-aside > div { position: static; }
}

@media (max-width: 680px) {
  .site-header, .notice, .directory-view, .inbox-view, .inbox-page, footer { width: min(100% - 28px, 1180px); }
  .site-header { height: 68px; }
  .site-header { height: auto; min-height: 68px; padding: 14px 0 10px; flex-wrap: wrap; row-gap: 9px; }
  .site-header .brand { font-size: 1.12rem; }
  .site-header .brand-symbol { width: 36px; height: 36px; border-radius: 11px; }
  .site-header .brand-symbol svg { width: 23px; height: 23px; }
  nav { order: 3; width: 100%; display: flex; gap: 8px; margin-left: 0; overflow-x: auto; scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  nav a { flex: 0 0 auto; min-height: 42px; display: flex; align-items: center; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
  .header-badge { margin-left: auto; }
  .notice { align-items: flex-start; }
  .notice div { display: block; }
  .notice div span { display: block; margin-top: 2px; }
  .intro { padding: 58px 0 35px; }
  .intro h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  .stats { grid-template-columns: 1fr; padding: 11px 0; }
  .stats div, .stats div + div { padding: 10px 0; border-left: 0; }
  .number-browser { padding: 58px 0 65px; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .search-box input, .load-more, .inbox-actions button, .copy-inbox-number { min-height: 48px; }
  .number-grid { grid-template-columns: 1fr; }
  .number-options { padding: 23px 18px; }
  .options-list { grid-template-columns: 1fr; }
  .number-option-card { min-height: 215px; }
  .inbox-hero { min-height: 370px; padding: 44px 20px; border-radius: 18px; }
  .inbox-content { padding-top: 35px; }
  .inbox-actions { grid-template-columns: 1fr; }
  .message-history-heading { align-items: flex-start; flex-direction: column; }
  .generated-message-card { grid-template-columns: 40px 1fr; padding: 15px; }
  .sender-avatar { width: 39px; height: 39px; }
  .message-topline { align-items: flex-start; flex-direction: column; gap: 3px; }
  .how-it-works { margin-bottom: 70px; padding: 30px 24px; }
  .messages-panel { padding: 27px 19px; }
  .messages-header { flex-direction: column; }
  .refresh-button { width: 100%; justify-content: center; }
  .number-panel { padding: 28px 22px; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer p:last-child { text-align: left; }
  .footer-links { order: initial; width: auto; justify-content: flex-start; flex-wrap: wrap; gap: 11px 18px; overflow: visible; }
  .footer-links a { min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
  .legal-main { width: min(100% - 28px, 900px); padding: 52px 0 70px; }
  .legal-hero h1 { font-size: clamp(2.35rem, 13vw, 3.5rem); }
  .country-main { width: min(100% - 28px, 1040px); padding: 50px 0 70px; }
  .country-hero { grid-template-columns: 1fr; }
  .country-symbol { width: 86px; height: 86px; grid-row: 1; font-size: 2.8rem; }
  .country-layout { grid-template-columns: 1fr; gap: 30px; }
  .country-action { position: static; }
  .country-number-heading { align-items: flex-start; flex-direction: column; }
  .country-number-list { grid-template-columns: 1fr; }
  .featured-guides-heading { align-items: flex-start; flex-direction: column; }
  .featured-guides-grid, .guides-grid { grid-template-columns: 1fr; }
  .guides-main { width: min(100% - 28px, 1180px); padding: 50px 0 70px; }
  .guide-main { width: min(100% - 28px, 1080px); padding: 24px 0 70px; }
  .guide-card { min-height: 245px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
