:root {
  --canvas: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #101828;
  --muted: #667085;
  --subtle: #98a2b3;
  --line: #dfe5ec;
  --line-strong: #c8d1dc;
  --brand: #315bea;
  --brand-dark: #2447c7;
  --brand-soft: #eef2ff;
  --success: #12b76a;
  --danger: #d92d20;
  --shadow: 0 24px 64px rgba(16, 24, 40, 0.1), 0 2px 8px rgba(16, 24, 40, 0.04);
  --font: "Aptos", "Avenir Next", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
}

body::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand);
  content: "";
}

button,
input,
select {
  font: inherit;
}

button,
select,
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid rgba(49, 91, 234, 0.3);
  outline-offset: 2px;
}

.page-shell {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  overflow: hidden;
  flex: 0 0 30px;
  border-radius: 7px;
  background: white;
}

.brand-mark img {
  position: absolute;
  width: 44px;
  height: 44px;
  max-width: none;
  transform: translate(-7px, -6px);
}

.calculator-menu {
  position: relative;
  z-index: 20;
}

.calculator-menu > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  transition: background-color 140ms ease, color 140ms ease;
}

.calculator-menu > button:hover,
.calculator-menu > button[aria-expanded="true"] {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.calculator-menu > button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.calculator-menu nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 270px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(16, 24, 40, 0.14);
}

.calculator-menu nav[hidden] {
  display: none;
}

.calculator-menu nav a {
  display: grid;
  gap: 1px;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.calculator-menu nav a:hover,
.calculator-menu nav a:focus-visible {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.calculator-menu nav small {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 550;
}

.hero {
  padding: clamp(40px, 6vw, 66px) 0 clamp(58px, 7vw, 78px);
  animation: enter 480ms ease-out both;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(38px, 7vw, 86px);
  align-items: end;
}

.kicker,
.micro-label,
.result-label {
  margin: 0;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
}

.kicker > span {
  width: 22px;
  height: 2px;
  background: var(--brand);
}

h1 {
  grid-column: 1;
  max-width: 760px;
  margin: 20px 0 0;
  font-size: clamp(3.6rem, 7.2vw, 6.2rem);
  font-weight: 720;
  letter-spacing: -0.067em;
  line-height: 0.94;
}

h1 em {
  color: var(--brand);
  font-style: normal;
  font-weight: inherit;
}

.hero .intro {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 360px;
  margin: 0 0 7px;
  padding: 16px 0 0;
  border-top: 3px solid var(--ink);
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.55;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}

.product-card {
  display: flex;
  min-height: 205px;
  padding: clamp(22px, 3vw, 30px);
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.product-card:hover {
  border-color: #9eabc0;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.07);
  transform: translateY(-2px);
}

.product-status,
.section-kicker {
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-status.muted {
  color: var(--muted);
}

.product-card h2 {
  max-width: 380px;
  margin: 16px 0 6px;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
}

.product-link span {
  color: var(--brand);
  font-size: 1.1rem;
}

.tool-section,
.project-section {
  scroll-margin-top: 24px;
}

.tool-section {
  padding-top: clamp(52px, 7vw, 84px);
  border-top: 1px solid var(--line);
}

.tool-intro {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-kicker {
  margin: 0 0 14px;
}

.tool-intro h2,
.project-section h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.tool-tagline,
.project-tagline {
  margin: 22px 0 0;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
}

.tool-description,
.project-description {
  max-width: 650px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.calculator {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.currency-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.currency-note,
.section-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.segmented-control {
  display: flex;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.segmented-control label {
  position: relative;
}

.segmented-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-control span {
  display: block;
  min-width: 86px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.segmented-control input:checked + span {
  background: var(--brand);
  color: white;
  box-shadow: 0 3px 8px rgba(49, 91, 234, 0.22);
}

.segmented-control input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(49, 91, 234, 0.25);
}

.segmented-control b {
  font-weight: 700;
}

.form-section {
  padding: clamp(28px, 4vw, 40px) clamp(22px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.section-number,
.row-index {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  font-style: normal;
}

.section-heading h2,
.site-footer h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.people-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.people-topline .section-heading {
  margin-bottom: 0;
}

.meeting-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  max-width: none;
  margin: 0;
}

.benchmark-default strong,
.benchmark-default p {
  display: block;
  margin: 0;
}

.benchmark-default strong {
  font-size: 0.82rem;
  font-weight: 750;
}

.benchmark-default p {
  max-width: 38rem;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 9px 11px;
  border: 1px solid #dfe4eb;
  border-radius: 11px;
  background: #fbfcfd;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.switch-row:hover {
  border-color: #b6c4ff;
  background: #f7f8ff;
}

.switch-row strong,
.switch-row small {
  display: block;
}

.switch-row strong {
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.25;
}

.switch-row small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 650;
}

.switch {
  position: relative;
  flex: 0 0 44px;
  height: 24px;
}

.switch input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
}

.switch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #b8c0cc;
  transition: background-color 150ms ease;
}

.switch span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.25);
  content: "";
  transition: transform 150ms ease;
}

.switch input:checked + span {
  background: var(--brand);
}

.switch input:checked + span::after {
  transform: translateX(20px);
}

.switch input:focus-visible + span {
  outline: 3px solid rgba(49, 91, 234, 0.3);
  outline-offset: 2px;
}

.groups-header {
  display: none;
}

.groups-list {
  display: grid;
  gap: 8px;
}

.participant-row {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.participant-row:focus-within {
  border-color: #aebdff;
  box-shadow: 0 0 0 3px rgba(49, 91, 234, 0.08);
}

.row-index {
  width: 28px;
  height: 28px;
  margin-top: 22px;
  background: white;
  box-shadow: inset 0 0 0 1px var(--line);
}

.participant-fields {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(170px, 1fr) 124px auto;
  gap: 10px;
  align-items: end;
}

.participant-fields.has-custom-cost {
  grid-template-columns: minmax(130px, 0.9fr) minmax(140px, 0.9fr) minmax(190px, 1.05fr) 118px auto;
}

.mobile-field-label,
.custom-cost-inline label > span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.field select,
.custom-cost-inline select,
.custom-cost-inline input {
  width: 100%;
  min-height: 40px;
  padding: 9px 34px 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background-color: white;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

.field select:hover,
.custom-cost-inline select:hover,
.custom-cost-inline input:hover {
  border-color: #9aa5b3;
}

.quantity-control > div {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  min-height: 40px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: white;
}

.quantity-control button {
  align-self: stretch;
  border: 0;
  background: transparent;
  color: #344054;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background-color 120ms ease, color 120ms ease;
}

.quantity-control button:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.quantity-value {
  text-align: center;
  font-weight: 750;
}

.remove-group {
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
}

.remove-group:hover {
  background: #feeceb;
  color: var(--danger);
}

.custom-cost-inline label > span {
  color: #475467;
}

.custom-cost-inline small {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.cost-input-group {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 84px;
  margin: 0 !important;
}

.cost-input-group input {
  min-width: 0;
  border-radius: 9px 0 0 9px;
}

.cost-input-group select {
  padding-right: 22px;
  border-left: 0;
  border-radius: 0 9px 9px 0;
  background-color: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 750;
}

.add-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid #b8c5ff;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.84rem;
  font-weight: 750;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.add-group:hover {
  border-color: #8ea2ff;
  background: #e4e9ff;
}

.add-group span {
  font-size: 1.15rem;
  line-height: 1;
}

.duration-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
}

.duration-section .section-heading {
  margin-bottom: 0;
}

.minutes-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-soft);
}

.minutes-field input {
  width: 96px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 2.15rem;
  font-weight: 750;
  line-height: 1.15;
  text-align: right;
}

.minutes-field span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.form-action {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 40%);
  gap: 22px;
  align-items: center;
  padding: 22px clamp(22px, 4vw, 40px) 26px;
  background: var(--surface-soft);
}

.form-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.84rem;
  font-weight: 650;
}

.fx-note {
  margin: 0;
  padding: 0 clamp(24px, 5vw, 52px) 24px;
  background: var(--surface-soft);
  color: var(--subtle);
  font-size: 0.68rem;
  text-align: right;
}

.estimate-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  border-radius: 11px;
  background: var(--brand);
  color: white;
  font-weight: 750;
  box-shadow: 0 8px 18px rgba(49, 91, 234, 0.22);
  transition: background-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.estimate-button:hover {
  background: var(--brand-dark);
  box-shadow: 0 10px 22px rgba(49, 91, 234, 0.28);
  transform: translateY(-1px);
}

.estimate-button span:last-child {
  font-size: 1.2rem;
}

.result {
  position: relative;
  margin-top: 28px;
  padding: clamp(58px, 8vw, 88px) 32px;
  overflow: hidden;
  border-radius: 24px;
  background: #101828;
  color: white;
  text-align: center;
  box-shadow: var(--shadow);
}

.result[hidden] {
  display: none;
}

.result::before,
.result::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.result::before {
  top: -210px;
  right: -110px;
  width: 430px;
  height: 430px;
}

.result::after {
  bottom: -260px;
  left: -130px;
  width: 520px;
  height: 520px;
}

.result > * {
  position: relative;
  z-index: 1;
}

.result-label {
  color: #aebdff;
}

.result-amount {
  margin: 12px 0 6px;
  font-size: clamp(5rem, 13vw, 9rem);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.result-context {
  margin: 0;
  color: #d0d5dd;
  font-size: 1rem;
  font-weight: 650;
}

.email-verdict {
  max-width: 560px;
  margin: 34px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.email-verdict h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: -0.01em;
}

.verdict-options {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.verdict-options[hidden] {
  display: none;
}

.verdict-options button {
  min-width: 76px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  color: #e4e7ec;
  font-size: 0.8rem;
  font-weight: 700;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.verdict-options button:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.verdict-options button.is-selected {
  border-color: white;
  background: white;
  color: var(--ink);
}

.receipt-share {
  max-width: 430px;
  margin: 28px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.receipt-share[hidden] {
  display: none;
}

.receipt-share h3 {
  font-size: 0.88rem;
}

.receipt-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.share-receipt {
  padding: 10px 18px;
  border: 1px solid var(--brand);
  border-radius: 9px;
  background: var(--brand);
  color: white;
  font-size: 0.8rem;
  font-weight: 750;
}

.share-receipt:hover {
  border-color: #5f7cf0;
  background: #5f7cf0;
}

.download-receipt {
  padding: 7px 2px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #d0d5dd;
  font-size: 0.75rem;
  font-weight: 650;
}

.download-receipt:hover {
  border-color: white;
  color: white;
}

.receipt-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: #98a2b3;
  font-size: 0.72rem;
}

.receipt-links a {
  color: #d0d5dd;
  text-decoration: none;
}

.receipt-links a:hover {
  color: white;
  text-decoration: underline;
}

.result.is-visible .result-amount {
  animation: result-in 380ms ease-out both;
}

.result-reset {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.result-reset[hidden] {
  display: none;
}

.result-reset button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.result-reset button:hover {
  border-color: #aebdff;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.meeting-tips {
  margin-top: 22px;
  border: 1px solid #c8d3ff;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(49, 91, 234, 0.07);
}

.meeting-tips summary {
  position: relative;
  padding: 25px 72px 25px 26px;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

.meeting-tips summary strong,
.meeting-tips summary small {
  display: block;
}

.meeting-tips summary strong {
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: -0.015em;
}

.meeting-tips summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.meeting-tips summary::-webkit-details-marker {
  display: none;
}

.meeting-tips summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 500;
  content: "+";
  transform: translateY(-50%);
}

.meeting-tips[open] summary {
  border-bottom: 1px solid var(--line);
}

.meeting-tips[open] summary::after {
  content: "−";
}

.tips-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
  padding: 10px 24px 24px;
}

.tips-content article {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.tips-content h3 {
  margin: 0 0 6px;
  font-size: 0.9rem;
}

.tips-content article p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.tips-closing {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  padding: 20px;
  border-radius: 10px;
  background: var(--surface-soft);
  color: #344054;
  font-size: 0.84rem;
  line-height: 1.6;
}

.project-section {
  margin-top: clamp(90px, 13vw, 150px);
  padding: clamp(78px, 10vw, 116px) 0 clamp(88px, 12vw, 140px);
  border-top: 1px solid var(--line);
}

.project-section h2 {
  max-width: 780px;
}

.project-description {
  max-width: 620px;
}

.coming-soon {
  display: inline-block;
  margin-top: 34px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding: 54px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-methodology {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(36px, 9vw, 100px);
  align-items: end;
}

.site-footer h2 {
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.site-footer p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.text-button {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.norte-signature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.site-footer .norte-signature p {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  white-space: nowrap;
}

.norte-signature nav {
  display: flex;
  gap: 6px;
}

.icon-link {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.icon-link:hover {
  border-color: #aebdff;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.norte-signature svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.norte-signature .icon-fill {
  fill: currentColor;
  stroke: none;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 140ms ease;
}

.contact-link:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes result-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .hero-copy {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  h1,
  .intro {
    grid-column: 1;
  }

  .intro {
    grid-row: auto;
    max-width: 620px;
    padding-top: 18px;
    border-top-width: 2px;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 16px, 560px);
  }

  .site-header {
    min-height: 56px;
  }

  .edition {
    display: none;
  }

  .hero {
    padding: 30px 0 40px;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 4.7rem);
  }

  .product-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .product-card {
    min-height: 165px;
    padding: 19px;
  }

  .tool-section {
    padding-top: 40px;
  }

  .tool-intro {
    margin-bottom: 24px;
  }

  .tool-intro h2,
  .project-section h2 {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .tool-tagline,
  .project-tagline {
    margin-top: 16px;
  }

  .currency-bar {
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
  }

  .calculator {
    border-radius: 18px;
  }

  .segmented-control label {
    flex: 1;
  }

  .segmented-control span {
    min-width: 0;
  }

  .form-section {
    padding: 22px 14px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 20px;
  }

  .meeting-options {
    grid-template-columns: 1fr;
  }

  .people-topline {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 18px;
  }

  .participant-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    border-radius: 13px;
  }

  .row-index {
    width: 28px;
    height: 28px;
    margin-top: 0;
  }

  .participant-fields,
  .participant-fields.has-custom-cost,
  .custom-cost-inline {
    grid-template-columns: 1fr;
  }

  .quantity-control,
  .remove-group,
  .custom-cost-inline {
    grid-column: 1;
  }

  .remove-group {
    justify-self: start;
    min-height: 36px;
    padding: 0 4px;
  }

  .custom-cost-inline {
    width: 100%;
  }

  .duration-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .minutes-field {
    width: fit-content;
  }

  .form-action {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 14px 18px;
  }

  .estimate-button {
    grid-row: 1;
  }

  .result {
    margin-top: 16px;
    padding: 44px 16px;
    border-radius: 18px;
  }

  .result-amount {
    font-size: clamp(4.5rem, 25vw, 6.8rem);
  }

  .email-verdict {
    margin-top: 28px;
    padding-top: 22px;
  }

  .verdict-options button {
    min-width: 70px;
    padding-right: 13px;
    padding-left: 13px;
  }

  .receipt-actions {
    flex-direction: column;
    gap: 8px;
  }

  .meeting-tips {
    margin-top: 16px;
    border-radius: 14px;
  }

  .meeting-tips summary {
    padding: 20px 58px 20px 18px;
  }

  .tips-content {
    grid-template-columns: 1fr;
  }

  .tips-closing {
    grid-column: 1;
  }

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

  .text-button {
    justify-self: start;
  }
}

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