/* Tariffik: warm paper, red wayfinding, and the language of shipping labels. */
.tariffik-site { --tf-paper: #f8f7f2; --tf-ink: #292725; --tf-muted: #67645e; --tf-line: #dddcd4; --tf-red: #d93120;
  /* Type scale. Running text should use one of these rather than a number of
     its own, or the page drifts back to four sizes doing the same job. */
  --tf-text-xs: 10px;  /* chrome inside the artwork, footnotes */
  --tf-text-sm: 12px;  /* eyebrows, captions, notes */
  --tf-text-md: 14px;  /* list items and card copy */
  --tf-text-lg: 15px;  /* section paragraphs */
  --tf-text-xl: 16px;  /* the hero intro */ background: var(--tf-paper); color: var(--tf-ink); }
.tf-wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.tariffik-site :focus-visible { outline: 3px solid var(--tf-red); outline-offset: 5px; }
.tf-skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: white; }
.tf-skip-link:focus { top: 12px; }
.tf-nav { background: var(--tf-paper); border-color: var(--tf-line); }
.tf-nav > div:first-child { max-width: 1376px; padding-inline: 48px; }
.tf-nav .h-16 { height: 92px; }
.tf-wordmark { display: inline-flex; align-items: center; font-family: var(--font-heading), sans-serif; font-weight: 700; font-size: 32px; letter-spacing: -1.8px; color: var(--tf-ink); white-space: nowrap; }
.tf-logo-mark { width: 29px; height: 29px; display: inline-flex; align-items: center; justify-content: center; background: var(--tf-red); color: white; font: 29px/1 Arial, sans-serif; margin-right: 9px; border-radius: 5px; }
.tf-wordmark-period { color: var(--tf-red); }
.tf-public-nav { display: flex; gap: 30px; margin-left: 65px; font-size: 13px; font-weight: 500; }
.tf-public-nav a:hover, .tf-footer a:hover { color: var(--tf-red); }
.tf-nav a.bg-primary { background: var(--tf-ink); border-radius: 7px; padding: 12px 22px; }
.tf-nav a.bg-primary:hover { background: var(--tf-red); }
.tariffik-home { overflow: clip; }
.tariffik-home h1, .tariffik-home h2, .tariffik-home h3 { color: var(--tf-ink); }
.tf-eyebrow { font: 500 var(--tf-text-sm)/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 1.5px; }
.tf-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--tf-red); margin-right: 9px; }
.tf-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 65px; padding-block: 76px 68px; align-items: center; }
.tf-hero h1 { font-size: clamp(44px, 4.65vw, 68px); line-height: 1.06; letter-spacing: -3.6px; font-weight: 500; margin-top: 26px; }
.tf-hero h1 span { color: var(--tf-red); }
.tf-intro { color: var(--tf-muted); font-size: var(--tf-text-xl); line-height: 1.9; margin-top: 26px; }
.tf-lookup { margin-top: 35px; }
.tf-field-label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.tf-input-row { display: flex; padding: 5px; gap: 6px; border: 1px solid #bcbab0; border-radius: 9px; background: white; }
.tf-input-row:focus-within { border-color: var(--tf-red); }
.tf-url { width: 100%; min-width: 0; padding: 12px 10px; border: 0; background: transparent; font-size: 12px; }
.tf-url::placeholder { color: #88857e; }
.tf-url:focus { outline: none; box-shadow: none; }
.tf-input-row:has(.tf-url:focus-visible) { outline: 3px solid var(--tf-red); outline-offset: 3px; }
.tf-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; border-radius: 6px; padding: 15px 22px; font-size: 12px; line-height: 1.4; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .18s, color .18s, transform .18s; }
.tf-button:hover { transform: translateY(-2px); }
.tf-button-primary { background: var(--tf-red); color: #fff; }
.tf-button-primary:hover { background: #b62517; }
.tf-button-dark { background: var(--tf-ink); color: white; }
.tf-button-dark:hover { background: #46403a; }
.tf-button-outline { border-color: #b9b6ad; color: var(--tf-ink); }
.tf-button-outline:hover { background: white; }
.tf-input-row .tf-button { flex-shrink: 0; gap: 10px; padding-inline: 15px; max-width: 55%; }
.tf-button:disabled { opacity: .65; cursor: wait; transform: none; }
.tf-lookup-help { margin-top: 12px; font-size: var(--tf-text-sm); color: var(--tf-muted); }
.tf-lookup-help strong { color: var(--tf-ink); }
.tf-photo-link { font-size: var(--tf-text-md); color: var(--tf-muted); margin-top: 23px; }
.tf-photo-link a { color: var(--tf-ink); text-decoration: underline; text-underline-offset: 4px; }
.tf-photo-link > span { margin-left: 9px; font: var(--tf-text-sm) ui-monospace, monospace; border: 1px solid var(--tf-line); border-radius: 3px; padding: 4px 5px; }
.tf-text-link { font-size: var(--tf-text-md); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.tf-limit { padding: 24px; border: 1px solid #dfd4a2; background: #f4efd8; border-radius: 9px; }
.tf-limit h2 { font-size: 24px; margin: 8px 0; letter-spacing: -1px; }
.tf-limit > p:not(.tf-eyebrow) { font-size: var(--tf-text-lg); line-height: 1.7; margin-bottom: 18px; }
.tf-limit .tf-text-link { margin-left: 18px; }
.tf-hero-art { position: relative; min-width: 0; background: #eeeee4; border: 1px solid #dcddd2; border-radius: 14px; padding: 22px 27px; background-image: radial-gradient(#bdbdaf 0.6px, transparent 0.6px); background-size: 14px 14px; }
.tf-art-header { display: flex; justify-content: space-between; font: var(--tf-text-xs) ui-monospace, monospace; letter-spacing: 1px; color: var(--tf-muted); }
.tf-parcel { position: relative; margin: 0 auto; width: 90%; height: 233px; }
.tf-parcel svg { width: 100%; height: 100%; }
.tf-parcel-note { position: absolute; top: 48%; right: -30px; transform: rotate(9deg); background: #f5e78c; padding: 13px 12px; font: var(--tf-text-lg)/1.3 var(--font-heading), sans-serif; border: 1px solid #d9c968; }
.tf-sample { position: relative; background: #fffefa; border: 1px solid #c9c8be; border-radius: 8px; padding: 20px; transform: rotate(-2deg); }
.tf-sample-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tf-sample-top .tf-eyebrow { font-size: var(--tf-text-xs); letter-spacing: 1px; }
.tf-status { font-size: var(--tf-text-xs); background: #e0efdc; color: #315331; padding: 5px 8px; border-radius: 4px; }
.tf-sample-product { display: flex; gap: 12px; align-items: center; margin-block: 19px; }
.tf-sample-product strong { font-size: 12px; font-weight: 600; }
.tf-sample-product p { font-size: var(--tf-text-sm); color: var(--tf-muted); margin-top: 4px; }
.tf-shirt { height: 43px; width: 43px; padding: 5px; background: #eeeee6; border-radius: 4px; }
.tf-code { font: 500 clamp(22px, 2.6vw, 37px)/1.5 ui-monospace, monospace; letter-spacing: -2px; border-top: 1px dashed var(--tf-line); padding-top: 10px; white-space: nowrap; }
.tf-code > span:not(.tf-code-arrow) { color: var(--tf-red); }
.tf-code-arrow { float: right; font: 28px var(--font-heading), sans-serif; }
.tf-sample-bottom { display: flex; justify-content: space-between; align-items: center; font-size: var(--tf-text-xs); color: var(--tf-muted); margin-top: 10px; }
.tf-barcode { width: 45px; height: 20px; background: repeating-linear-gradient(90deg, #35332c 0 1px, transparent 1px 3px, #35332c 3px 5px, transparent 5px 7px, #35332c 7px 8px, transparent 8px 10px); }
.tf-art-footnote { text-align: center; font: var(--tf-text-xs)/1.6 ui-monospace, monospace; color: var(--tf-muted); margin-top: 21px; }
.tf-art-cross { position: absolute; bottom: -14px; left: -12px; font: 32px/1 ui-monospace, monospace; }
.tf-trust { border-block: 1px solid var(--tf-line); }
.tf-trust > div { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 24px; }
.tf-trust p { font: var(--tf-text-xs)/1.8 ui-monospace, monospace; letter-spacing: 1px; padding-right: 36px; border-right: 1px solid var(--tf-line); }
.tf-trust strong { font: 600 12px/1.7 var(--font-body), sans-serif; letter-spacing: 0; }
.tf-trust > div > span { font-size: var(--tf-text-sm); color: var(--tf-muted); }
.tf-trust > div > span::before { content: '↗'; margin-right: 12px; color: var(--tf-red); }
.tf-section { padding-block: 90px; }
.tf-section-heading { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 45px; align-items: end; }
.tf-section-heading .tf-eyebrow { grid-column: 1 / -1; margin-bottom: 22px; }
.tariffik-home h2 { font-size: clamp(32px, 3.1vw, 46px); font-weight: 500; letter-spacing: -1.9px; line-height: 1.13; }
.tf-section-heading > p:last-child { justify-self: end; color: var(--tf-muted); font-size: var(--tf-text-lg); line-height: 1.8; padding-right: 40px; }
.tf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.tf-step-number { display: flex; justify-content: space-between; border-top: 1px solid #b9b7ac; padding-top: 17px; color: var(--tf-red); font: var(--tf-text-sm) ui-monospace, monospace; }
.tf-step-number > span { color: var(--tf-muted); font-size: 16px; }
.tariffik-home h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.65px; font-weight: 500; }
.tf-steps h3 { margin-top: 30px; }
.tf-steps p { margin-top: 14px; font-size: var(--tf-text-md); line-height: 1.9; color: var(--tf-muted); max-width: 305px; }
.tf-tools-section { background: #efeee7; border-block: 1px solid var(--tf-line); }
.tf-tools-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.tf-tool-feature { grid-row: span 2; background: #f9f8f3; border: 1px solid #d7d5ca; border-radius: 10px; padding: 28px; }
.tf-tool-icon { font: 26px var(--font-heading), sans-serif; display: block; margin-bottom: 30px; }
.tf-tool-feature .tf-eyebrow { font-size: var(--tf-text-sm); margin-bottom: 13px; }
.tf-tool-feature h3 { font-size: 29px; }
.tf-tool-feature p:not(.tf-eyebrow), .tf-tool-small p { font-size: var(--tf-text-md); color: var(--tf-muted); line-height: 1.9; margin-top: 12px; max-width: 375px; }
.tf-tool-feature .tf-text-link { display: inline-block; margin-top: 20px; }
.tf-order-preview { margin-top: 36px; border: 1px solid var(--tf-line); background: white; border-radius: 6px; overflow: hidden; transform: rotate(-2deg); }
.tf-order-preview > div { display: flex; justify-content: space-between; padding: 15px; font-size: var(--tf-text-sm); border-bottom: 1px solid var(--tf-line); }
.tf-order-preview > div:first-child { background: #efeee7; font: var(--tf-text-xs) ui-monospace, monospace; letter-spacing: 1px; }
.tf-order-preview strong { font-weight: 500; }
.tf-order-preview > div:not(:first-child) > span { color: #526749; font-size: var(--tf-text-xs); }
.tf-tool-small { position: relative; padding: 27px; border: 1px solid #ded8c4; border-radius: 10px; background: #f4eedc; }
.tf-tool-small .tf-tool-icon { float: right; margin-bottom: 0; }
.tf-small-label { font: var(--tf-text-xs)/1.5 ui-monospace, monospace; letter-spacing: 1px; }
.tf-tool-small h3 { margin-top: 20px; font-size: 26px; }
.tf-tool-small .tf-text-link { display: inline-block; margin-top: 18px; font-size: var(--tf-text-md); }
.tf-tool-mint { background: #e4eadf; border-color: #d0d7c9; }
.tf-extension { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: center; }
.tf-extension h2 { margin-top: 23px; }
.tf-extension p:not(.tf-eyebrow) { font-size: var(--tf-text-lg); color: var(--tf-muted); line-height: 1.9; margin-top: 22px; }
.tf-check-list { margin-block: 24px; list-style: none; padding: 0; }
.tf-check-list li { font-size: var(--tf-text-md); line-height: 1.8; margin-block: 10px; padding-left: 22px; position: relative; }
.tf-check-list li::before { content: '✓'; position: absolute; left: 0; color: #526749; }
.tf-extension-note { font-size: var(--tf-text-sm); color: var(--tf-muted); margin-left: 15px; }
.tf-browser-preview { width: 100%; max-width: 360px; justify-self: center; background: #e5e7dc; border: 1px solid #cfcec3; padding: 13px 13px 0; border-radius: 12px; overflow: hidden; }
.tf-browser-bar { display: flex; justify-content: space-between; font: var(--tf-text-xs) ui-monospace, monospace; color: var(--tf-muted); padding: 4px 0 16px; }
.tf-browser-preview img { display: block; width: 100%; height: auto; border: 1px solid var(--tf-line); border-radius: 5px 5px 0 0; }
.tf-pricing-section { background: #efeee7; border-block: 1px solid var(--tf-line); }
.tf-pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 14px; max-width: 760px; }
.tf-plan { border: 1px solid #d2d0c5; border-radius: 9px; padding: 28px 25px; position: relative; display: flex; flex-direction: column; }
.tf-plan h3 { margin-top: 19px; font-size: 22px; }
.tf-plan-amount { margin-top: 26px; font: 500 50px/1.2 var(--font-heading), sans-serif; letter-spacing: -2px; }
.tf-plan-amount > span { font: var(--tf-text-md) var(--font-body), sans-serif; letter-spacing: 0; }
.tf-plan-custom { font-size: 39px; padding-block: 6px; }
.tf-plan > p:not(.tf-eyebrow) { font-size: var(--tf-text-md); color: var(--tf-muted); line-height: 1.9; margin-top: 16px; }
.tf-plan .tf-check-list { border-top: 1px solid #d5d2c6; padding-top: 12px; flex: 1; }
.tf-plan .tf-button { width: 100%; justify-content: space-between; }
.tf-plan small { font-size: var(--tf-text-sm); text-align: center; color: var(--tf-muted); margin-top: 13px; }
.tf-plan-featured { background: #fffdf6; border-color: var(--tf-red); }
.tf-plan-ribbon { background: var(--tf-red); color: white; position: absolute; top: -23px; left: -1px; right: -1px; text-align: center; padding: 7px 4px; border-radius: 8px 8px 0 0; font: var(--tf-text-xs) ui-monospace, monospace; letter-spacing: 1px; }
.tf-plan-featured { border-top-left-radius: 0; border-top-right-radius: 0; }
.tf-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.tf-faq h2 { margin-top: 24px; }
.tf-faq-list details { border-bottom: 1px solid var(--tf-line); }
.tf-faq-list details:first-child { border-top: 1px solid var(--tf-line); }
.tf-faq-list summary { display: flex; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; font-size: var(--tf-text-lg); font-weight: 500; padding-block: 24px; }
.tf-faq-list summary::-webkit-details-marker { display: none; }
.tf-faq-list summary span { font: 20px/1 var(--font-heading), sans-serif; color: var(--tf-red); }
.tf-faq-list details[open] summary span { transform: rotate(45deg); }
.tf-faq-list details p { font-size: var(--tf-text-md); color: var(--tf-muted); line-height: 1.9; padding-bottom: 24px; max-width: 500px; }
.tf-final-cta { background: #292b26; color: #f8f7f2; padding-block: 65px; }
.tf-final-cta .tf-wrap { position: relative; }
.tf-final-cta .tf-eyebrow { color: #bbbeb1; }
.tf-final-cta h2 { color: #f8f7f2; margin-block: 23px 28px; font-size: clamp(38px, 4.5vw, 65px); }
.tf-cta-mark { position: absolute; right: 45px; top: -20px; font: 280px/.9 Arial, sans-serif; color: #b9c4a6; }
.tf-footer { padding-block: 45px 24px; background: var(--tf-paper); }
.tf-footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 35px; }
.tf-footer-top p { color: var(--tf-muted); font-size: var(--tf-text-md); margin-top: 12px; }
.tf-footer nav { display: flex; gap: 32px; font-size: var(--tf-text-md); }
.tf-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--tf-line); color: var(--tf-muted); font: var(--tf-text-xs)/1.6 ui-monospace, monospace; }
.tf-auth-page main { background-image: radial-gradient(#d6d4c8 .7px, transparent .7px); background-size: 20px 20px; }

/* The MCP section: a two-column feature like the extension one, with a mock of
   an agent working through order links. */
.tf-mcp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tf-mcp h2 { font-size: 40px; font-weight: 500; letter-spacing: -1.6px; line-height: 1.08; margin: 10px 0 18px; }
.tf-mcp > div > p:not(.tf-eyebrow) { max-width: 42ch; color: var(--tf-muted); font-size: var(--tf-text-lg); line-height: 1.65; margin: 0 0 20px; }
.tf-mcp .tf-check-list { margin-bottom: 26px; }
.tf-mcp-preview { border: 1px solid var(--tf-line); border-radius: 9px; background: #fffefa; padding: 22px; display: grid; gap: 14px; }
.tf-mcp-line { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: start; }
.tf-mcp-line span { font: 500 var(--tf-text-sm)/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 1px; text-transform: uppercase; color: var(--tf-muted); padding-top: 3px; }
.tf-mcp-line p { margin: 0; font-size: var(--tf-text-lg); line-height: 1.55; color: var(--tf-ink); }
.tf-mcp-tool p { color: var(--tf-muted); font-size: var(--tf-text-md); overflow-wrap: anywhere; }
.tf-mcp-tool code { font: 500 var(--tf-text-sm) ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--tf-ink); }
.tf-mcp-result { border-top: 1px solid var(--tf-line); padding-top: 14px; display: grid; gap: 8px; }
.tf-mcp-result > p { margin: 0 0 2px; font-size: var(--tf-text-md); color: var(--tf-muted); }
.tf-mcp-code { font: 500 16px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -0.4px; color: var(--tf-ink); }
.tf-mcp-code em { color: var(--tf-red); font-style: normal; }
.tf-mcp-code span { display: block; font: 400 var(--tf-text-md)/1.5 var(--font-body), sans-serif; letter-spacing: 0; color: var(--tf-muted); margin-top: 2px; }

@media (max-width: 860px) {
  .tf-mcp { grid-template-columns: 1fr; gap: 32px; }
  .tf-mcp h2 { font-size: 32px; }
}

/* Sign in with Google — the only way into the app. One button is the whole
   page, so everything around it stays quiet. */
.tf-signin { display: flex; justify-content: center; padding: 64px 16px 96px; }
.tf-signin-card { width: 100%; max-width: 420px; border: 1px solid #d8d4c6; border-radius: 9px; background: #fffefa; padding: 40px; }
.tf-signin-card .tf-eyebrow { color: var(--tf-muted); margin: 0 0 14px; }
.tf-signin-card h1 { margin: 0 0 12px; font-size: 30px; font-weight: 500; letter-spacing: -1px; line-height: 1.15; color: var(--tf-ink); }
.tf-signin-lead { margin: 0 0 28px; max-width: 34ch; color: var(--tf-muted); font-size: 14px; line-height: 1.6; }
.tf-google-button { width: 100%; gap: 12px; border-color: #b9b6ad; background: #fff; color: var(--tf-ink); font-size: 13px; }
.tf-google-button:hover { background: var(--tf-paper); }
.tf-signin form { margin: 0; }
.tf-google-mark { width: 17px; height: 17px; flex: none; }

/* Email and password alongside the Google button. */
.tf-signin-divider { position: relative; margin: 24px 0 22px; text-align: center; }
.tf-signin-divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; border-top: 1px solid var(--tf-line); }
.tf-signin-divider span { position: relative; background: #fffefa; padding: 0 12px; color: var(--tf-muted); font-size: 12px; }
.tf-auth-form { display: grid; gap: 16px; }
.tf-auth-form .tf-field { display: grid; gap: 6px; }
.tf-auth-form label { font-size: 13px; color: var(--tf-ink); }
.tf-auth-form .tf-field > p { margin: 0; color: var(--tf-muted); font-size: 12px; line-height: 1.5; }
.tf-auth-form input[type=submit] { width: 100%; }
.tf-auth-form-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12px; }
.tf-checkbox { display: inline-flex; align-items: center; gap: 8px; }
.tf-checkbox label { font-size: 12px; color: var(--tf-muted); }
.tf-button-block { width: 100%; }
.tf-form-errors { border: 1px solid var(--tf-red); border-radius: 6px; background: #fdf1ef; padding: 14px 16px; margin-bottom: 20px; font-size: 13px; }
.tf-form-errors p { margin: 0 0 6px; font-weight: 500; }
.tf-form-errors ul { margin: 0; padding-left: 18px; color: var(--tf-muted); line-height: 1.6; }
.tf-signin-note { margin: 18px 0 0; color: var(--tf-muted); font-size: 13px; line-height: 1.6; }
.tf-signin-legal { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--tf-line); color: var(--tf-muted); font-size: 12px; line-height: 1.6; }

/* OAuth consent. Wider than the sign-in card because it has to show who is
   asking, where they will send you, and what they get. */
.tf-consent { max-width: 460px; }
.tf-consent .tf-account-facts { margin: 22px 0 6px; }
.tf-consent-label { margin: 22px 0 10px; font-size: 13px; color: var(--tf-ink); }
.tf-consent .tf-check-list { margin: 0; }
.tf-consent-actions { display: flex; gap: 10px; margin-top: 26px; }
.tf-consent-actions form { margin: 0; flex: 1; }
.tf-consent-actions .tf-button { width: 100%; }

@media (max-width: 480px) {
  .tf-consent-actions { flex-direction: column-reverse; }
}

@media (max-width: 480px) {
  .tf-signin { padding: 32px 16px 64px; }
  .tf-signin-card { padding: 28px 22px; }
  .tf-signin-card h1 { font-size: 26px; }
}
.tf-auth-page main .bg-white { border-color: #d8d4c6; }
.tf-auth-page main h2 { font-size: 32px; letter-spacing: -1.2px; }
.tf-auth-page input[type=submit] { border-radius: 6px; }
/* Live homepage result: the working version of the .tf-sample label beside it. */
.tf-result { margin-top: 22px; }
.tf-result-card { background: #fffefa; border: 1px solid #c9c8be; border-radius: 8px; padding: 22px; }
.tf-result .tf-result-product { margin-block: 16px 14px; }
.tf-result .tf-result-product img { width: 43px; height: 43px; flex-shrink: 0; object-fit: contain; padding: 4px; background: #eeeee6; border-radius: 4px; }
.tf-result .tf-result-product h3 { font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: -.2px; }
.tf-result .tf-result-product p { font-size: var(--tf-text-sm); }
.tf-result .tf-code { font-size: clamp(26px, 2.6vw, 37px); }
.tf-result-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-top: 6px; font: var(--tf-text-sm)/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--tf-muted); }
.tf-result-meta strong { color: var(--tf-ink); font-weight: 500; }
.tf-confidence { display: inline-flex; align-items: center; gap: 8px; }
.tf-confidence-bar { display: inline-block; width: 64px; height: 4px; background: #e6e4da; border-radius: 2px; overflow: hidden; }
.tf-confidence-bar > span { display: block; height: 100%; background: #526749; }
.tf-result-reasoning { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--tf-line); font-size: 12px; line-height: 1.8; color: var(--tf-muted); }
.tf-result-reasoning strong { color: var(--tf-ink); font-weight: 600; }
.tf-result-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px -22px -22px; padding: 16px 22px; background: var(--tf-ink); border-radius: 0 0 7px 7px; }
.tf-result-cta p { font-size: var(--tf-text-sm); line-height: 1.6; color: #c9c7bf; }
.tf-result-cta strong { display: block; font-size: 12px; font-weight: 600; color: #fff; }
.tf-result-cta .tf-button { flex-shrink: 0; padding: 12px 18px; }
.tf-result-notice { padding: 20px 22px; border: 1px solid #e7c7be; border-radius: 8px; background: #fcf8f4; font-size: 13px; line-height: 1.7; }
.tf-result-notice .tf-eyebrow { color: #b62517; margin-bottom: 6px; }
.tf-result-notice .tf-button { margin-top: 14px; }
.tf-result-link { display: inline-block; margin-top: 14px; font-size: var(--tf-text-sm); color: var(--tf-muted); }
/* Public long-form pages: blog, legal. They opt into full width and sit on .tf-wrap like the nav. */
.tf-page { padding-block: 56px 96px; }
.tf-post-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--tf-line); }
.tf-post-list li { border-top: 1px solid var(--tf-line); }
.tf-post-list a { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 36px; align-items: start; padding-block: 32px; }
.tf-post-list time { font: 10px/2.2 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--tf-muted); }
.tf-post-list h2 { font: 500 24px/1.25 var(--font-heading), sans-serif; letter-spacing: -.7px; color: var(--tf-ink); transition: color .18s; }
.tf-post-list a:hover h2 { color: var(--tf-red); }
.tf-post-list p { margin-top: 10px; max-width: 62ch; font-size: 13px; line-height: 1.8; color: var(--tf-muted); }
.tf-post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tf-post-read { font-size: 12px; font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 5px; }
.tf-article { max-width: 720px; }
.tf-article-header nav { font: 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; margin-bottom: 26px; color: var(--tf-muted); }
.tf-article-header nav a { color: var(--tf-ink); }
.tf-article-meta { font: 10px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--tf-muted); letter-spacing: .4px; }
.tf-article-header h1 { margin-top: 14px; font: 500 clamp(34px, 4vw, 50px)/1.1 var(--font-heading), sans-serif; letter-spacing: -2px; color: var(--tf-ink); }
.tf-article-header > p:not(.tf-article-meta) { margin-top: 18px; font-size: 16px; line-height: 1.75; color: var(--tf-muted); }
.tf-article-hero { margin-top: 36px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--tf-line); border-radius: 9px; background: #eeede5; }
.tf-article-hero img { width: 100%; height: 100%; object-fit: cover; }
.tf-article-body { margin-top: 40px; padding-top: 34px; border-top: 1px dashed var(--tf-line); }
.tf-article-cta { margin-top: 56px; }
.tf-article-cta h2 { margin-block: 4px 16px; font: 500 22px/1.3 var(--font-heading), sans-serif; letter-spacing: -.6px; }
.tf-article-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; }
.tf-prose { font-size: 15px; line-height: 1.85; color: #3a3733; overflow-wrap: break-word; }
.tf-prose > :first-child { margin-top: 0; }
.tf-prose h2 { margin: 2.2em 0 .6em; font: 500 26px/1.25 var(--font-heading), sans-serif; letter-spacing: -.7px; color: var(--tf-ink); scroll-margin-top: 24px; }
.tf-prose h3 { margin: 1.8em 0 .5em; font: 500 19px/1.35 var(--font-heading), sans-serif; letter-spacing: -.3px; color: var(--tf-ink); }
.tf-prose h4 { margin: 1.5em 0 .4em; font-size: 14px; font-weight: 600; color: var(--tf-ink); }
.tf-prose p, .tf-prose ul, .tf-prose ol, .tf-prose table, .tf-prose pre, .tf-prose blockquote { margin-bottom: 1.2em; }
.tf-prose ul, .tf-prose ol { padding-left: 1.3em; }
.tf-prose ul { list-style: disc; }
.tf-prose ol { list-style: decimal; }
.tf-prose li { margin-bottom: .45em; }
.tf-prose li::marker { color: var(--tf-red); }
.tf-prose strong { color: var(--tf-ink); font-weight: 600; }
.tf-prose a { color: var(--tf-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #b9b6ad; }
.tf-prose a:hover { color: var(--tf-red); text-decoration-color: currentColor; }
.tf-prose blockquote { padding-left: 18px; border-left: 2px solid var(--tf-red); color: var(--tf-muted); }
.tf-prose code { padding: .1em .35em; border-radius: 4px; background: #eeede5; font: .86em ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--tf-ink); }
.tf-prose pre { overflow-x: auto; padding: 18px 20px; border-radius: 8px; background: var(--tf-ink); }
.tf-prose pre code { padding: 0; background: none; color: #e9e7df; }
.tf-prose img { border: 1px solid var(--tf-line); border-radius: 9px; }
.tf-prose hr { margin-block: 2em; border: 0; border-top: 1px dashed var(--tf-line); }
.tf-prose table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--tf-line); border-radius: 9px; background: #fff; font-size: 13px; line-height: 1.6; }
.tf-prose th { padding: 13px 16px; background: #efeee6; border-bottom: 1px solid #d5d2c6; text-align: left; font: 500 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .8px; color: #625f55; }
.tf-prose td { padding: 13px 16px; vertical-align: top; }
.tf-prose tr + tr td { border-top: 1px solid #eeede5; }
.tf-prose .tf-table-scroll { overflow-x: auto; margin-bottom: 1.2em; }
.tf-prose .tf-table-scroll table { margin-bottom: 0; }
.tf-prose :is(.tf-note, .tf-result-notice) { margin: 1.6em 0; }
.tf-prose :is(.tf-note, .tf-result-notice) :is(p:not(.tf-eyebrow), ul, li) { font-size: 13px; line-height: 1.75; margin-bottom: .5em; }
.tf-prose :is(.tf-note, .tf-result-notice) > :last-child { margin-bottom: 0; }
.tf-prose .tf-panel { margin: 1.4em 0; }
.tf-prose .tf-detail-list dd { font-size: 14px; }
.highlight { background: var(--tf-ink); }
.highlight :is(.c, .c1, .cm) { color: #8f8b80; font-style: italic; }
.highlight :is(.k, .kd, .kn, .kp, .kr) { color: #f0a58f; }
.highlight :is(.s, .s1, .s2, .sb, .sc) { color: #b9c4a6; }
.highlight :is(.n, .na, .nb, .nc, .no, .o, .p) { color: #e9e7df; }
.highlight :is(.nf, .ni) { color: #f5e78c; }
.highlight :is(.m, .mi, .mf) { color: #f08a7a; }
.tf-legal { display: grid; grid-template-columns: 210px minmax(0, 720px); gap: 72px; align-items: start; }
.tf-legal-toc { position: sticky; top: 28px; }
.tf-legal-toc .tf-eyebrow { color: var(--tf-muted); margin-bottom: 14px; }
.tf-legal-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--tf-line); }
.tf-legal-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; font-size: 12px; line-height: 1.5; color: var(--tf-muted); }
.tf-legal-toc a:hover { color: var(--tf-red); border-left-color: var(--tf-red); }
.tf-legal-lede { font-size: 16px; line-height: 1.8; color: var(--tf-ink); }

/* Extension consent (sits beside the sign-in screens on the dotted auth ground) */
.tf-consent { max-width: 480px; margin: 24px auto 40px; }
.tf-consent-header { text-align: center; margin-bottom: 28px; }
.tf-consent-mark { display: inline-flex; align-items: center; gap: 10px; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--tf-muted); }
.tf-consent-mark .tf-logo-mark { margin: 0; width: 30px; height: 30px; font-size: 28px; }
.tf-consent-mark > span:last-child { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px dashed #aeb5a2; border-radius: 5px; background: #f8faf3; font-size: 14px; color: var(--tf-ink); }
.tf-consent-header h1 { margin-top: 22px; font: 500 34px/1.15 var(--font-heading), sans-serif; letter-spacing: -1.4px; color: var(--tf-ink); }
.tf-consent-header p { margin-top: 12px; font-size: 13px; line-height: 1.8; color: var(--tf-muted); }
.tf-consent .tf-panel-body > .tf-eyebrow { color: var(--tf-muted); margin-bottom: 8px; }
.tf-consent .tf-check-list { margin-block: 12px 4px; }
.tf-consent .tf-check-list li { font-size: 13px; }
.tf-consent-account { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px 16px; border: 1px solid var(--tf-line); border-radius: 6px; background: #f6f5ef; }
.tf-consent-account strong { display: block; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.tf-consent-account span:not(.tf-account-avatar) { display: block; margin-top: 2px; font-size: 11px; color: var(--tf-muted); }
.tf-consent-actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-top: 22px; }
.tf-consent-actions .tf-button { width: 100%; }
.tf-consent-footnote { margin-top: 18px; text-align: center; font-size: 11px; line-height: 1.7; color: var(--tf-muted); }
.tf-consent-footnote a { color: var(--tf-ink); text-decoration: underline; text-underline-offset: 4px; }
.tf-consent .tf-forward-copy { margin-block: 14px 0; }
@media (min-width: 1500px) { .tf-hero { gap: 90px; } .tf-hero h1 { font-size: 70px; } .tf-parcel { height: 260px; } }
@media (max-width: 1100px) { .tf-wrap { width: calc(100% - 64px); } .tf-nav > div:first-child { padding-inline: 32px; } .tf-public-nav { gap: 20px; margin-left: 35px; } .tf-hero { gap: 32px; padding-block: 60px; } .tf-hero h1 { letter-spacing: -2.6px; font-size: 50px; } .tf-intro { font-size: var(--tf-text-lg); } .tf-hero-art { padding: 20px; } .tf-extension { gap: 40px; } .tf-section-heading > p:last-child { padding-right: 0; } .tf-plan { padding: 25px 18px; } .tf-plan h3 { font-size: 20px; } }
@media (max-width: 850px) { .tf-public-nav { gap: 18px; margin-left: 28px; } .tf-hero { gap: 25px; } .tf-hero h1 { font-size: 43px; } .tf-parcel { height: 195px; } .tf-input-row { flex-direction: column; } .tf-input-row .tf-button { max-width: none; } .tf-sample { padding: 14px; } .tf-code { font-size: 24px; } .tf-trust > div { gap: 20px; } .tf-trust p { padding-right: 20px; } .tf-trust > div > span { font-size: var(--tf-text-sm); } .tf-trust > div > span::before { margin-right: 5px; } .tf-photo-link > span { display: none; } .tf-pricing-grid { gap: 12px; } .tf-plan .tf-check-list li { font-size: var(--tf-text-md); } .tf-plan .tf-button { font-size: var(--tf-text-sm); padding-inline: 12px; } }
@media (max-width: 767px) { .tf-wrap { width: calc(100% - 40px); } .tf-nav > div:first-child { padding-inline: 20px; } .tf-nav .h-16 { height: 72px; } .tf-nav details > summary { top: 17px; } .tf-public-nav { display: none; } .tf-wordmark { font-size: 29px; } .tf-hero { grid-template-columns: 1fr; padding-block: 40px; gap: 36px; } .tf-hero h1 { font-size: clamp(43px, 8.4vw, 62px); letter-spacing: -2.4px; margin-top: 20px; } .tf-desktop-break { display: none; } .tf-intro { font-size: 14px; line-height: 1.8; margin-top: 22px; max-width: 440px; } .tf-lookup { margin-top: 28px; } .tf-input-row { flex-direction: row; } .tf-url { padding-inline: 8px; font-size: var(--tf-text-sm); } .tf-input-row .tf-button { font-size: var(--tf-text-sm); padding: 14px 11px; } .tf-hero-art { max-width: 480px; width: 100%; margin-inline: auto; } .tf-parcel { height: 210px; width: 80%; } .tf-sample { padding: 20px; } .tf-code { font-size: 32px; } .tf-trust > div { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } .tf-trust p { border-right: none; } .tf-trust > div > span { font-size: 10px; } .tf-section { padding-block: 55px; } .tf-section-heading { grid-template-columns: 1fr; margin-bottom: 30px; gap: 0; } .tf-section-heading > p:last-child { justify-self: start; margin-top: 20px; } .tf-section-heading > p:last-child br { display: none; } .tf-section-heading .tf-eyebrow { margin-bottom: 18px; } .tariffik-home h2 { font-size: 34px; letter-spacing: -1.5px; } .tf-steps { grid-template-columns: 1fr; gap: 28px; } .tf-steps h3 { margin-top: 14px; } .tf-steps p { max-width: none; margin-top: 10px; font-size: var(--tf-text-md); } .tf-tools-grid { grid-template-columns: 1fr; } .tf-tool-feature { grid-row: auto; } .tf-tool-feature, .tf-tool-small { padding: 24px; } .tf-extension { grid-template-columns: 1fr; gap: 30px; } .tf-browser-preview { max-width: 320px; } .tf-pricing-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 0; } .tf-plan { padding: 27px; } .tf-plan h3 { font-size: 25px; } .tf-plan .tf-check-list li, .tf-plan > p:not(.tf-eyebrow) { font-size: var(--tf-text-md); } .tf-plan .tf-button { font-size: var(--tf-text-sm); padding-inline: 20px; } .tf-faq { grid-template-columns: 1fr; gap: 30px; } .tf-faq h2 br { display: none; } .tf-faq-list summary { font-size: var(--tf-text-md); } .tf-final-cta { padding-block: 45px; } .tf-final-cta h2 { font-size: 40px; max-width: 80%; } .tf-cta-mark { font-size: 100px; top: 70px; right: 0; opacity: .4; } .tf-footer-top { flex-direction: column; align-items: start; gap: 30px; } .tf-footer nav { gap: 26px; } .tf-footer-bottom { flex-wrap: wrap; gap: 12px; } .tf-footer-bottom > span:last-child { display: none; } .tf-result-card { padding: 18px; } .tf-result-cta { flex-direction: column; align-items: start; margin: 18px -18px -18px; padding: 16px 18px; } .tf-result .tf-code { font-size: 28px; } }
@media (max-width: 960px) { .tf-legal { grid-template-columns: 1fr; gap: 0; } .tf-legal-toc { display: none; } }
@media (max-width: 767px) { .tf-prose table { display: block; overflow-x: auto; } .tf-page { padding-block: 36px 64px; } .tf-post-list a { grid-template-columns: 1fr; gap: 8px; padding-block: 26px; } .tf-post-list h2 { font-size: 21px; } .tf-post-read { display: none; } .tf-prose { font-size: 14px; } .tf-prose h2 { font-size: 22px; } .tf-article-body { margin-top: 30px; padding-top: 26px; } .tf-consent-header h1 { font-size: 29px; } .tf-consent-actions { grid-auto-flow: row; } .tf-consent-actions form { order: -1; } }
@media (prefers-reduced-motion: reduce) { .tf-button { transition: none; } .tf-button:hover { transform: none; } }
